advapi32: Add OpenTraceA/W stubs.
This commit is contained in:
parent
2fcba8ee23
commit
f9a455964c
|
@ -441,8 +441,8 @@
|
|||
@ stdcall OpenServiceA(long str long)
|
||||
@ stdcall OpenServiceW(long wstr long)
|
||||
@ stdcall OpenThreadToken(long long long ptr)
|
||||
# @ stub OpenTraceA
|
||||
# @ stub OpenTraceW
|
||||
@ stdcall -ret64 OpenTraceA(ptr)
|
||||
@ stdcall -ret64 OpenTraceW(ptr)
|
||||
@ stdcall PrivilegeCheck(ptr ptr ptr)
|
||||
@ stdcall PrivilegedServiceAuditAlarmA(str str long ptr long)
|
||||
@ stdcall PrivilegedServiceAuditAlarmW(wstr wstr long ptr long)
|
||||
|
|
|
@ -851,3 +851,23 @@ ULONG WINAPI QueryTraceW( TRACEHANDLE handle, LPCWSTR sessionname, PEVENT_TRACE_
|
|||
FIXME("%s %s %p: stub\n", wine_dbgstr_longlong(handle), debugstr_w(sessionname), properties);
|
||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* OpenTraceA [ADVAPI32.@]
|
||||
*/
|
||||
TRACEHANDLE WINAPI OpenTraceA( PEVENT_TRACE_LOGFILEA logfile )
|
||||
{
|
||||
FIXME("%p: stub\n", logfile);
|
||||
SetLastError(ERROR_ACCESS_DENIED);
|
||||
return INVALID_PROCESSTRACE_HANDLE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* OpenTraceW [ADVAPI32.@]
|
||||
*/
|
||||
TRACEHANDLE WINAPI OpenTraceW( PEVENT_TRACE_LOGFILEW logfile )
|
||||
{
|
||||
FIXME("%p: stub\n", logfile);
|
||||
SetLastError(ERROR_ACCESS_DENIED);
|
||||
return INVALID_PROCESSTRACE_HANDLE;
|
||||
}
|
||||
|
|
|
@ -202,6 +202,8 @@ typedef struct _EVENT_TRACE_PROPERTIES
|
|||
ULONG LoggerNameOffset;
|
||||
} EVENT_TRACE_PROPERTIES, *PEVENT_TRACE_PROPERTIES;
|
||||
|
||||
#define INVALID_PROCESSTRACE_HANDLE ((TRACEHANDLE)~(ULONG_PTR)0)
|
||||
|
||||
ULONG WINAPI CloseTrace(TRACEHANDLE);
|
||||
ULONG WINAPI ControlTraceA(TRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES,ULONG);
|
||||
ULONG WINAPI ControlTraceW(TRACEHANDLE,LPCWSTR,PEVENT_TRACE_PROPERTIES,ULONG);
|
||||
|
|
Loading…
Reference in New Issue