wined3d: Rename WINED3D_MAX_TEXTURES to WINED3D_MAX_FFP_TEXTURES.
[wine.git] / dlls / sechost / trace.c
blob7cefcbbb55f67b35d06a47917a78469d73e25bf6
1 /*
2 * Event tracing API
4 * Copyright 1995 Sven Verdoolaege
5 * Copyright 1998 Juergen Schmied
6 * Copyright 2003 Mike Hearn
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 #include <stdarg.h>
24 #include "windef.h"
25 #include "winbase.h"
26 #include "wmistr.h"
27 #include "evntrace.h"
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(eventlog);
33 /******************************************************************************
34 * ControlTraceA (sechost.@)
36 ULONG WINAPI ControlTraceA( TRACEHANDLE handle, const char *session,
37 EVENT_TRACE_PROPERTIES *properties, ULONG control )
39 FIXME("(%s, %s, %p, %ld) stub\n", wine_dbgstr_longlong(handle), debugstr_a(session), properties, control);
40 return ERROR_SUCCESS;
43 /******************************************************************************
44 * ControlTraceW (sechost.@)
46 ULONG WINAPI ControlTraceW( TRACEHANDLE handle, const WCHAR *session,
47 EVENT_TRACE_PROPERTIES *properties, ULONG control )
49 FIXME("(%s, %s, %p, %ld) stub\n", wine_dbgstr_longlong(handle), debugstr_w(session), properties, control);
50 return ERROR_SUCCESS;
53 /******************************************************************************
54 * EnableTraceEx2 (sechost.@)
56 ULONG WINAPI EnableTraceEx2( TRACEHANDLE handle, const GUID *provider, ULONG control, UCHAR level,
57 ULONGLONG match_any, ULONGLONG match_all, ULONG timeout,
58 ENABLE_TRACE_PARAMETERS *params )
60 FIXME("(%s, %s, %lu, %u, %s, %s, %lu, %p): stub\n", wine_dbgstr_longlong(handle),
61 debugstr_guid(provider), control, level, wine_dbgstr_longlong(match_any),
62 wine_dbgstr_longlong(match_all), timeout, params);
64 return ERROR_SUCCESS;
67 /******************************************************************************
68 * QueryAllTracesA (sechost.@)
70 ULONG WINAPI QueryAllTracesA( EVENT_TRACE_PROPERTIES **properties, ULONG count, ULONG *ret_count )
72 FIXME("(%p, %ld, %p) stub\n", properties, count, ret_count);
74 if (ret_count) *ret_count = 0;
75 return ERROR_SUCCESS;
78 /******************************************************************************
79 * QueryAllTracesW (sechost.@)
81 ULONG WINAPI QueryAllTracesW( EVENT_TRACE_PROPERTIES **properties, ULONG count, ULONG *ret_count )
83 FIXME("(%p, %ld, %p) stub\n", properties, count, ret_count);
85 if (ret_count) *ret_count = 0;
86 return ERROR_SUCCESS;
89 /******************************************************************************
90 * StartTraceA (sechost.@)
92 ULONG WINAPI StartTraceA( TRACEHANDLE *handle, const char *session, EVENT_TRACE_PROPERTIES *properties )
94 FIXME("(%p, %s, %p) stub\n", handle, debugstr_a(session), properties);
95 if (handle) *handle = 0xcafe4242;
96 return ERROR_SUCCESS;
99 /******************************************************************************
100 * StartTraceW (sechost.@)
102 ULONG WINAPI StartTraceW( TRACEHANDLE *handle, const WCHAR *session, EVENT_TRACE_PROPERTIES *properties )
104 FIXME("(%p, %s, %p) stub\n", handle, debugstr_w(session), properties);
105 if (handle) *handle = 0xcafe4242;
106 return ERROR_SUCCESS;
109 /******************************************************************************
110 * StopTraceW (sechost.@)
112 ULONG WINAPI StopTraceW( TRACEHANDLE handle, const WCHAR *session, EVENT_TRACE_PROPERTIES *properties )
114 FIXME("(%s, %s, %p) stub\n", wine_dbgstr_longlong(handle), debugstr_w(session), properties);
115 return ERROR_SUCCESS;
118 /******************************************************************************
119 * OpenTraceW (sechost.@)
121 TRACEHANDLE WINAPI OpenTraceW( EVENT_TRACE_LOGFILEW *logfile )
123 static int once;
125 if (!once++) FIXME("%p: stub\n", logfile);
126 SetLastError(ERROR_ACCESS_DENIED);
127 return INVALID_PROCESSTRACE_HANDLE;
130 /******************************************************************************
131 * ProcessTrace (sechost.@)
133 ULONG WINAPI ProcessTrace( TRACEHANDLE *handles, ULONG count, FILETIME *start_time, FILETIME *end_time )
135 FIXME("%p %lu %p %p: stub\n", handles, count, start_time, end_time);
136 return ERROR_CALL_NOT_IMPLEMENTED;
139 /******************************************************************************
140 * CloseTrace (sechost.@)
142 ULONG WINAPI CloseTrace( TRACEHANDLE handle )
144 FIXME("%s: stub\n", wine_dbgstr_longlong(handle));
145 return ERROR_INVALID_HANDLE;
148 /******************************************************************************
149 * TraceSetInformation (sechost.@)
151 ULONG WINAPI TraceSetInformation( TRACEHANDLE handle, TRACE_INFO_CLASS class, void *info, ULONG len )
153 FIXME("%s %d %p %ld: stub\n", wine_dbgstr_longlong(handle), class, info, len);
154 return ERROR_CALL_NOT_IMPLEMENTED;