mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:03:00 +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
|
@ -2348,7 +2348,7 @@ IoUninitializeWorkItem(
|
|||
_Inout_ PIO_WORKITEM IoWorkItem);
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
VOID
|
||||
NTAPI
|
||||
IoQueueWorkItemEx(
|
||||
|
@ -2357,7 +2357,7 @@ IoQueueWorkItemEx(
|
|||
_In_ WORK_QUEUE_TYPE QueueType,
|
||||
_In_opt_ __drv_aliasesMem PVOID Context);
|
||||
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
IO_PRIORITY_HINT
|
||||
NTAPI
|
||||
IoGetIoPriorityHint(
|
||||
|
@ -2416,7 +2416,7 @@ IoSetDevicePropertyData(
|
|||
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
_Must_inspect_result_
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
IoGetDevicePropertyData(
|
||||
|
@ -2475,7 +2475,7 @@ NTAPI
|
|||
IoClearIrpExtraCreateParameter(
|
||||
_Inout_ PIRP Irp);
|
||||
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
IoGetIrpExtraCreateParameter(
|
||||
|
@ -2602,7 +2602,7 @@ $endif (_NTIFS_)
|
|||
$if (_WDMDDK_)
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
_Must_inspect_result_
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
NTSTATUS
|
||||
IoSetDeviceInterfacePropertyData(
|
||||
_In_ PUNICODE_STRING SymbolicLinkName,
|
||||
|
@ -2629,7 +2629,7 @@ IoGetDeviceInterfacePropertyData (
|
|||
$endif (_WDMDDK_)
|
||||
$if (_NTDDK_)
|
||||
|
||||
// NTKERNELAPI // HACK: ntoskrnl_vista functions are statically linked thus don't need DECLSPEC_IMPORT
|
||||
NTKRNLVISTAAPI
|
||||
VOID
|
||||
IoSetMasterIrpStatus(
|
||||
_Inout_ PIRP MasterIrp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue