Author: janderwald
Date: Fri May 23 11:29:05 2008
New Revision: 33660
URL:
http://svn.reactos.org/svn/reactos?rev=33660&view=rev
Log:
- add prototypes for GetTraceEnableLevel, RegisterTraceGuidsA, RegisterTraceGuidsW,
UnregisterTraceGuids
- add WMIPREQUEST, TRACE_GUID_REGISTRATION definition
- add wmistr.h header
Added:
trunk/reactos/include/psdk/wmistr.h (with props)
Modified:
trunk/reactos/include/psdk/evntrace.h
Modified: trunk/reactos/include/psdk/evntrace.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/evntrace.h?re…
==============================================================================
--- trunk/reactos/include/psdk/evntrace.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/evntrace.h [iso-8859-1] Fri May 23 11:29:05 2008
@@ -56,12 +56,33 @@
typedef ULONG64 TRACEHANDLE, *PTRACEHANDLE;
+typedef ULONG (WINAPI *WMIDPREQUEST)(
+ WMIDPREQUESTCODE RequestCode,
+ PVOID RequestContext,
+ ULONG *BufferSize,
+ PVOID Buffer
+);
+
+typedef struct _TRACE_GUID_REGISTRATION
+{
+ LPCGUID Guid;
+ HANDLE RegHandle;
+} TRACE_GUID_REGISTRATION, *PTRACE_GUID_REGISTRATION;
ULONG WMIAPI TraceEvent(TRACEHANDLE,PEVENT_TRACE_HEADER);
TRACEHANDLE WMIAPI GetTraceLoggerHandle(PVOID);
ULONG WMIAPI GetTraceEnableFlags(TRACEHANDLE);
+UCHAR WMIAPI GetTraceEnableLevel(TRACEHANDLE);
+ULONG WMIAPI
RegisterTraceGuidsA(WMIDPREQUEST,PVOID,LPCGUID,ULONG,PTRACE_GUID_REGISTRATION,LPCSTR,LPCSTR,PTRACEHANDLE);
+ULONG WMIAPI
RegisterTraceGuidsW(WMIDPREQUEST,PVOID,LPCGUID,ULONG,PTRACE_GUID_REGISTRATION,LPCWSTR,LPCWSTR,PTRACEHANDLE);
+ULONG WMIAPI UnregisterTraceGuids(TRACEHANDLE);
+#if defined (UNICODE) || defined (_UNICODE)
+#define RegisterTraceGuids RegisterTraceGuidsW
+#else
+#define RegisterTraceGuids RegisterTraceGuidsA
+#endif
#endif /* ENVTRACE_H */
Added: trunk/reactos/include/psdk/wmistr.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/wmistr.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/wmistr.h (added)
+++ trunk/reactos/include/psdk/wmistr.h [iso-8859-1] Fri May 23 11:29:05 2008
@@ -1,0 +1,18 @@
+#ifndef _WMISTR_
+#define _WMISTR_
+
+typedef enum
+{
+ WMI_GET_ALL_DATA = 0,
+ WMI_GET_SINGLE_INSTANCE,
+ WMI_SET_SINGLE_INSTANCE,
+ WMI_SET_SINGLE_ITEM,
+ WMI_ENABLE_EVENTS,
+ WMI_DISABLE_EVENTS,
+ WMI_ENABLE_COLLECTION,
+ WMI_DISABLE_COLLECTION,
+ WMI_REGINFO,
+ WMI_EXECUTE_METHOD
+} WMIDPREQUESTCODE;
+
+#endif /* _WMISTR_ */
Propchange: trunk/reactos/include/psdk/wmistr.h
------------------------------------------------------------------------------
svn:eol-style = native