Author: sginsberg
Date: Thu Sep 25 09:25:22 2008
New Revision: 36507
URL:
http://svn.reactos.org/svn/reactos?rev=36507&view=rev
Log:
- Add WmiQueryTraceInformation, WmiTraceMessage and WmiTraceMessageVa stubs and exports
Modified:
trunk/reactos/ntoskrnl/ntoskrnl.spec
trunk/reactos/ntoskrnl/wmi/wmi.c
Modified: trunk/reactos/ntoskrnl/ntoskrnl.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ntoskrnl.spec?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ntoskrnl.spec [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ntoskrnl.spec [iso-8859-1] Thu Sep 25 09:25:22 2008
@@ -1380,12 +1380,12 @@
;WmiFlushTrace
;WmiGetClock
;WmiQueryTrace
-;WmiQueryTraceInformation
+@ stdcall WmiQueryTraceInformation(long ptr long ptr ptr)
;WmiStartTrace
;WmiStopTrace
;WmiTraceFastEvent
-;WmiTraceMessage
-;WmiTraceMessageVa
+@ cdecl WmiTraceMessage()
+@ stdcall WmiTraceMessageVa(ptr long ptr long long)
;WmiUpdateTrace
;XIPDispatch
@ stdcall ZwAccessCheckAndAuditAlarm(ptr ptr ptr ptr ptr long ptr long ptr ptr ptr)
Modified: trunk/reactos/ntoskrnl/wmi/wmi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/wmi/wmi.c?rev=365…
==============================================================================
--- trunk/reactos/ntoskrnl/wmi/wmi.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/wmi/wmi.c [iso-8859-1] Thu Sep 25 09:25:22 2008
@@ -232,6 +232,51 @@
*/
NTSTATUS
NTAPI
+WmiQueryTraceInformation(IN TRACE_INFORMATION_CLASS TraceInformationClass,
+ OUT PVOID TraceInformation,
+ IN ULONG TraceInformationLength,
+ OUT PULONG RequiredLength OPTIONAL,
+ IN PVOID Buffer OPTIONAL)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+__cdecl
+WmiTraceMessage(IN TRACEHANDLE LoggerHandle,
+ IN ULONG MessageFlags,
+ IN LPGUID MessageGuid,
+ IN USHORT MessageNumber,
+ IN ...)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+NTAPI
+WmiTraceMessageVa(IN TRACEHANDLE LoggerHandle,
+ IN ULONG MessageFlags,
+ IN LPGUID MessageGuid,
+ IN USHORT MessageNumber,
+ IN va_list MessageArgList)
+{
+ UNIMPLEMENTED;
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+/*
+ * @unimplemented
+ */
+NTSTATUS
+NTAPI
NtTraceEvent(IN ULONG TraceHandle,
IN ULONG Flags,
IN ULONG TraceHeaderLength,