ReactOS 0.4.15-dev-7906-g1b85a5f
wmifuncs.h
Go to the documentation of this file.
1/******************************************************************************
2 * WMI Library Support Functions *
3 ******************************************************************************/
4
5#ifdef RUN_WPP
6#if (NTDDI_VERSION >= NTDDI_WINXP)
12 _In_ TRACEHANDLE LoggerHandle,
13 _In_ ULONG MessageFlags,
14 _In_ LPGUID MessageGuid,
16 ...);
17#endif
18#endif /* RUN_WPP */
19
20#if (NTDDI_VERSION >= NTDDI_WINXP)
21
27 _In_ TRACE_INFORMATION_CLASS TraceInformationClass,
32
33#if 0
34/* FIXME: Get va_list from where? */
40 _In_ TRACEHANDLE LoggerHandle,
41 _In_ ULONG MessageFlags,
42 _In_ LPGUID MessageGuid,
44 _In_ va_list MessageArgList);
45#endif
46
47#endif /* (NTDDI_VERSION >= NTDDI_WINXP) */
48
49#ifndef TRACE_INFORMATION_CLASS_DEFINE
50
51#if (NTDDI_VERSION >= NTDDI_WINXP)
57 _In_ TRACE_INFORMATION_CLASS TraceInformationClass,
62#endif
63
64#define TRACE_INFORMATION_CLASS_DEFINE
65
66#endif /* TRACE_INFOPRMATION_CLASS_DEFINE */
67
68#if (NTDDI_VERSION >= NTDDI_VISTA)
69
74EtwRegister(
75 _In_ LPCGUID ProviderId,
76 _In_opt_ PETWENABLECALLBACK EnableCallback,
79
84EtwUnregister(
86
91EtwEventEnabled(
94
99EtwProviderEnabled(
103
108NTAPI
109EtwActivityIdControl(
112
116NTAPI
117EtwWrite(
123
127NTAPI
128EtwWriteTransfer(
135
139NTAPI
140EtwWriteString(
146
147#endif /* (NTDDI_VERSION >= NTDDI_VISTA) */
148
149#if (NTDDI_VERSION >= NTDDI_WIN7)
153NTAPI
154EtwWriteEx(
163#endif
164
165
166
unsigned char BOOLEAN
#define __cdecl
Definition: accygwin.h:79
char * va_list
Definition: acmsvcex.h:78
LONG NTSTATUS
Definition: precomp.h:26
Definition: bufpool.h:45
#define _IRQL_requires_max_(irql)
Definition: driverspecs.h:230
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define HIGH_LEVEL
Definition: env_spec_w32.h:703
#define APC_LEVEL
Definition: env_spec_w32.h:695
ULONGLONG REGHANDLE
Definition: evntprov.h:48
#define EVENT_ACTIVITY_CTRL_CREATE_ID
Definition: evntprov.h:44
ULONGLONG * PREGHANDLE
Definition: evntprov.h:48
ULONG64 TRACEHANDLE
Definition: evntrace.h:40
#define WmiQueryTraceInformation
Definition: fxwmicompat.h:64
unsigned __int64 ULONG64
Definition: imports.h:198
#define _Out_opt_
Definition: ms_sal.h:346
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
#define _Inout_updates_bytes_(size)
Definition: ms_sal.h:399
#define _Out_
Definition: ms_sal.h:345
#define _In_reads_opt_(size)
Definition: ms_sal.h:320
#define _When_(expr, annos)
Definition: ms_sal.h:254
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
NTSTATUS NTAPI WmiTraceMessageVa(IN TRACEHANDLE LoggerHandle, IN ULONG MessageFlags, IN LPGUID MessageGuid, IN USHORT MessageNumber, IN va_list MessageArgList)
Definition: wmi.c:368
NTSTATUS __cdecl WmiTraceMessage(IN TRACEHANDLE LoggerHandle, IN ULONG MessageFlags, IN LPGUID MessageGuid, IN USHORT MessageNumber, IN ...)
Definition: wmi.c:353
unsigned short USHORT
Definition: pedump.c:61
uint32_t * PULONG
Definition: typedefs.h:59
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define NTAPI
Definition: typedefs.h:36
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433
#define NTKRNLVISTAAPI
#define NTKERNELAPI
_In_ PCEVENT_DESCRIPTOR _In_opt_ LPCGUID _In_ ULONG UserDataCount
Definition: wmifuncs.h:121
_In_ ULONG _Out_opt_ PULONG RequiredLength
Definition: wmifuncs.h:30
_In_opt_ PETWENABLECALLBACK EnableCallback
Definition: wmifuncs.h:76
_In_ PCEVENT_DESCRIPTOR _In_opt_ LPCGUID _In_opt_ LPCGUID RelatedActivityId
Definition: wmifuncs.h:132
_In_ PCEVENT_DESCRIPTOR _In_ ULONG64 Filter
Definition: wmifuncs.h:157
_In_ PCEVENT_DESCRIPTOR _In_opt_ LPCGUID ActivityId
Definition: wmifuncs.h:120
_In_ ULONG TraceInformationLength
Definition: wmifuncs.h:29
_In_opt_ PETWENABLECALLBACK _In_opt_ PVOID _Out_ PREGHANDLE RegHandle
Definition: wmifuncs.h:78
_In_ PCEVENT_DESCRIPTOR EventDescriptor
Definition: wmifuncs.h:93
_In_opt_ PETWENABLECALLBACK _In_opt_ PVOID CallbackContext
Definition: wmifuncs.h:77
_In_ UCHAR Level
Definition: wmifuncs.h:101
_IRQL_requires_same_ typedef _In_ ULONG ControlCode
Definition: wmitypes.h:55
enum _TRACE_INFORMATION_CLASS TRACE_INFORMATION_CLASS
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
_Must_inspect_result_ typedef _In_ ULONG _In_ ULONG MessageNumber
Definition: iotypes.h:4304
unsigned char UCHAR
Definition: xmlstorage.h:181