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
ea6ecf44
Commit
ea6ecf44
authored
May 11, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
May 11, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a stub implementation of RegisterTraceGuids.
parent
bd07966c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
2 deletions
+28
-2
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-0
eventlog.c
dlls/advapi32/eventlog.c
+24
-0
evntrace.h
include/evntrace.h
+2
-2
No files found.
dlls/advapi32/advapi32.spec
View file @
ea6ecf44
...
...
@@ -271,6 +271,8 @@
@ stdcall RegisterEventSourceW(ptr ptr)
@ stdcall RegisterServiceCtrlHandlerA (ptr ptr)
@ stdcall RegisterServiceCtrlHandlerW (ptr ptr)
@ stdcall RegisterTraceGuidsA(ptr ptr ptr long ptr str str ptr)
@ stdcall RegisterTraceGuidsW(ptr ptr ptr long ptr wstr wstr ptr)
@ stdcall ReportEventA (long long long long ptr long long str ptr)
@ stdcall ReportEventW (long long long long ptr long long wstr ptr)
@ stdcall RevertToSelf()
...
...
dlls/advapi32/eventlog.c
View file @
ea6ecf44
...
...
@@ -27,6 +27,8 @@
#include "winerror.h"
#include "winreg.h"
#include "winternl.h"
#include "wmistr.h"
#include "evntrace.h"
#include "wine/debug.h"
...
...
@@ -436,3 +438,25 @@ BOOL WINAPI ReportEventW( HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dw
}
return
TRUE
;
}
ULONG
WINAPI
RegisterTraceGuidsW
(
WMIDPREQUEST
RequestAddress
,
PVOID
RequestContext
,
LPCGUID
ControlGuid
,
ULONG
GuidCount
,
PTRACE_GUID_REGISTRATION
TraceGuidReg
,
LPCWSTR
MofImagePath
,
LPCWSTR
MofResourceName
,
PTRACEHANDLE
RegistrationHandle
)
{
FIXME
(
"%p %p %p %lu %p %s %s %p
\n
"
,
RequestAddress
,
RequestContext
,
ControlGuid
,
GuidCount
,
TraceGuidReg
,
debugstr_w
(
MofImagePath
),
debugstr_w
(
MofResourceName
),
RegistrationHandle
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
ULONG
WINAPI
RegisterTraceGuidsA
(
WMIDPREQUEST
RequestAddress
,
PVOID
RequestContext
,
LPCGUID
ControlGuid
,
ULONG
GuidCount
,
PTRACE_GUID_REGISTRATION
TraceGuidReg
,
LPCSTR
MofImagePath
,
LPCSTR
MofResourceName
,
PTRACEHANDLE
RegistrationHandle
)
{
FIXME
(
"%p %p %p %lu %p %s %s %p
\n
"
,
RequestAddress
,
RequestContext
,
ControlGuid
,
GuidCount
,
TraceGuidReg
,
debugstr_a
(
MofImagePath
),
debugstr_a
(
MofResourceName
),
RegistrationHandle
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
include/evntrace.h
View file @
ea6ecf44
...
...
@@ -46,11 +46,11 @@ typedef struct _EVENT_TRACE_HEADER
union
{
USHORT
FieldTypeFlags
;
struct
struct
{
UCHAR
HeaderType
;
UCHAR
MarkerFlags
;
};
}
DUMMYSTRUCTNAME
;
}
DUMMYUNIONNAME
;
union
{
...
...
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