Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than powrprof, prefix the name with the module name and a period.
QueryFlags (powrprof)
.
C# Signature:
[Flags]
private enum QueryFlags : uint
{
/// <summary>
/// The device supports system power state D0.
/// </summary>
PDCAP_D0_SUPPORTED = 0x00000001,
/// <summary>
/// The device supports system power state D1.
/// </summary>
PDCAP_D1_SUPPORTED = 0x00000002,
/// <summary>
/// The device supports system power state D2.
/// </summary>
PDCAP_D2_SUPPORTED = 0x00000004,
/// <summary>
/// The device supports system power state D3.
/// </summary>
PDCAP_D3_SUPPORTED = 0x00000008,
/// <summary>
/// The device supports system sleep state S0.
/// </summary>
PDCAP_S0_SUPPORTED = 0x00010000,
/// <summary>
/// The device supports system sleep state S1.
/// </summary>
PDCAP_S1_SUPPORTED = 0x00020000,
/// <summary>
/// The device supports system sleep state S2.
/// </summary>
PDCAP_S2_SUPPORTED = 0x00040000,
/// <summary>
/// The device supports system sleep state S3.
/// </summary>
PDCAP_S3_SUPPORTED = 0x00080000,
/// <summary>
/// The device supports system sleep state S4.
/// </summary>
PDCAP_S4_SUPPORTED = 0x01000000,
/// <summary>
/// The device supports system sleep state S5.
/// </summary>
PDCAP_S5_SUPPORTED = 0x02000000,
/// <summary>
/// The device supports waking from system power state D0.
/// </summary>
PDCAP_WAKE_FROM_D0_SUPPORTED = 0x00000010,
/// <summary>
/// The device supports waking from system power state D1.
/// </summary>
PDCAP_WAKE_FROM_D1_SUPPORTED = 0x00000020,
/// <summary>
/// The device supports waking from system power state D2.
/// </summary>
PDCAP_WAKE_FROM_D2_SUPPORTED = 0x00000040,
/// <summary>
/// The device supports waking from system power state D3.
/// </summary>
PDCAP_WAKE_FROM_D3_SUPPORTED = 0x00000080,
/// <summary>
/// The device supports waking from system sleep state S0.
/// </summary>
PDCAP_WAKE_FROM_S0_SUPPORTED = 0x00100000,
/// <summary>
/// The device supports waking from system sleep state S1.
/// </summary>
PDCAP_WAKE_FROM_S1_SUPPORTED = 0x00200000,
/// <summary>
/// The device supports waking from system sleep state S2.
/// </summary>
PDCAP_WAKE_FROM_S2_SUPPORTED = 0x00400000,
/// <summary>
/// The device supports waking from system sleep state S3.
/// </summary>
PDCAP_WAKE_FROM_S3_SUPPORTED = 0x00800000,
Declare Function QueryFlags Lib "powrprof.dll" (TODO) As TODO
User-Defined Types:
None.
Alternative Managed API:
Do you know one? Please contribute it!
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).