HyperDbg Debugger
Loading...
Searching...
No Matches
platform-ioctl.h
Go to the documentation of this file.
1
19#pragma once
20
21#if defined(__linux__)
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//
32BOOL
34 DWORD IoControlCode,
35 LPVOID InBuffer,
36 DWORD InBufferSize,
37 LPVOID OutBuffer,
38 DWORD OutBufferSize,
39 LPDWORD BytesReturned,
40 LPVOID Overlapped);
int BOOL
Definition BasicTypes.h:25
unsigned long DWORD
Definition BasicTypes.h:38
BOOL PlatformDeviceIoControl(HANDLE Device, DWORD IoControlCode, LPVOID InBuffer, DWORD InBufferSize, LPVOID OutBuffer, DWORD OutBufferSize, LPDWORD BytesReturned, LPVOID Overlapped)
Definition pci-id.h:26