HyperDbg Debugger
Toggle main menu visibility
Loading...
Searching...
No Matches
platform-ioctl.h
Go to the documentation of this file.
1
19
#pragma once
20
21
#if defined(__linux__)
22
# include "
../../../../include/SDK/HyperDbgSdk.h
"
23
#endif
// defined(__linux__)
24
25
//
26
// SEND an I/O control code to the local kernel driver. Mirrors the Win32
27
// DeviceIoControl signature so the call sites stay verbatim apart from the name.
28
// The Overlapped parameter is kept as a void * so the shared signature does not
29
// leak OVERLAPPED into the protocol code; synchronous callers pass NULL.
30
// Returns TRUE on success; on failure use PlatformGetLastError for the reason.
31
//
32
BOOL
33
PlatformDeviceIoControl
(HANDLE
Device
,
34
DWORD
IoControlCode,
35
LPVOID InBuffer,
36
DWORD
InBufferSize,
37
LPVOID OutBuffer,
38
DWORD
OutBufferSize,
39
LPDWORD BytesReturned,
40
LPVOID Overlapped);
BOOL
int BOOL
Definition
BasicTypes.h:25
DWORD
unsigned long DWORD
Definition
BasicTypes.h:38
HyperDbgSdk.h
PlatformDeviceIoControl
BOOL PlatformDeviceIoControl(HANDLE Device, DWORD IoControlCode, LPVOID InBuffer, DWORD InBufferSize, LPVOID OutBuffer, DWORD OutBufferSize, LPDWORD BytesReturned, LPVOID Overlapped)
Device
Definition
pci-id.h:26
hyperdbg
include
platform
user
header
platform-ioctl.h
Generated by
1.17.0