Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SYSTEM_BATTERY_STATE" in [All]

powrprof

.

  IntPtr status = Marshal.AllocCoTaskMem(Marshal.SizeOf(typeof(SYSTEM_BATTERY_STATE)));

.

    (UInt32)Marshal.SizeOf(typeof(SYSTEM_BATTERY_STATE))

.

  SYSTEM_BATTERY_STATE batt_status = (SYSTEM_BATTERY_STATE)Marshal.PtrToStructure(status, typeof(SYSTEM_BATTERY_STATE));

Structures

.

struct SYSTEM_BATTERY_STATE {

.

Structure SYSTEM_BATTERY_STATE

.
Documentation
[SYSTEM_BATTERY_STATE] on MSDN

 
Access PInvoke.net directly from VS: