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 Structures, prefix the name with the module name and a period.
[StructLayout(LayoutKind.Sequential, Pack=1)]
struct GLOBAL_USER_POWER_POLICY
{
public const int NUM_DISCHARGE_POLICIES = 4;
public uint Revision;
public POWER_ACTION_POLICY PowerButtonAc;
public POWER_ACTION_POLICY PowerButtonDc;
public POWER_ACTION_POLICY SleepButtonAc;
public POWER_ACTION_POLICY SleepButtonDc;
public POWER_ACTION_POLICY LidCloseAc;
public POWER_ACTION_POLICY LidCloseDc;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = NUM_DISCHARGE_POLICIES)]
public SYSTEM_POWER_LEVEL[] DischargePolicy;
public GlobalPowerPolicyFlags GlobalFlags;
}
<StructLayout(LayoutKind.Sequential, Pack:=1)>
<StructLayout(LayoutKind.Sequential, Pack=1)>
Structure GLOBAL_USER_POWER_POLICY
Public Const NUM_DISCHARGE_POLICIES As Integer = 4
Public Revision As Integer
Public PowerButtonAc As POWER_ACTION_POLICY
Public PowerButtonDc As POWER_ACTION_POLICY
Public SleepButtonAc As POWER_ACTION_POLICY
Public SleepButtonDc As POWER_ACTION_POLICY
Public LidCloseAc As POWER_ACTION_POLICY
Public LidCloseDc As POWER_ACTION_POLICY
<MarshalAs(UnmanagedType.ByValArray, SizeConst:=NUM_DISCHARGE_POLICIES)>
<MarshalAs(UnmanagedType.ByValArray, SizeConst = NUM_DISCHARGE_POLICIES)>
Public DischargePolicy As SYSTEM_POWER_LEVEL()
Public GlobalFlags As GlobalPowerPolicyFlags
End Structure