More formatting fixe
[reactos.git] / include / xdk / cmfuncs.h
1 /******************************************************************************
2 * Configuration Manager Functions *
3 ******************************************************************************/
4
5 $if (_WDMDDK_)
6 #if (NTDDI_VERSION >= NTDDI_WINXP)
7 NTKERNELAPI
8 NTSTATUS
9 NTAPI
10 CmRegisterCallback(
11 IN PEX_CALLBACK_FUNCTION Function,
12 IN PVOID Context OPTIONAL,
13 OUT PLARGE_INTEGER Cookie);
14
15 NTKERNELAPI
16 NTSTATUS
17 NTAPI
18 CmUnRegisterCallback(
19 IN LARGE_INTEGER Cookie);
20 #endif
21
22 #if (NTDDI_VERSION >= NTDDI_VISTA)
23
24 NTKERNELAPI
25 NTSTATUS
26 NTAPI
27 CmRegisterCallbackEx(
28 PEX_CALLBACK_FUNCTION Function,
29 PCUNICODE_STRING Altitude,
30 PVOID Driver,
31 PVOID Context,
32 PLARGE_INTEGER Cookie,
33 PVOID Reserved);
34
35 NTKERNELAPI
36 VOID
37 NTAPI
38 CmGetCallbackVersion(
39 OUT PULONG Major OPTIONAL,
40 OUT PULONG Minor OPTIONAL);
41
42 NTKERNELAPI
43 NTSTATUS
44 NTAPI
45 CmSetCallbackObjectContext(
46 IN OUT PVOID Object,
47 IN PLARGE_INTEGER Cookie,
48 IN PVOID NewContext,
49 OUT PVOID *OldContext OPTIONAL);
50
51 NTKERNELAPI
52 NTSTATUS
53 NTAPI
54 CmCallbackGetKeyObjectID(
55 IN PLARGE_INTEGER Cookie,
56 IN PVOID Object,
57 OUT PULONG_PTR ObjectID OPTIONAL,
58 OUT PCUNICODE_STRING *ObjectName OPTIONAL);
59
60 NTKERNELAPI
61 PVOID
62 NTAPI
63 CmGetBoundTransaction(
64 IN PLARGE_INTEGER Cookie,
65 IN PVOID Object);
66
67 #endif // NTDDI_VERSION >= NTDDI_VISTA
68
69 $endif (_WDMDDK_)
70