mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOSKRNL_VISTA] Add stubs for functions needed in KMDF
This commit is contained in:
parent
d01518da7c
commit
bb94e711ef
4 changed files with 41 additions and 4 deletions
|
@ -2402,7 +2402,7 @@ IoRequestDeviceEjectEx(
|
|||
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
_Must_inspect_result_
|
||||
NTKERNELAPI
|
||||
NTKRNLVISTAAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
IoSetDevicePropertyData(
|
||||
|
|
|
@ -98,14 +98,14 @@ $if (_WDMDDK_)
|
|||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
NTKERNELAPI
|
||||
NTKRNLVISTAAPI
|
||||
VOID
|
||||
NTAPI
|
||||
PoSetSystemWake(
|
||||
_Inout_ struct _IRP *Irp);
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
NTKERNELAPI
|
||||
NTKRNLVISTAAPI
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
PoGetSystemWake(
|
||||
|
|
|
@ -66,6 +66,23 @@ IoQueueWorkItemEx(
|
|||
IoQueueWorkItem(IoWorkItem, IopWorkItemExCallback, QueueType, Context);
|
||||
}
|
||||
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
_Must_inspect_result_
|
||||
NTKRNLVISTAAPI
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
IoSetDevicePropertyData(
|
||||
_In_ PDEVICE_OBJECT Pdo,
|
||||
_In_ CONST DEVPROPKEY *PropertyKey,
|
||||
_In_ LCID Lcid,
|
||||
_In_ ULONG Flags,
|
||||
_In_ DEVPROPTYPE Type,
|
||||
_In_ ULONG Size,
|
||||
_In_opt_ PVOID Data)
|
||||
{
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
_Must_inspect_result_
|
||||
NTKRNLVISTAAPI
|
||||
|
|
|
@ -40,4 +40,24 @@ PoQueryWatchdogTime(
|
|||
_Out_ PULONG SecondsRemaining)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
NTKRNLVISTAAPI
|
||||
VOID
|
||||
NTAPI
|
||||
PoSetSystemWake(
|
||||
_Inout_ struct _IRP *Irp)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||
NTKRNLVISTAAPI
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
PoGetSystemWake(
|
||||
_In_ struct _IRP *Irp)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue