Author: janderwald
Date: Fri May 23 11:31:22 2008
New Revision: 33661
URL:
http://svn.reactos.org/svn/reactos?rev=33661&view=rev
Log:
- add stubs for GetTraceEnableFlags, GetTraceEnableLevel, RegisterTraceGuidsA,
RegisterTraceGuidsW and UnregisterTraceGuids
Modified:
trunk/reactos/dll/win32/advapi32/advapi32.def
trunk/reactos/dll/win32/advapi32/advapi32.h
trunk/reactos/dll/win32/advapi32/misc/trace.c
Modified: trunk/reactos/dll/win32/advapi32/advapi32.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/advapi3…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/advapi32.def [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/advapi32.def [iso-8859-1] Fri May 23 11:31:22 2008
@@ -290,8 +290,8 @@
GetSidSubAuthorityCount@4
GetSiteSidFromToken@4
GetTokenInformation@20
-;GetTraceEnableFlags
-;GetTraceEnableLevel
+GetTraceEnableFlags@8
+GetTraceEnableLevel@8
GetTraceLoggerHandle@4
GetTrusteeFormA@4
GetTrusteeFormW@4
@@ -546,8 +546,8 @@
RegisterServiceCtrlHandlerExA@12
RegisterServiceCtrlHandlerExW@12
RegisterServiceCtrlHandlerW@8
-;RegisterTraceGuidsA
-;RegisterTraceGuidsW
+RegisterTraceGuidsA@32
+RegisterTraceGuidsW@32
;RemoveTraceCallback
RemoveUsersFromEncryptedFile@8
ReportEventA@36
@@ -662,7 +662,7 @@
;UninstallApplication
UnlockServiceDatabase@4
;UnregisterIdleTask
-;UnregisterTraceGuids
+UnregisterTraceGuids@8
;UpdateTraceA
;UpdateTraceW
;WdmWmiServiceMain
Modified: trunk/reactos/dll/win32/advapi32/advapi32.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/advapi3…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/advapi32.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/advapi32.h [iso-8859-1] Fri May 23 11:31:22 2008
@@ -19,6 +19,7 @@
#include <windows.h>
#include <accctrl.h>
#include <aclapi.h>
+#include <wmistr.h>
#include <evntrace.h>
#include <sddl.h>
#define NTOS_MODE_USER
Modified: trunk/reactos/dll/win32/advapi32/misc/trace.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/misc/tr…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/misc/trace.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/misc/trace.c [iso-8859-1] Fri May 23 11:31:22 2008
@@ -55,5 +55,69 @@
return ERROR_SUCCESS;
}
+ULONG
+WMIAPI
+GetTraceEnableFlags(
+ TRACEHANDLE TraceHandle
+)
+{
+ DPRINT1("GetTraceEnableFlags stub()\n");
+ return 0xFF;
+}
+
+UCHAR
+WMIAPI
+GetTraceEnableLevel(
+ TRACEHANDLE TraceHandle
+)
+{
+ DPRINT1("GetTraceEnableLevel stub()\n");
+ return 0xFF;
+}
+
+ULONG
+WMIAPI
+UnregisterTraceGuids(
+ TRACEHANDLE RegistrationHandle
+)
+{
+ DPRINT1("UnregisterTraceGuids stub()\n");
+ return ERROR_SUCCESS;
+}
+
+ULONG
+WMIAPI
+RegisterTraceGuidsA(
+ WMIDPREQUEST RequestAddress,
+ PVOID RequestContext,
+ LPCGUID ControlGuid,
+ ULONG GuidCount,
+ PTRACE_GUID_REGISTRATION TraceGuidReg,
+ LPCSTR MofImagePath,
+ LPCSTR MofResourceName,
+ PTRACEHANDLE RegistrationHandle
+)
+{
+ DPRINT1("RegisterTraceGuidsA stub()\n");
+ return ERROR_SUCCESS;
+}
+
+ULONG
+WMIAPI
+RegisterTraceGuidsW(
+ WMIDPREQUEST RequestAddress,
+ PVOID RequestContext,
+ LPCGUID ControlGuid,
+ ULONG GuidCount,
+ PTRACE_GUID_REGISTRATION TraceGuidReg,
+ LPCWSTR MofImagePath,
+ LPCWSTR MofResourceName,
+ PTRACEHANDLE RegistrationHandle
+)
+{
+ DPRINT1("RegisterTraceGuidsW stub()\n");
+ return ERROR_SUCCESS;
+}
+
/* EOF */