Using Device Input and Output Control
Calling
DeviceIoControl
on Windows NT
Calling
DeviceIoControl
on Windows 95