![]() |
| Home |
|
|
Function IoControlDriver function IoControl is called by RTFDeviceIoControl and RTFRawDeviceIoControl:
int RTFAPI IoControl(void * DriverData,
UINT ControlCode,
void * Buffer,
UINT Length);
ParametersDriveDataPointer to the DeviceData found in the device list for the device. ControlCodeFunction code specifying what function is to be performed. BufferPointer to a buffer passed by the application. LengthLength of the buffer pointed to by parameter Buffer. return valueIf the function succeeds, it returns RTF_NO_ERROR or a ControlCode specfic positive value. If it fails, the return value is a negative error code.
|