예제 #1
0
 public static extern UInt32 CallNtPowerInformation
 (
     POWER_INFORMATION_LEVEL InformationLevel,
     IntPtr lpInputBuffer,
     UInt32 nInputBufferSize,
     out UInt64 lpOutputBuffer,
     UInt32 nOutputBufferSize
 );
 internal static extern UInt32 CallNtPowerInformation(POWER_INFORMATION_LEVEL InformationLevel, IntPtr lpInputBuffer, UInt32 nInputBufferSize, IntPtr lpOutputBuffer, UInt32 nOutputBufferSize);
예제 #3
0
파일: PowerBase.cs 프로젝트: inrg/Vanara
 public static extern NTStatus CallNtPowerInformation(POWER_INFORMATION_LEVEL InformationLevel, IntPtr InputBuffer, uint InputBufferLength, IntPtr OutputBuffer, uint OutputBufferLength);
예제 #4
0
 private static extern UInt32 CallNtPowerInformation(POWER_INFORMATION_LEVEL InformationLevel, IntPtr lpInputBuffer, UInt32 nInputBufferSize, out EXECUTION_STATE lpOutputBuffer, Int32 nOutputBufferSize);
예제 #5
0
 public static extern uint CallNtPowerInformation(POWER_INFORMATION_LEVEL informationLevel, byte[] inputBuffer, int inputBufferSize, out ExecutionState outputBuffer, int outputBufferSize);