Commit b9e676fe authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

ntoskrnl.exe: Add stub for PoSetPowerState.

parent 5d7cc36d
...@@ -1541,6 +1541,15 @@ VOID WINAPI READ_REGISTER_BUFFER_UCHAR(PUCHAR Register, PUCHAR Buffer, ULONG Cou ...@@ -1541,6 +1541,15 @@ VOID WINAPI READ_REGISTER_BUFFER_UCHAR(PUCHAR Register, PUCHAR Buffer, ULONG Cou
} }
/***************************************************** /*****************************************************
* PoSetPowerState (NTOSKRNL.EXE.@)
*/
POWER_STATE WINAPI PoSetPowerState(PDEVICE_OBJECT DeviceObject, POWER_STATE_TYPE Type, POWER_STATE State)
{
FIXME("(%p %u %u) stub\n", DeviceObject, Type, State.DeviceState);
return State;
}
/*****************************************************
* DllMain * DllMain
*/ */
BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved ) BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
......
...@@ -830,7 +830,7 @@ ...@@ -830,7 +830,7 @@
@ stub PoRequestPowerIrp @ stub PoRequestPowerIrp
@ stub PoRequestShutdownEvent @ stub PoRequestShutdownEvent
@ stub PoSetHiberRange @ stub PoSetHiberRange
@ stub PoSetPowerState @ stdcall PoSetPowerState(ptr long long)
@ stub PoSetSystemState @ stub PoSetSystemState
@ stub PoShutdownBugCheck @ stub PoShutdownBugCheck
@ stub PoStartNextPowerIrp @ stub PoStartNextPowerIrp
......
...@@ -1129,6 +1129,7 @@ MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void); ...@@ -1129,6 +1129,7 @@ MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void);
NTSTATUS WINAPI ObReferenceObjectByHandle(HANDLE,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE,PVOID*,POBJECT_HANDLE_INFORMATION); NTSTATUS WINAPI ObReferenceObjectByHandle(HANDLE,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE,PVOID*,POBJECT_HANDLE_INFORMATION);
POWER_STATE WINAPI PoSetPowerState(PDEVICE_OBJECT,POWER_STATE_TYPE,POWER_STATE);
NTSTATUS WINAPI PsCreateSystemThread(PHANDLE,ULONG,POBJECT_ATTRIBUTES,HANDLE,PCLIENT_ID,PKSTART_ROUTINE,PVOID); NTSTATUS WINAPI PsCreateSystemThread(PHANDLE,ULONG,POBJECT_ATTRIBUTES,HANDLE,PCLIENT_ID,PKSTART_ROUTINE,PVOID);
#define PsGetCurrentProcess() IoGetCurrentProcess() #define PsGetCurrentProcess() IoGetCurrentProcess()
#define PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread()) #define PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment