Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
900366fd
Commit
900366fd
authored
Oct 27, 2016
by
Michael Müller
Committed by
Alexandre Julliard
Nov 02, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Move EventRegister/Unregister from advapi32 to ntdll.
Signed-off-by:
Andrey Gusev
<
andrey.goosev@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4814aad7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
22 deletions
+26
-22
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-2
eventlog.c
dlls/advapi32/eventlog.c
+0
-20
misc.c
dlls/ntdll/misc.c
+22
-0
ntdll.spec
dlls/ntdll/ntdll.spec
+2
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
900366fd
...
...
@@ -272,9 +272,9 @@
@ stdcall EventActivityIdControl(long ptr)
@ stdcall EventEnabled(int64 ptr)
@ stdcall EventProviderEnabled(int64 long int64)
@ stdcall EventRegister(ptr ptr ptr ptr)
@ stdcall EventRegister(ptr ptr ptr ptr)
ntdll.EtwEventRegister
@ stdcall EventSetInformation(int64 long ptr long)
@ stdcall EventUnregister(int64)
@ stdcall EventUnregister(int64)
ntdll.EtwEventUnregister
@ stdcall EventWrite(int64 ptr long ptr)
# @ stub EventWriteEndScenario
# @ stub EventWriteEx
...
...
dlls/advapi32/eventlog.c
View file @
900366fd
...
...
@@ -829,26 +829,6 @@ ULONG WINAPI UnregisterTraceGuids( TRACEHANDLE RegistrationHandle )
}
/******************************************************************************
* EventRegister [ADVAPI32.@]
*/
ULONG
WINAPI
EventRegister
(
LPCGUID
provider
,
PENABLECALLBACK
callback
,
PVOID
context
,
PREGHANDLE
handle
)
{
FIXME
(
"%s, %p, %p, %p
\n
"
,
debugstr_guid
(
provider
),
callback
,
context
,
handle
);
*
handle
=
0xdeadbeef
;
return
ERROR_SUCCESS
;
}
/******************************************************************************
* EventUnregister [ADVAPI32.@]
*/
ULONG
WINAPI
EventUnregister
(
REGHANDLE
handle
)
{
FIXME
(
"%s: stub
\n
"
,
wine_dbgstr_longlong
(
handle
));
return
ERROR_SUCCESS
;
}
/******************************************************************************
* EventEnabled [ADVAPI32.@]
*
*/
...
...
dlls/ntdll/misc.c
View file @
900366fd
...
...
@@ -34,6 +34,7 @@
#include "ntdll_misc.h"
#include "wmistr.h"
#include "evntrace.h"
#include "evntprov.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
ntdll
);
...
...
@@ -359,6 +360,27 @@ HANDLE WINAPI WinSqmStartSession(GUID *sessionguid, DWORD sessionid, DWORD unkno
}
/******************************************************************************
* EtwEventRegister (NTDLL.@)
*/
ULONG
WINAPI
EtwEventRegister
(
LPCGUID
provider
,
PENABLECALLBACK
callback
,
PVOID
context
,
PREGHANDLE
handle
)
{
FIXME
(
"(%s, %p, %p, %p) stub.
\n
"
,
debugstr_guid
(
provider
),
callback
,
context
,
handle
);
*
handle
=
0xdeadbeef
;
return
ERROR_SUCCESS
;
}
/******************************************************************************
* EtwEventUnregister (NTDLL.@)
*/
ULONG
WINAPI
EtwEventUnregister
(
REGHANDLE
handle
)
{
FIXME
(
"(%s) stub.
\n
"
,
wine_dbgstr_longlong
(
handle
));
return
ERROR_SUCCESS
;
}
/******************************************************************************
* EtwRegisterTraceGuidsW (NTDLL.@)
*
* Register an event trace provider and the event trace classes that it uses
...
...
dlls/ntdll/ntdll.spec
View file @
900366fd
...
...
@@ -41,6 +41,8 @@
# @ stub DbgUiStopDebugging
@ stub DbgUiWaitStateChange
@ stdcall DbgUserBreakPoint()
@ stdcall EtwEventRegister(ptr ptr ptr ptr)
@ stdcall EtwEventUnregister(int64)
@ stdcall EtwRegisterTraceGuidsA(ptr ptr ptr long ptr str str ptr)
@ stdcall EtwRegisterTraceGuidsW(ptr ptr ptr long ptr wstr wstr ptr)
# @ stub KiFastSystemCall
...
...
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