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
bacc6882
Commit
bacc6882
authored
Oct 04, 2016
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add a stub implementation of EnableTraceEx2.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f94784dd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
2 deletions
+29
-2
advapi32.spec
dlls/advapi32/advapi32.spec
+1
-1
eventlog.c
dlls/advapi32/eventlog.c
+14
-0
api-ms-win-eventing-controller-l1-1-0.spec
...troller-l1-1-0/api-ms-win-eventing-controller-l1-1-0.spec
+1
-1
evntrace.h
include/evntrace.h
+13
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
bacc6882
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
@ stub ElfReportEventW
@ stub ElfReportEventW
@ stdcall EnableTrace(long long long ptr int64)
@ stdcall EnableTrace(long long long ptr int64)
@ stdcall EnableTraceEx(ptr ptr int64 long long int64 int64 long ptr)
@ stdcall EnableTraceEx(ptr ptr int64 long long int64 int64 long ptr)
# @ stub EnableTraceEx2
@ stdcall EnableTraceEx2(int64 ptr long long int64 int64 long ptr)
@ stdcall EncryptFileA(str)
@ stdcall EncryptFileA(str)
@ stdcall EncryptFileW(wstr)
@ stdcall EncryptFileW(wstr)
# @ stub EncryptedFileKeyInfo
# @ stub EncryptedFileKeyInfo
...
...
dlls/advapi32/eventlog.c
View file @
bacc6882
...
@@ -239,6 +239,20 @@ ULONG WINAPI EnableTraceEx( LPCGUID provider, LPCGUID source, TRACEHANDLE hSessi
...
@@ -239,6 +239,20 @@ ULONG WINAPI EnableTraceEx( LPCGUID provider, LPCGUID source, TRACEHANDLE hSessi
}
}
/******************************************************************************
/******************************************************************************
* EnableTraceEx2 [ADVAPI32.@]
*/
ULONG
WINAPI
EnableTraceEx2
(
TRACEHANDLE
handle
,
LPCGUID
provider
,
ULONG
control
,
UCHAR
level
,
ULONGLONG
match_any
,
ULONGLONG
match_all
,
ULONG
timeout
,
PENABLE_TRACE_PARAMETERS
params
)
{
FIXME
(
"(%s, %s, %u, %c, %s, %s, %u, %p): stub
\n
"
,
wine_dbgstr_longlong
(
handle
),
debugstr_guid
(
provider
),
control
,
level
,
wine_dbgstr_longlong
(
match_any
),
wine_dbgstr_longlong
(
match_all
),
timeout
,
params
);
return
ERROR_SUCCESS
;
}
/******************************************************************************
* EnableTrace [ADVAPI32.@]
* EnableTrace [ADVAPI32.@]
*/
*/
ULONG
WINAPI
EnableTrace
(
ULONG
enable
,
ULONG
flag
,
ULONG
level
,
LPCGUID
guid
,
TRACEHANDLE
hSession
)
ULONG
WINAPI
EnableTrace
(
ULONG
enable
,
ULONG
flag
,
ULONG
level
,
LPCGUID
guid
,
TRACEHANDLE
hSession
)
...
...
dlls/api-ms-win-eventing-controller-l1-1-0/api-ms-win-eventing-controller-l1-1-0.spec
View file @
bacc6882
@ stdcall ControlTraceW(int64 wstr ptr long) advapi32.ControlTraceW
@ stdcall ControlTraceW(int64 wstr ptr long) advapi32.ControlTraceW
@ st
ub
EnableTraceEx2
@ st
dcall EnableTraceEx2(int64 ptr long long int64 int64 long ptr) advapi32.
EnableTraceEx2
@ stub EnumerateTraceGuidsEx
@ stub EnumerateTraceGuidsEx
@ stub EventAccessControl
@ stub EventAccessControl
@ stub EventAccessQuery
@ stub EventAccessQuery
...
...
include/evntrace.h
View file @
bacc6882
...
@@ -248,6 +248,18 @@ typedef struct _EVENT_TRACE_PROPERTIES
...
@@ -248,6 +248,18 @@ typedef struct _EVENT_TRACE_PROPERTIES
ULONG
LoggerNameOffset
;
ULONG
LoggerNameOffset
;
}
EVENT_TRACE_PROPERTIES
,
*
PEVENT_TRACE_PROPERTIES
;
}
EVENT_TRACE_PROPERTIES
,
*
PEVENT_TRACE_PROPERTIES
;
typedef
struct
_EVENT_FILTER_DESCRIPTOR
EVENT_FILTER_DESCRIPTOR
,
*
PEVENT_FILTER_DESCRIPTOR
;
typedef
struct
_ENABLE_TRACE_PARAMETERS
{
ULONG
Version
;
ULONG
EnableProperty
;
ULONG
ControlFlags
;
GUID
SourceId
;
PEVENT_FILTER_DESCRIPTOR
EnableFilterDesc
;
ULONG
FilterDescCount
;
}
ENABLE_TRACE_PARAMETERS
,
*
PENABLE_TRACE_PARAMETERS
;
#define INVALID_PROCESSTRACE_HANDLE ((TRACEHANDLE)~(ULONG_PTR)0)
#define INVALID_PROCESSTRACE_HANDLE ((TRACEHANDLE)~(ULONG_PTR)0)
ULONG
WINAPI
CloseTrace
(
TRACEHANDLE
);
ULONG
WINAPI
CloseTrace
(
TRACEHANDLE
);
...
@@ -255,6 +267,7 @@ ULONG WINAPI ControlTraceA(TRACEHANDLE,LPCSTR,PEVENT_TRACE_PROPERTIES,ULONG);
...
@@ -255,6 +267,7 @@ 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
EnableTraceEx2
(
TRACEHANDLE
,
LPCGUID
,
ULONG
,
UCHAR
,
ULONGLONG
,
ULONGLONG
,
ULONG
,
PENABLE_TRACE_PARAMETERS
);
ULONG
WINAPI
FlushTraceA
(
TRACEHANDLE
,
LPCSTR
,
PEVENT_TRACE_PROPERTIES
);
ULONG
WINAPI
FlushTraceA
(
TRACEHANDLE
,
LPCSTR
,
PEVENT_TRACE_PROPERTIES
);
ULONG
WINAPI
FlushTraceW
(
TRACEHANDLE
,
LPCWSTR
,
PEVENT_TRACE_PROPERTIES
);
ULONG
WINAPI
FlushTraceW
(
TRACEHANDLE
,
LPCWSTR
,
PEVENT_TRACE_PROPERTIES
);
#define FlushTrace WINELIB_NAME_AW(FlushTrace)
#define FlushTrace WINELIB_NAME_AW(FlushTrace)
...
...
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