mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +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)
|
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||||
_Must_inspect_result_
|
_Must_inspect_result_
|
||||||
NTKERNELAPI
|
NTKRNLVISTAAPI
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
NTAPI
|
NTAPI
|
||||||
IoSetDevicePropertyData(
|
IoSetDevicePropertyData(
|
||||||
|
|
|
@ -98,14 +98,14 @@ $if (_WDMDDK_)
|
||||||
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
||||||
|
|
||||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||||
NTKERNELAPI
|
NTKRNLVISTAAPI
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
PoSetSystemWake(
|
PoSetSystemWake(
|
||||||
_Inout_ struct _IRP *Irp);
|
_Inout_ struct _IRP *Irp);
|
||||||
|
|
||||||
_IRQL_requires_max_(DISPATCH_LEVEL)
|
_IRQL_requires_max_(DISPATCH_LEVEL)
|
||||||
NTKERNELAPI
|
NTKRNLVISTAAPI
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
NTAPI
|
NTAPI
|
||||||
PoGetSystemWake(
|
PoGetSystemWake(
|
||||||
|
|
|
@ -66,6 +66,23 @@ IoQueueWorkItemEx(
|
||||||
IoQueueWorkItem(IoWorkItem, IopWorkItemExCallback, QueueType, Context);
|
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)
|
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||||
_Must_inspect_result_
|
_Must_inspect_result_
|
||||||
NTKRNLVISTAAPI
|
NTKRNLVISTAAPI
|
||||||
|
|
|
@ -40,4 +40,24 @@ PoQueryWatchdogTime(
|
||||||
_Out_ PULONG SecondsRemaining)
|
_Out_ PULONG SecondsRemaining)
|
||||||
{
|
{
|
||||||
return FALSE;
|
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