mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:02:56 +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
|
@ -1128,7 +1128,7 @@ NTAPI
|
|||
KeRevertToUserAffinityThreadEx(
|
||||
_In_ KAFFINITY Affinity);
|
||||
|
||||
NTKERNELAPI
|
||||
NTKRNLVISTAAPI
|
||||
ULONG
|
||||
NTAPI
|
||||
KeQueryActiveProcessorCount(
|
||||
|
@ -1140,7 +1140,7 @@ NTAPI
|
|||
KeQueryMaximumProcessorCount(VOID);
|
||||
$endif (_WDMDDK_)
|
||||
$if (_NTDDK_)
|
||||
NTKERNELAPI
|
||||
NTKRNLVISTAAPI
|
||||
ULONG
|
||||
NTAPI
|
||||
KeQueryActiveProcessorCount(
|
||||
|
@ -1249,12 +1249,12 @@ NTAPI
|
|||
KeQueryNodeMaximumProcessorCount(
|
||||
_In_ USHORT NodeNumber);
|
||||
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
USHORT
|
||||
NTAPI
|
||||
KeQueryHighestNodeNumber(VOID);
|
||||
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
USHORT
|
||||
NTAPI
|
||||
KeGetCurrentNodeNumber(VOID);
|
||||
|
@ -1316,7 +1316,7 @@ KeRevertToUserGroupAffinityThread(
|
|||
_In_ PGROUP_AFFINITY PreviousAffinity);
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
KeSetCoalescableTimer(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue