mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
5f2d67cb35
svn path=/branches/reactos-yarotows/; revision=47746
70 lines
1.3 KiB
C
70 lines
1.3 KiB
C
/******************************************************************************
|
|
* Configuration Manager Functions *
|
|
******************************************************************************/
|
|
|
|
$if (_WDMDDK_)
|
|
#if (NTDDI_VERSION >= NTDDI_WINXP)
|
|
NTKERNELAPI
|
|
NTSTATUS
|
|
NTAPI
|
|
CmRegisterCallback(
|
|
IN PEX_CALLBACK_FUNCTION Function,
|
|
IN PVOID Context OPTIONAL,
|
|
OUT PLARGE_INTEGER Cookie);
|
|
|
|
NTKERNELAPI
|
|
NTSTATUS
|
|
NTAPI
|
|
CmUnRegisterCallback(
|
|
IN LARGE_INTEGER Cookie);
|
|
#endif
|
|
|
|
#if (NTDDI_VERSION >= NTDDI_VISTA)
|
|
|
|
NTKERNELAPI
|
|
NTSTATUS
|
|
NTAPI
|
|
CmRegisterCallbackEx(
|
|
PEX_CALLBACK_FUNCTION Function,
|
|
PCUNICODE_STRING Altitude,
|
|
PVOID Driver,
|
|
PVOID Context,
|
|
PLARGE_INTEGER Cookie,
|
|
PVOID Reserved);
|
|
|
|
NTKERNELAPI
|
|
VOID
|
|
NTAPI
|
|
CmGetCallbackVersion(
|
|
OUT PULONG Major OPTIONAL,
|
|
OUT PULONG Minor OPTIONAL);
|
|
|
|
NTKERNELAPI
|
|
NTSTATUS
|
|
NTAPI
|
|
CmSetCallbackObjectContext(
|
|
IN OUT PVOID Object,
|
|
IN PLARGE_INTEGER Cookie,
|
|
IN PVOID NewContext,
|
|
OUT PVOID *OldContext OPTIONAL);
|
|
|
|
NTKERNELAPI
|
|
NTSTATUS
|
|
NTAPI
|
|
CmCallbackGetKeyObjectID(
|
|
IN PLARGE_INTEGER Cookie,
|
|
IN PVOID Object,
|
|
OUT PULONG_PTR ObjectID OPTIONAL,
|
|
OUT PCUNICODE_STRING *ObjectName OPTIONAL);
|
|
|
|
NTKERNELAPI
|
|
PVOID
|
|
NTAPI
|
|
CmGetBoundTransaction(
|
|
IN PLARGE_INTEGER Cookie,
|
|
IN PVOID Object);
|
|
|
|
#endif // NTDDI_VERSION >= NTDDI_VISTA
|
|
|
|
$endif (_WDMDDK_)
|
|
|