Author: ekohl
Date: Sun Jul 11 12:05:35 2010
New Revision: 47998
URL:
http://svn.reactos.org/svn/reactos?rev=47998&view=rev
Log:
[ADVAPI32]
Move event tracing functions to the proper file.
Modified:
trunk/reactos/dll/win32/advapi32/misc/trace.c
trunk/reactos/dll/win32/advapi32/service/eventlog.c
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] Sun Jul 11 12:05:35 2010
@@ -135,4 +135,67 @@
if (pSessionHandle) *pSessionHandle = 0xcafe4242;
return ERROR_SUCCESS;
}
+
+/******************************************************************************
+ * ControlTraceW [ADVAPI32.@]
+ *
+ * Control a givel event trace session
+ *
+ */
+ULONG WINAPI ControlTraceW( TRACEHANDLE hSession, LPCWSTR SessionName,
PEVENT_TRACE_PROPERTIES Properties, ULONG control )
+{
+ FIXME("(%s, %s, %p, %d) stub\n", wine_dbgstr_longlong(hSession),
debugstr_w(SessionName), Properties, control);
+ return ERROR_SUCCESS;
+}
+
+/******************************************************************************
+ * ControlTraceA [ADVAPI32.@]
+ *
+ * See ControlTraceW.
+ *
+ */
+ULONG WINAPI ControlTraceA( TRACEHANDLE hSession, LPCSTR SessionName,
PEVENT_TRACE_PROPERTIES Properties, ULONG control )
+{
+ FIXME("(%s, %s, %p, %d) stub\n", wine_dbgstr_longlong(hSession),
debugstr_a(SessionName), Properties, control);
+ return ERROR_SUCCESS;
+}
+
+/******************************************************************************
+ * EnableTrace [ADVAPI32.@]
+ */
+ULONG WINAPI EnableTrace( ULONG enable, ULONG flag, ULONG level, LPCGUID guid,
TRACEHANDLE hSession )
+{
+ FIXME("(%d, 0x%x, %d, %s, %s): stub\n", enable, flag, level,
+ debugstr_guid(guid), wine_dbgstr_longlong(hSession));
+
+ return ERROR_SUCCESS;
+}
+
+/******************************************************************************
+ * QueryAllTracesW [ADVAPI32.@]
+ *
+ * Query information for started event trace sessions
+ *
+ */
+ULONG WINAPI QueryAllTracesW( PEVENT_TRACE_PROPERTIES * parray, ULONG arraycount, PULONG
psessioncount )
+{
+ FIXME("(%p, %d, %p) stub\n", parray, arraycount, psessioncount);
+
+ if (psessioncount) *psessioncount = 0;
+ return ERROR_SUCCESS;
+}
+
+/******************************************************************************
+ * QueryAllTracesA [ADVAPI32.@]
+ *
+ * See QueryAllTracesW.
+ */
+ULONG WINAPI QueryAllTracesA( PEVENT_TRACE_PROPERTIES * parray, ULONG arraycount, PULONG
psessioncount )
+{
+ FIXME("(%p, %d, %p) stub\n", parray, arraycount, psessioncount);
+
+ if (psessioncount) *psessioncount = 0;
+ return ERROR_SUCCESS;
+}
+
/* EOF */
Modified: trunk/reactos/dll/win32/advapi32/service/eventlog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
==============================================================================
--- trunk/reactos/dll/win32/advapi32/service/eventlog.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/advapi32/service/eventlog.c [iso-8859-1] Sun Jul 11 12:05:35
2010
@@ -312,29 +312,6 @@
return TRUE;
}
-/******************************************************************************
- * ControlTraceW [ADVAPI32.@]
- *
- * Control a givel event trace session
- *
- */
-ULONG WINAPI ControlTraceW( TRACEHANDLE hSession, LPCWSTR SessionName,
PEVENT_TRACE_PROPERTIES Properties, ULONG control )
-{
- FIXME("(%s, %s, %p, %d) stub\n", wine_dbgstr_longlong(hSession),
debugstr_w(SessionName), Properties, control);
- return ERROR_SUCCESS;
-}
-
-/******************************************************************************
- * ControlTraceA [ADVAPI32.@]
- *
- * See ControlTraceW.
- *
- */
-ULONG WINAPI ControlTraceA( TRACEHANDLE hSession, LPCSTR SessionName,
PEVENT_TRACE_PROPERTIES Properties, ULONG control )
-{
- FIXME("(%s, %s, %p, %d) stub\n", wine_dbgstr_longlong(hSession),
debugstr_a(SessionName), Properties, control);
- return ERROR_SUCCESS;
-}
/******************************************************************************
* DeregisterEventSource [ADVAPI32.@]
@@ -371,16 +348,6 @@
return TRUE;
}
-/******************************************************************************
- * EnableTrace [ADVAPI32.@]
- */
-ULONG WINAPI EnableTrace( ULONG enable, ULONG flag, ULONG level, LPCGUID guid,
TRACEHANDLE hSession )
-{
- FIXME("(%d, 0x%x, %d, %s, %s): stub\n", enable, flag, level,
- debugstr_guid(guid), wine_dbgstr_longlong(hSession));
-
- return ERROR_SUCCESS;
-}
/******************************************************************************
* GetEventLogInformation [ADVAPI32.@]
@@ -739,32 +706,6 @@
return (HANDLE)LogHandle;
}
-/******************************************************************************
- * QueryAllTracesW [ADVAPI32.@]
- *
- * Query information for started event trace sessions
- *
- */
-ULONG WINAPI QueryAllTracesW( PEVENT_TRACE_PROPERTIES * parray, ULONG arraycount, PULONG
psessioncount )
-{
- FIXME("(%p, %d, %p) stub\n", parray, arraycount, psessioncount);
-
- if (psessioncount) *psessioncount = 0;
- return ERROR_SUCCESS;
-}
-
-/******************************************************************************
- * QueryAllTracesA [ADVAPI32.@]
- *
- * See QueryAllTracesW.
- */
-ULONG WINAPI QueryAllTracesA( PEVENT_TRACE_PROPERTIES * parray, ULONG arraycount, PULONG
psessioncount )
-{
- FIXME("(%p, %d, %p) stub\n", parray, arraycount, psessioncount);
-
- if (psessioncount) *psessioncount = 0;
- return ERROR_SUCCESS;
-}
/******************************************************************************
* ReadEventLogA [ADVAPI32.@]