Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c31a7e98
Commit
c31a7e98
authored
Apr 16, 2005
by
Benjamin Cutler
Committed by
Alexandre Julliard
Apr 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Correct args for NtPowerInformation.
- Add stub for NtInitiatePowerAction.
parent
a31a7524
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
4 deletions
+29
-4
nt.c
dlls/ntdll/nt.c
+25
-3
ntdll.spec
dlls/ntdll/ntdll.spec
+2
-1
winternl.h
include/winternl.h
+2
-0
No files found.
dlls/ntdll/nt.c
View file @
c31a7e98
...
@@ -860,13 +860,35 @@ NTSTATUS WINAPI NtDisplayString ( PUNICODE_STRING string )
...
@@ -860,13 +860,35 @@ NTSTATUS WINAPI NtDisplayString ( PUNICODE_STRING string )
}
}
/******************************************************************************
/******************************************************************************
* 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.@]
* 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
);
FIXME
(
"(%d,%p,%ld,%p,%ld),stub
\n
"
,
return
0
;
InformationLevel
,
lpInputBuffer
,
nInputBufferSize
,
lpOutputBuffer
,
nOutputBufferSize
);
return
STATUS_NOT_IMPLEMENTED
;
}
}
/******************************************************************************
/******************************************************************************
...
...
dlls/ntdll/ntdll.spec
View file @
c31a7e98
...
@@ -128,6 +128,7 @@
...
@@ -128,6 +128,7 @@
@ stub NtImpersonateClientOfPort
@ stub NtImpersonateClientOfPort
@ stub NtImpersonateThread
@ stub NtImpersonateThread
@ stub NtInitializeRegistry
@ stub NtInitializeRegistry
@ stdcall NtInitiatePowerAction (long long long long)
@ stdcall NtListenPort(ptr ptr)
@ stdcall NtListenPort(ptr ptr)
@ stdcall NtLoadDriver(ptr)
@ stdcall NtLoadDriver(ptr)
@ stdcall NtLoadKey(ptr ptr)
@ stdcall NtLoadKey(ptr ptr)
...
@@ -154,6 +155,7 @@
...
@@ -154,6 +155,7 @@
@ stdcall NtOpenThreadToken(long long long long)
@ stdcall NtOpenThreadToken(long long long long)
@ stdcall NtOpenTimer(ptr long ptr)
@ stdcall NtOpenTimer(ptr long ptr)
@ stub NtPlugPlayControl
@ stub NtPlugPlayControl
@ stdcall NtPowerInformation(long ptr long ptr long)
@ stub NtPrivilegeCheck
@ stub NtPrivilegeCheck
@ stub NtPrivilegeObjectAuditAlarm
@ stub NtPrivilegeObjectAuditAlarm
@ stub NtPrivilegedServiceAuditAlarm
@ stub NtPrivilegedServiceAuditAlarm
...
@@ -995,7 +997,6 @@
...
@@ -995,7 +997,6 @@
@ stub RtlClosePropertySet
@ stub RtlClosePropertySet
@ stub RtlCreatePropertySet
@ stub RtlCreatePropertySet
@ stub RtlSetPropertySetClassId
@ stub RtlSetPropertySetClassId
@ stdcall NtPowerInformation(long long long long long)
@ stdcall -ret64 VerSetConditionMask(long long long long)
@ stdcall -ret64 VerSetConditionMask(long long long long)
##################
##################
...
...
include/winternl.h
View file @
c31a7e98
...
@@ -1460,6 +1460,7 @@ NTSTATUS WINAPI NtGetContextThread(HANDLE,CONTEXT*);
...
@@ -1460,6 +1460,7 @@ NTSTATUS WINAPI NtGetContextThread(HANDLE,CONTEXT*);
NTSTATUS
WINAPI
NtImpersonateAnonymousToken
(
HANDLE
);
NTSTATUS
WINAPI
NtImpersonateAnonymousToken
(
HANDLE
);
NTSTATUS
WINAPI
NtImpersonateClientOfPort
(
HANDLE
,
PPORT_MESSAGE
);
NTSTATUS
WINAPI
NtImpersonateClientOfPort
(
HANDLE
,
PPORT_MESSAGE
);
NTSTATUS
WINAPI
NtImpersonateThread
(
HANDLE
,
HANDLE
,
PSECURITY_QUALITY_OF_SERVICE
);
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
NtLoadDriver
(
const
UNICODE_STRING
*
);
NTSTATUS
WINAPI
NtLoadKey
(
const
OBJECT_ATTRIBUTES
*
,
OBJECT_ATTRIBUTES
*
);
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
);
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*);
...
@@ -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
NtOpenThread
(
HANDLE
*
,
ACCESS_MASK
,
const
OBJECT_ATTRIBUTES
*
,
const
CLIENT_ID
*
);
NTSTATUS
WINAPI
NtOpenThreadToken
(
HANDLE
,
DWORD
,
BOOLEAN
,
HANDLE
*
);
NTSTATUS
WINAPI
NtOpenThreadToken
(
HANDLE
,
DWORD
,
BOOLEAN
,
HANDLE
*
);
NTSTATUS
WINAPI
NtOpenTimer
(
HANDLE
*
,
ACCESS_MASK
,
const
OBJECT_ATTRIBUTES
*
);
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
NtProtectVirtualMemory
(
HANDLE
,
PVOID
*
,
ULONG
*
,
ULONG
,
ULONG
*
);
NTSTATUS
WINAPI
NtPulseEvent
(
HANDLE
,
PULONG
);
NTSTATUS
WINAPI
NtPulseEvent
(
HANDLE
,
PULONG
);
NTSTATUS
WINAPI
NtQueueApcThread
(
HANDLE
,
PNTAPCFUNC
,
ULONG_PTR
,
ULONG_PTR
,
ULONG_PTR
);
NTSTATUS
WINAPI
NtQueueApcThread
(
HANDLE
,
PNTAPCFUNC
,
ULONG_PTR
,
ULONG_PTR
,
ULONG_PTR
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment