HyperDbg Debugger
Toggle main menu visibility
Loading...
Searching...
No Matches
PlatformEvent.h
Go to the documentation of this file.
1
12
#pragma once
13
14
#if defined(__linux__)
15
# include "
../../../../include/SDK/HyperDbgSdk.h
"
16
#endif
// defined(__linux__)
17
19
// Functions //
21
22
VOID
23
PlatformObjectDereference
(
PVOID
Object);
24
25
#if defined(_WIN32) || defined(_WIN64)
26
27
LONG
28
PlatformEventSet
(PKEVENT Event, KPRIORITY Increment,
BOOLEAN
Wait);
29
30
NTSTATUS
31
PlatformObjectReferenceByHandle
(HANDLE Handle,
32
ACCESS_MASK
DesiredAccess
,
33
POBJECT_TYPE ObjectType,
34
KPROCESSOR_MODE AccessMode,
35
PVOID
* Object,
36
POBJECT_HANDLE_INFORMATION HandleInformation);
37
38
#endif
// defined(_WIN32) || defined(_WIN64)
PlatformObjectReferenceByHandle
NTSTATUS PlatformObjectReferenceByHandle(HANDLE Handle, ACCESS_MASK DesiredAccess, POBJECT_TYPE ObjectType, KPROCESSOR_MODE AccessMode, PVOID *Object, POBJECT_HANDLE_INFORMATION HandleInformation)
Obtain a pointer to a kernel object by its user-mode handle and increment its reference count.
Definition
PlatformEvent.c:80
PlatformEventSet
LONG PlatformEventSet(PKEVENT Event, KPRIORITY Increment, BOOLEAN Wait)
Signal (set) a kernel event object.
Definition
PlatformEvent.c:51
PlatformObjectDereference
VOID PlatformObjectDereference(PVOID Object)
Dereference a kernel object, decrementing its reference count.
Definition
PlatformEvent.c:25
DesiredAccess
PHANDLE ACCESS_MASK DesiredAccess
Definition
SyscallFootprints.h:134
BOOLEAN
UCHAR BOOLEAN
Definition
BasicTypes.h:35
LONG
long LONG
Definition
BasicTypes.h:28
PVOID
void * PVOID
Definition
BasicTypes.h:56
HyperDbgSdk.h
hyperdbg
include
platform
kernel
header
PlatformEvent.h
Generated by
1.17.0