Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f9a45596
Commit
f9a45596
authored
Apr 28, 2011
by
Austin English
Committed by
Alexandre Julliard
Apr 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add OpenTraceA/W stubs.
parent
2fcba8ee
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-2
eventlog.c
dlls/advapi32/eventlog.c
+20
-0
evntrace.h
include/evntrace.h
+2
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
f9a45596
...
...
@@ -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)
...
...
dlls/advapi32/eventlog.c
View file @
f9a45596
...
...
@@ -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
;
}
include/evntrace.h
View file @
f9a45596
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment