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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
SYSTEM_POWER_LEVEL (Structures)
 
.
Summary
TODO - a short description

C# Definition:

[StructLayout(LayoutKind.Sequential, Pack=1)]
struct SYSTEM_POWER_LEVEL {
    public bool Enable;
    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)]
    public byte[] Spare;
    public uint BatteryLevel;
    public POWER_ACTION_POLICY PowerPolicy;
    public SYSTEM_POWER_STATE MinSystemState;
}

VB Definition:

<StructLayout(LayoutKind.Sequential, Pack:=1)>
Structure SYSTEM_POWER_LEVEL
    Public Enable As Boolean
    <MarshalAs(UnmanagedType.ByValArray, SizeConst:=3)>
    Public Spare As Byte()
    Public BatteryLevel As Integer
    Public PowerPolicy As POWER_ACTION_POLICY
    Public MinSystemState As SYSTEM_POWER_STATE
End Structure

User-Defined Field Types:

POWER_ACTION_POLICY

SYSTEM_POWER_STATE

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions