[XDK] HACK: remove dllimport from functions which

will be implemented in ntoskrnl_vista. Remove when we will be NT6

CORE-17129
This commit is contained in:
Victor Perevertkin 2020-08-28 05:11:42 +03:00
parent 01eb9ba8de
commit 093f377c40
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
4 changed files with 14 additions and 14 deletions

View file

@ -2351,7 +2351,7 @@ IoUninitializeWorkItem(
_Inout_ PIO_WORKITEM IoWorkItem);
_IRQL_requires_max_(DISPATCH_LEVEL)
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
VOID
NTAPI
IoQueueWorkItemEx(
@ -2366,7 +2366,7 @@ NTAPI
IoGetIoPriorityHint(
_In_ PIRP Irp);
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
NTSTATUS
NTAPI
IoSetIoPriorityHint(
@ -2422,7 +2422,7 @@ IoSetDevicePropertyData(
_IRQL_requires_max_(PASSIVE_LEVEL)
_Must_inspect_result_
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
NTSTATUS
NTAPI
IoGetDevicePropertyData(
@ -2484,7 +2484,7 @@ NTAPI
IoClearIrpExtraCreateParameter(
_Inout_ PIRP Irp);
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
NTSTATUS
NTAPI
IoGetIrpExtraCreateParameter(
@ -2610,7 +2610,7 @@ $endif (_NTIFS_)
#if (NTDDI_VERSION >= NTDDI_WIN8)
_IRQL_requires_max_(PASSIVE_LEVEL)
_Must_inspect_result_
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
NTSTATUS
IoSetDeviceInterfacePropertyData(
_In_ PUNICODE_STRING SymbolicLinkName,

View file

@ -1249,12 +1249,12 @@ NTAPI
KeQueryNodeMaximumProcessorCount(
_In_ USHORT NodeNumber);
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
USHORT
NTAPI
KeQueryHighestNodeNumber(VOID);
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
USHORT
NTAPI
KeGetCurrentNodeNumber(VOID);
@ -1316,7 +1316,7 @@ KeRevertToUserGroupAffinityThread(
_In_ PGROUP_AFFINITY PreviousAffinity);
_IRQL_requires_max_(DISPATCH_LEVEL)
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
BOOLEAN
NTAPI
KeSetCoalescableTimer(

View file

@ -112,7 +112,7 @@ PoGetSystemWake(
_In_ struct _IRP *Irp);
_IRQL_requires_max_(APC_LEVEL)
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
NTSTATUS
NTAPI
PoRegisterPowerSettingCallback(
@ -123,7 +123,7 @@ PoRegisterPowerSettingCallback(
_Outptr_opt_ PVOID *Handle);
_IRQL_requires_max_(APC_LEVEL)
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
NTSTATUS
NTAPI
PoUnregisterPowerSettingCallback(
@ -154,7 +154,7 @@ PoEndDeviceBusy(
_Inout_ PULONG IdlePointer);
_IRQL_requires_max_(DISPATCH_LEVEL)
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
BOOLEAN
NTAPI
PoQueryWatchdogTime(

View file

@ -69,7 +69,7 @@ WmiQueryTraceInformation(
_IRQL_requires_max_(PASSIVE_LEVEL)
NTSTATUS
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
NTAPI
EtwRegister(
_In_ LPCGUID ProviderId,
@ -79,7 +79,7 @@ EtwRegister(
_IRQL_requires_max_(PASSIVE_LEVEL)
NTSTATUS
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
NTAPI
EtwUnregister(
_In_ REGHANDLE RegHandle);
@ -112,7 +112,7 @@ EtwActivityIdControl(
_IRQL_requires_max_(HIGH_LEVEL)
NTSTATUS
NTKERNELAPI
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
NTAPI
EtwWrite(
_In_ REGHANDLE RegHandle,