Monday, March 29, 2010

DeviceIoControl





DeviceIoControl Function: Sends a control code directly to a specified device driver, causing the corresponding device to perform the corresponding operation.

BOOL WINAPI DeviceIoControl(

__in HANDLE hDevice,

__in DWORD dwIoControlCode,

__in_opt LPVOID lpInBuffer,

__in DWORD nInBufferSize,

__out_opt LPVOID lpOutBuffer,

__in DWORD nOutBufferSize,

__out_opt LPDWORD lpBytesReturned,

__inout_opt LPOVERLAPPED lpOverlapped

);

Ref: http://msdn.microsoft.com/en-us/library/aa363216%28VS.85%29.aspx
 
Tags: DeviceIoControl, device driver, device
 
 
 

No comments:

Post a Comment

Labels