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
5726ba64
Commit
5726ba64
authored
Oct 26, 2010
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add a stub for EventEnabled.
parent
6f0c968a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
0 deletions
+29
-0
advapi32.spec
dlls/advapi32/advapi32.spec
+1
-0
eventlog.c
dlls/advapi32/eventlog.c
+10
-0
evntprov.h
include/evntprov.h
+18
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
5726ba64
...
...
@@ -217,6 +217,7 @@
# @ stub EqualDomainSid
@ stdcall EqualPrefixSid(ptr ptr)
@ stdcall EqualSid(ptr ptr)
@ stdcall EventEnabled(int64 ptr)
@ stdcall EventRegister(ptr ptr ptr ptr)
@ stdcall FileEncryptionStatusA(str ptr)
@ stdcall FileEncryptionStatusW(wstr ptr)
...
...
dlls/advapi32/eventlog.c
View file @
5726ba64
...
...
@@ -819,6 +819,16 @@ ULONG WINAPI EventRegister( LPCGUID provider, PENABLECALLBACK callback, PVOID co
}
/******************************************************************************
* EventEnabled [ADVAPI32.@]
*
*/
BOOLEAN
WINAPI
EventEnabled
(
REGHANDLE
handle
,
PCEVENT_DESCRIPTOR
descriptor
)
{
FIXME
(
"(%s, %p): stub
\n
"
,
wine_dbgstr_longlong
(
handle
),
descriptor
);
return
FALSE
;
}
/******************************************************************************
* QueryTraceW [ADVAPI32.@]
*/
ULONG
WINAPI
QueryTraceW
(
TRACEHANDLE
handle
,
LPCWSTR
sessionname
,
PEVENT_TRACE_PROPERTIES
properties
)
...
...
include/evntprov.h
View file @
5726ba64
...
...
@@ -23,8 +23,25 @@
extern
"C"
{
#endif
#define EVENT_LEVEL_MIN 0x00
#define EVENT_LEVEL_MAX 0xff
typedef
ULONGLONG
REGHANDLE
,
*
PREGHANDLE
;
typedef
struct
_EVENT_DESCRIPTOR
{
USHORT
Id
;
UCHAR
Version
;
UCHAR
Channel
;
UCHAR
Level
;
UCHAR
Opcode
;
USHORT
Task
;
ULONGLONG
Keyword
;
}
EVENT_DESCRIPTOR
;
typedef
EVENT_DESCRIPTOR
*
PEVENT_DESCRIPTOR
;
typedef
const
EVENT_DESCRIPTOR
*
PCEVENT_DESCRIPTOR
;
typedef
struct
_EVENT_FILTER_DESCRIPTOR
{
ULONGLONG
Ptr
;
...
...
@@ -35,6 +52,7 @@ typedef struct _EVENT_FILTER_DESCRIPTOR
typedef
VOID
(
NTAPI
*
PENABLECALLBACK
)(
LPCGUID
,
ULONG
,
UCHAR
,
ULONGLONG
,
ULONGLONG
,
PEVENT_FILTER_DESCRIPTOR
,
PVOID
);
BOOLEAN
WINAPI
EventEnabled
(
REGHANDLE
,
PCEVENT_DESCRIPTOR
);
ULONG
WINAPI
EventRegister
(
LPCGUID
,
PENABLECALLBACK
,
PVOID
,
PREGHANDLE
);
ULONG
WINAPI
EventUnregister
(
REGHANDLE
);
...
...
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