Go to the source code of this file.
◆ CheckEventObject
Value:do \
{ \
&ObjectInfo,
sizeof ObjectInfo,
NULL); \
"Handle %p is not a kernel handle\n",
Handle); \
} while (0)
#define KERNEL_HANDLE_FLAG
Definition at line 16 of file IoEvent.c.
◆ KERNEL_HANDLE_FLAG
#define KERNEL_HANDLE_FLAG 0x80000000 |
◆ START_TEST()
Definition at line 88 of file IoEvent.c.
89{
94
97
98
103 {
106 ok(Event2 !=
NULL,
"Event is NULL\n");
107 ok(EventHandle2 !=
NULL,
"EventHandle is NULL\n");
108 if (!
skip(EventHandle2 !=
NULL,
"No event\n"))
109 {
112 }
114 }
115
116}
static VOID TestCreateEvent(PRKEVENT(NTAPI *CreateEvent)(PUNICODE_STRING, PHANDLE), PUNICODE_STRING EventName, EVENT_TYPE Type)
#define ok_eq_uint(value, expected)
NTSYSAPI NTSTATUS NTAPI ZwClose(_In_ HANDLE Handle)
PKEVENT NTAPI IoCreateSynchronizationEvent(IN PUNICODE_STRING EventName, IN PHANDLE EventHandle)
PKEVENT NTAPI IoCreateNotificationEvent(IN PUNICODE_STRING EventName, IN PHANDLE EventHandle)
#define RTL_CONSTANT_STRING(s)
_Out_ PHANDLE EventHandle
◆ TestCreateEvent()
Definition at line 32 of file IoEvent.c.
36{
41
42
48 {
55 }
57
58
64 {
69
70
74 ok(Event2 !=
NULL,
"Event is NULL\n");
75 ok(EventHandle2 !=
NULL,
"EventHandle is NULL\n");
76 if (!
skip(EventHandle2 !=
NULL,
"No event\n"))
77 {
80 }
81
85 }
86}
#define CheckEventObject(Handle, Pointers, Handles)
#define ok_eq_hex(value, expected)
#define ok_eq_long(value, expected)
LONG NTAPI KeReadStateEvent(IN PKEVENT Event)
#define KmtEndSeh(ExpectedStatus)
Referenced by START_TEST().