wow64: Add thunks for the power request syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
caf43278c7
commit
7d418c170a
|
@ -138,6 +138,18 @@ NTSTATUS WINAPI wow64_NtClearEvent( UINT *args )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* wow64_NtClearPowerRequest
|
||||||
|
*/
|
||||||
|
NTSTATUS WINAPI wow64_NtClearPowerRequest( UINT *args )
|
||||||
|
{
|
||||||
|
HANDLE handle = get_handle( &args );
|
||||||
|
POWER_REQUEST_TYPE type = get_ulong( &args );
|
||||||
|
|
||||||
|
return NtClearPowerRequest( handle, type );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* wow64_NtCompleteConnectPort
|
* wow64_NtCompleteConnectPort
|
||||||
*/
|
*/
|
||||||
|
@ -337,6 +349,19 @@ NTSTATUS WINAPI wow64_NtCreatePort( UINT *args )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* wow64_NtCreatePowerRequest
|
||||||
|
*/
|
||||||
|
NTSTATUS WINAPI wow64_NtCreatePowerRequest( UINT *args )
|
||||||
|
{
|
||||||
|
ULONG *handle_ptr = get_ptr( &args );
|
||||||
|
COUNTED_REASON_CONTEXT *context = get_ptr( &args );
|
||||||
|
|
||||||
|
FIXME( "%p %p: stub\n", handle_ptr, context );
|
||||||
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* wow64_NtCreateSection
|
* wow64_NtCreateSection
|
||||||
*/
|
*/
|
||||||
|
@ -1192,6 +1217,18 @@ NTSTATUS WINAPI wow64_NtSetIoCompletion( UINT *args )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**********************************************************************
|
||||||
|
* wow64_NtSetPowerRequest
|
||||||
|
*/
|
||||||
|
NTSTATUS WINAPI wow64_NtSetPowerRequest( UINT *args )
|
||||||
|
{
|
||||||
|
HANDLE handle = get_handle( &args );
|
||||||
|
POWER_REQUEST_TYPE type = get_ulong( &args );
|
||||||
|
|
||||||
|
return NtSetPowerRequest( handle, type );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* wow64_NtSetTimer
|
* wow64_NtSetTimer
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
SYSCALL_ENTRY( NtAllocateUuids ) \
|
SYSCALL_ENTRY( NtAllocateUuids ) \
|
||||||
SYSCALL_ENTRY( NtCancelTimer ) \
|
SYSCALL_ENTRY( NtCancelTimer ) \
|
||||||
SYSCALL_ENTRY( NtClearEvent ) \
|
SYSCALL_ENTRY( NtClearEvent ) \
|
||||||
|
SYSCALL_ENTRY( NtClearPowerRequest ) \
|
||||||
SYSCALL_ENTRY( NtClose ) \
|
SYSCALL_ENTRY( NtClose ) \
|
||||||
SYSCALL_ENTRY( NtCompleteConnectPort ) \
|
SYSCALL_ENTRY( NtCompleteConnectPort ) \
|
||||||
SYSCALL_ENTRY( NtConnectPort ) \
|
SYSCALL_ENTRY( NtConnectPort ) \
|
||||||
|
@ -39,6 +40,7 @@
|
||||||
SYSCALL_ENTRY( NtCreateKeyedEvent ) \
|
SYSCALL_ENTRY( NtCreateKeyedEvent ) \
|
||||||
SYSCALL_ENTRY( NtCreateMutant ) \
|
SYSCALL_ENTRY( NtCreateMutant ) \
|
||||||
SYSCALL_ENTRY( NtCreatePort ) \
|
SYSCALL_ENTRY( NtCreatePort ) \
|
||||||
|
SYSCALL_ENTRY( NtCreatePowerRequest ) \
|
||||||
SYSCALL_ENTRY( NtCreateSection ) \
|
SYSCALL_ENTRY( NtCreateSection ) \
|
||||||
SYSCALL_ENTRY( NtCreateSemaphore ) \
|
SYSCALL_ENTRY( NtCreateSemaphore ) \
|
||||||
SYSCALL_ENTRY( NtCreateSymbolicLinkObject ) \
|
SYSCALL_ENTRY( NtCreateSymbolicLinkObject ) \
|
||||||
|
@ -90,6 +92,7 @@
|
||||||
SYSCALL_ENTRY( NtSetInformationDebugObject ) \
|
SYSCALL_ENTRY( NtSetInformationDebugObject ) \
|
||||||
SYSCALL_ENTRY( NtSetInformationObject ) \
|
SYSCALL_ENTRY( NtSetInformationObject ) \
|
||||||
SYSCALL_ENTRY( NtSetIoCompletion ) \
|
SYSCALL_ENTRY( NtSetIoCompletion ) \
|
||||||
|
SYSCALL_ENTRY( NtSetPowerRequest ) \
|
||||||
SYSCALL_ENTRY( NtSetTimer ) \
|
SYSCALL_ENTRY( NtSetTimer ) \
|
||||||
SYSCALL_ENTRY( NtSetTimerResolution ) \
|
SYSCALL_ENTRY( NtSetTimerResolution ) \
|
||||||
SYSCALL_ENTRY( NtSignalAndWaitForSingleObject ) \
|
SYSCALL_ENTRY( NtSignalAndWaitForSingleObject ) \
|
||||||
|
|
Loading…
Reference in New Issue