mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:23:07 +00:00
[XDK][NTOSKRNL_VISTA] Put NTKRNLVISTAAPI to XDK headers
for vista+ APIs implemented in ntoskrnl_vista. Now if you statically link ntoskrnl_vista into a driver, NTKERNELAPI will automatically be removed from an API definition
This commit is contained in:
parent
7af229f5b5
commit
be276dde28
10 changed files with 42 additions and 33 deletions
|
@ -112,7 +112,7 @@ PoGetSystemWake(
|
|||
_In_ struct _IRP *Irp);
|
||||
|
||||
_IRQL_requires_max_(APC_LEVEL)
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
PoRegisterPowerSettingCallback(
|
||||
|
@ -123,7 +123,7 @@ PoRegisterPowerSettingCallback(
|
|||
_Outptr_opt_ PVOID *Handle);
|
||||
|
||||
_IRQL_requires_max_(APC_LEVEL)
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
PoUnregisterPowerSettingCallback(
|
||||
|
@ -154,7 +154,7 @@ PoEndDeviceBusy(
|
|||
_Inout_ PULONG IdlePointer);
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
PoQueryWatchdogTime(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue