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
1042aa01
Commit
1042aa01
authored
Sep 06, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Sep 06, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add stubs for FlushTrace[AW].
parent
dbb33085
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
2 deletions
+27
-2
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-2
eventlog.c
dlls/advapi32/eventlog.c
+17
-0
evntrace.h
include/evntrace.h
+8
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
1042aa01
...
@@ -220,8 +220,8 @@
...
@@ -220,8 +220,8 @@
@ stdcall FileEncryptionStatusA(str ptr)
@ stdcall FileEncryptionStatusA(str ptr)
@ stdcall FileEncryptionStatusW(wstr ptr)
@ stdcall FileEncryptionStatusW(wstr ptr)
@ stdcall FindFirstFreeAce(ptr ptr)
@ stdcall FindFirstFreeAce(ptr ptr)
# @ stub FlushTraceA
@ stdcall FlushTraceA(int64 str ptr)
# @ stub FlushTraceW
@ stdcall FlushTraceW(int64 wstr ptr)
# @ stub FreeEncryptedFileKeyInfo
# @ stub FreeEncryptedFileKeyInfo
# @ stub FreeEncryptionCertificateHashList
# @ stub FreeEncryptionCertificateHashList
# @ stub FreeInheritedFromArray
# @ stub FreeInheritedFromArray
...
...
dlls/advapi32/eventlog.c
View file @
1042aa01
...
@@ -199,6 +199,23 @@ ULONG WINAPI ControlTraceA( TRACEHANDLE hSession, LPCSTR SessionName, PEVENT_TRA
...
@@ -199,6 +199,23 @@ ULONG WINAPI ControlTraceA( TRACEHANDLE hSession, LPCSTR SessionName, PEVENT_TRA
}
}
/******************************************************************************
/******************************************************************************
* FlushTraceA [ADVAPI32.@]
*/
ULONG
WINAPI
FlushTraceA
(
TRACEHANDLE
hSession
,
LPCSTR
SessionName
,
PEVENT_TRACE_PROPERTIES
Properties
)
{
return
ControlTraceA
(
hSession
,
SessionName
,
Properties
,
EVENT_TRACE_CONTROL_FLUSH
);
}
/******************************************************************************
* FlushTraceW [ADVAPI32.@]
*/
ULONG
WINAPI
FlushTraceW
(
TRACEHANDLE
hSession
,
LPCWSTR
SessionName
,
PEVENT_TRACE_PROPERTIES
Properties
)
{
return
ControlTraceW
(
hSession
,
SessionName
,
Properties
,
EVENT_TRACE_CONTROL_FLUSH
);
}
/******************************************************************************
* DeregisterEventSource [ADVAPI32.@]
* DeregisterEventSource [ADVAPI32.@]
*
*
* Closes a write handle to an event log
* Closes a write handle to an event log
...
...
include/evntrace.h
View file @
1042aa01
...
@@ -25,6 +25,11 @@
...
@@ -25,6 +25,11 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
#define EVENT_TRACE_CONTROL_QUERY 0
#define EVENT_TRACE_CONTROL_STOP 1
#define EVENT_TRACE_CONTROL_UPDATE 2
#define EVENT_TRACE_CONTROL_FLUSH 3
typedef
ULONG64
TRACEHANDLE
,
*
PTRACEHANDLE
;
typedef
ULONG64
TRACEHANDLE
,
*
PTRACEHANDLE
;
struct
_EVENT_TRACE_LOGFILEA
;
struct
_EVENT_TRACE_LOGFILEA
;
...
@@ -202,6 +207,9 @@ ULONG WINAPI ControlTraceA(TRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES,ULONG);
...
@@ -202,6 +207,9 @@ ULONG WINAPI ControlTraceA(TRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES,ULONG);
ULONG
WINAPI
ControlTraceW
(
TRACEHANDLE
,
LPCWSTR
,
PEVENT_TRACE_PROPERTIES
,
ULONG
);
ULONG
WINAPI
ControlTraceW
(
TRACEHANDLE
,
LPCWSTR
,
PEVENT_TRACE_PROPERTIES
,
ULONG
);
#define ControlTrace WINELIB_NAME_AW(ControlTrace)
#define ControlTrace WINELIB_NAME_AW(ControlTrace)
ULONG
WINAPI
EnableTrace
(
ULONG
,
ULONG
,
ULONG
,
LPCGUID
,
TRACEHANDLE
);
ULONG
WINAPI
EnableTrace
(
ULONG
,
ULONG
,
ULONG
,
LPCGUID
,
TRACEHANDLE
);
ULONG
WINAPI
FlushTraceA
(
TRACEHANDLE
,
LPCSTR
,
PEVENT_TRACE_PROPERTIES
);
ULONG
WINAPI
FlushTraceW
(
TRACEHANDLE
,
LPCWSTR
,
PEVENT_TRACE_PROPERTIES
);
#define FlushTrace WINELIB_NAME_AW(FlushTrace)
ULONG
WINAPI
QueryAllTracesA
(
PEVENT_TRACE_PROPERTIES
*
,
ULONG
,
PULONG
);
ULONG
WINAPI
QueryAllTracesA
(
PEVENT_TRACE_PROPERTIES
*
,
ULONG
,
PULONG
);
ULONG
WINAPI
QueryAllTracesW
(
PEVENT_TRACE_PROPERTIES
*
,
ULONG
,
PULONG
);
ULONG
WINAPI
QueryAllTracesW
(
PEVENT_TRACE_PROPERTIES
*
,
ULONG
,
PULONG
);
#define QueryAllTraces WINELIB_NAME_AW(QueryAllTraces)
#define QueryAllTraces WINELIB_NAME_AW(QueryAllTraces)
...
...
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