NAME
DeviceIoControl - DeviceIoControl (KERNEL32.188)
SYNOPSIS
BOOL32 DeviceIoControl
(
HANDLE32 hDevice,
DWORD dwIoControlCode,
LPVOID lpvInBuffer,
DWORD cbInBuffer,
LPVOID lpvOutBuffer,
DWORD cbOutBuffer,
LPDWORD lpcbBytesReturned,
LPOVERLAPPED lpOverlapped
);
DESCRIPTION
This is one of those big ugly nasty procedure which can do a million and one things when it comes to devices. It can also be used for VxD communication.
A return value of FALSE indicates that something has gone wrong which GetLastError can decypher.