コード例 #1
0
 private static extern uint PowerEnumerate(IntPtr RootPowerKey,
                                           IntPtr SchemeGuid,
                                           IntPtr SubGroupOfPowerSettingsGuid,
                                           PowerDataAccessor AccessFlags,
                                           uint Index,
                                           IntPtr Buffer,
                                           ref uint BufferSize);
コード例 #2
0
ファイル: Utils.cs プロジェクト: AJ92/PowerTray
 public static extern UInt32 PowerEnumerate(
     IntPtr RootPowerKey, 
     IntPtr SchemeGuid, 
     IntPtr SubGroupOfPowerSettingsGuid, 
     PowerDataAccessor AccessFlags,
     UInt32 Index, 
     Byte[] Buffer, 
     ref UInt32 BufferSize
 );
コード例 #3
0
 public static extern UInt32 PowerEnumerate(IntPtr rootPowerKey,
     IntPtr schemeGuid, IntPtr subgroupOfPowerSettingsGuid,
     PowerDataAccessor accessFlags, UInt32 index,
     IntPtr buffer, ref UInt32 bufferSize);
コード例 #4
0
ファイル: PowrProf.cs プロジェクト: MathewSachin/ManagedWin32
 public static extern int PowerSettingAccessCheck(PowerDataAccessor AccessFlags, [MarshalAs(UnmanagedType.LPStruct)] Guid PowerGuid);
コード例 #5
0
 public static extern int PowerSettingAccessCheck(PowerDataAccessor AccessFlags, [MarshalAs(UnmanagedType.LPStruct)] Guid PowerGuid);
コード例 #6
0
 internal static extern UInt32 PowerEnumerate(IntPtr rootPowerKey,
                                              IntPtr schemeGuid, IntPtr subgroupOfPowerSettingsGuid,
                                              PowerDataAccessor accessFlags, UInt32 index,
                                              IntPtr buffer, ref UInt32 bufferSize);