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
593bd1a5
Commit
593bd1a5
authored
May 08, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
May 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add stub implementations of EventUnregister and EventWrite.
parent
cb436f71
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
+29
-2
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-2
eventlog.c
dlls/advapi32/eventlog.c
+19
-0
evntprov.h
include/evntprov.h
+8
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
593bd1a5
...
...
@@ -273,8 +273,8 @@
@ stdcall EventEnabled(int64 ptr)
# @ stub EventProviderEnabled
@ stdcall EventRegister(ptr ptr ptr ptr)
# @ stub EventUnregister
# @ stub EventWrite
@ stdcall EventUnregister(int64)
@ stdcall EventWrite(int64 ptr long ptr)
# @ stub EventWriteEndScenario
# @ stub EventWriteEx
# @ stub EventWriteStartScenario
...
...
dlls/advapi32/eventlog.c
View file @
593bd1a5
...
...
@@ -840,6 +840,15 @@ ULONG WINAPI EventRegister( LPCGUID provider, PENABLECALLBACK callback, PVOID co
}
/******************************************************************************
* EventUnregister [ADVAPI32.@]
*/
ULONG
WINAPI
EventUnregister
(
REGHANDLE
handle
)
{
FIXME
(
"%s: stub
\n
"
,
wine_dbgstr_longlong
(
handle
));
return
ERROR_SUCCESS
;
}
/******************************************************************************
* EventEnabled [ADVAPI32.@]
*
*/
...
...
@@ -850,6 +859,16 @@ BOOLEAN WINAPI EventEnabled( REGHANDLE handle, PCEVENT_DESCRIPTOR descriptor )
}
/******************************************************************************
* EventWrite [ADVAPI32.@]
*/
ULONG
WINAPI
EventWrite
(
REGHANDLE
handle
,
PCEVENT_DESCRIPTOR
descriptor
,
ULONG
count
,
PEVENT_DATA_DESCRIPTOR
data
)
{
FIXME
(
"%s, %p, %u, %p: stub
\n
"
,
wine_dbgstr_longlong
(
handle
),
descriptor
,
count
,
data
);
return
ERROR_SUCCESS
;
}
/******************************************************************************
* QueryTraceW [ADVAPI32.@]
*/
ULONG
WINAPI
QueryTraceW
(
TRACEHANDLE
handle
,
LPCWSTR
sessionname
,
PEVENT_TRACE_PROPERTIES
properties
)
...
...
include/evntprov.h
View file @
593bd1a5
...
...
@@ -28,6 +28,13 @@ extern "C" {
typedef
ULONGLONG
REGHANDLE
,
*
PREGHANDLE
;
typedef
struct
_EVENT_DATA_DESCRIPTOR
{
ULONGLONG
Ptr
;
ULONG
Size
;
ULONG
Reserved
;
}
EVENT_DATA_DESCRIPTOR
,
*
PEVENT_DATA_DESCRIPTOR
;
typedef
struct
_EVENT_DESCRIPTOR
{
USHORT
Id
;
...
...
@@ -55,6 +62,7 @@ typedef VOID (NTAPI *PENABLECALLBACK)(LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,PE
BOOLEAN
WINAPI
EventEnabled
(
REGHANDLE
,
PCEVENT_DESCRIPTOR
);
ULONG
WINAPI
EventRegister
(
LPCGUID
,
PENABLECALLBACK
,
PVOID
,
PREGHANDLE
);
ULONG
WINAPI
EventUnregister
(
REGHANDLE
);
ULONG
WINAPI
EventWrite
(
REGHANDLE
,
PCEVENT_DESCRIPTOR
,
ULONG
,
PEVENT_DATA_DESCRIPTOR
);
#ifdef __cplusplus
}
...
...
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