- Correct args for NtPowerInformation.
- Add stub for NtInitiatePowerAction.
This commit is contained in:
parent
a31a75244c
commit
c31a7e98f1
|
@ -859,14 +859,36 @@ NTSTATUS WINAPI NtDisplayString ( PUNICODE_STRING string )
|
|||
return ret;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* NtInitiatePowerAction [NTDLL.@]
|
||||
*
|
||||
*/
|
||||
NTSTATUS WINAPI NtInitiatePowerAction(
|
||||
IN POWER_ACTION SystemAction,
|
||||
IN SYSTEM_POWER_STATE MinSystemState,
|
||||
IN ULONG Flags,
|
||||
IN BOOLEAN Asynchronous)
|
||||
{
|
||||
FIXME("(%d,%d,0x%08lx,%d),stub\n",
|
||||
SystemAction,MinSystemState,Flags,Asynchronous);
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* NtPowerInformation [NTDLL.@]
|
||||
*
|
||||
*/
|
||||
NTSTATUS WINAPI NtPowerInformation(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5)
|
||||
NTSTATUS WINAPI NtPowerInformation(
|
||||
IN POWER_INFORMATION_LEVEL InformationLevel,
|
||||
IN PVOID lpInputBuffer,
|
||||
IN ULONG nInputBufferSize,
|
||||
IN PVOID lpOutputBuffer,
|
||||
IN ULONG nOutputBufferSize)
|
||||
{
|
||||
FIXME("(0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx),stub\n",x1,x2,x3,x4,x5);
|
||||
return 0;
|
||||
FIXME("(%d,%p,%ld,%p,%ld),stub\n",
|
||||
InformationLevel,lpInputBuffer,nInputBufferSize,lpOutputBuffer,nOutputBufferSize);
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
|
|
@ -128,6 +128,7 @@
|
|||
@ stub NtImpersonateClientOfPort
|
||||
@ stub NtImpersonateThread
|
||||
@ stub NtInitializeRegistry
|
||||
@ stdcall NtInitiatePowerAction (long long long long)
|
||||
@ stdcall NtListenPort(ptr ptr)
|
||||
@ stdcall NtLoadDriver(ptr)
|
||||
@ stdcall NtLoadKey(ptr ptr)
|
||||
|
@ -154,6 +155,7 @@
|
|||
@ stdcall NtOpenThreadToken(long long long long)
|
||||
@ stdcall NtOpenTimer(ptr long ptr)
|
||||
@ stub NtPlugPlayControl
|
||||
@ stdcall NtPowerInformation(long ptr long ptr long)
|
||||
@ stub NtPrivilegeCheck
|
||||
@ stub NtPrivilegeObjectAuditAlarm
|
||||
@ stub NtPrivilegedServiceAuditAlarm
|
||||
|
@ -995,7 +997,6 @@
|
|||
@ stub RtlClosePropertySet
|
||||
@ stub RtlCreatePropertySet
|
||||
@ stub RtlSetPropertySetClassId
|
||||
@ stdcall NtPowerInformation(long long long long long)
|
||||
@ stdcall -ret64 VerSetConditionMask(long long long long)
|
||||
|
||||
##################
|
||||
|
|
|
@ -1460,6 +1460,7 @@ NTSTATUS WINAPI NtGetContextThread(HANDLE,CONTEXT*);
|
|||
NTSTATUS WINAPI NtImpersonateAnonymousToken(HANDLE);
|
||||
NTSTATUS WINAPI NtImpersonateClientOfPort(HANDLE,PPORT_MESSAGE);
|
||||
NTSTATUS WINAPI NtImpersonateThread(HANDLE,HANDLE,PSECURITY_QUALITY_OF_SERVICE);
|
||||
NTSTATUS WINAPI NtInitiatePowerAction(POWER_ACTION,SYSTEM_POWER_STATE,ULONG,BOOLEAN);
|
||||
NTSTATUS WINAPI NtLoadDriver(const UNICODE_STRING *);
|
||||
NTSTATUS WINAPI NtLoadKey(const OBJECT_ATTRIBUTES *,OBJECT_ATTRIBUTES *);
|
||||
NTSTATUS WINAPI NtLockFile(HANDLE,HANDLE,PIO_APC_ROUTINE,void*,PIO_STATUS_BLOCK,PLARGE_INTEGER,PLARGE_INTEGER,ULONG*,BOOLEAN,BOOLEAN);
|
||||
|
@ -1477,6 +1478,7 @@ NTSTATUS WINAPI NtOpenSemaphore(PHANDLE,ACCESS_MASK,const OBJECT_ATTRIBUTES*);
|
|||
NTSTATUS WINAPI NtOpenThread(HANDLE*,ACCESS_MASK,const OBJECT_ATTRIBUTES*,const CLIENT_ID*);
|
||||
NTSTATUS WINAPI NtOpenThreadToken(HANDLE,DWORD,BOOLEAN,HANDLE *);
|
||||
NTSTATUS WINAPI NtOpenTimer(HANDLE*, ACCESS_MASK, const OBJECT_ATTRIBUTES*);
|
||||
NTSTATUS WINAPI NtPowerInformation(POWER_INFORMATION_LEVEL,PVOID,ULONG,PVOID,ULONG);
|
||||
NTSTATUS WINAPI NtProtectVirtualMemory(HANDLE,PVOID*,ULONG*,ULONG,ULONG*);
|
||||
NTSTATUS WINAPI NtPulseEvent(HANDLE,PULONG);
|
||||
NTSTATUS WINAPI NtQueueApcThread(HANDLE,PNTAPCFUNC,ULONG_PTR,ULONG_PTR,ULONG_PTR);
|
||||
|
|
Loading…
Reference in New Issue