https://git.reactos.org/?p=reactos.git;a=commitdiff;h=093f377c40800bd7ac2e6…
commit 093f377c40800bd7ac2e68e6290a16e5b9867280
Author: Victor Perevertkin <victor.perevertkin(a)reactos.org>
AuthorDate: Fri Aug 28 05:11:42 2020 +0300
Commit: Victor Perevertkin <victor.perevertkin(a)reactos.org>
CommitDate: Fri Aug 28 05:11:42 2020 +0300
[XDK] HACK: remove dllimport from functions which
will be implemented in ntoskrnl_vista. Remove when we will be NT6
CORE-17129
---
sdk/include/xdk/iofuncs.h | 10 +++++-----
sdk/include/xdk/kefuncs.h | 6 +++---
sdk/include/xdk/pofuncs.h | 6 +++---
sdk/include/xdk/wmifuncs.h | 6 +++---
4 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/sdk/include/xdk/iofuncs.h b/sdk/include/xdk/iofuncs.h
index 3299e53632a..fc1c10cdb03 100644
--- a/sdk/include/xdk/iofuncs.h
+++ b/sdk/include/xdk/iofuncs.h
@@ -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,
diff --git a/sdk/include/xdk/kefuncs.h b/sdk/include/xdk/kefuncs.h
index 2cfe56348b0..6d459bbe60a 100644
--- a/sdk/include/xdk/kefuncs.h
+++ b/sdk/include/xdk/kefuncs.h
@@ -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(
diff --git a/sdk/include/xdk/pofuncs.h b/sdk/include/xdk/pofuncs.h
index 7483576200e..37a0f9e76be 100644
--- a/sdk/include/xdk/pofuncs.h
+++ b/sdk/include/xdk/pofuncs.h
@@ -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(
diff --git a/sdk/include/xdk/wmifuncs.h b/sdk/include/xdk/wmifuncs.h
index 70f82b72946..bad09c35e1d 100644
--- a/sdk/include/xdk/wmifuncs.h
+++ b/sdk/include/xdk/wmifuncs.h
@@ -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,