This method accesses mini-driver implementation-specific functionality.
HRESULT IVIO_MiniDriver::IOControl( DWORD dwCommandId, const PVOID pCommandData, DWORD cb, PVOID pReply, DWORD dwOutputSize, DWORD *pReplySize );
One of the values described in the following table is returned.
Value |
Description |
S_OK | The function was executed successfully. Reply data from the device driver is stored in the pReply buffer. |
E_POINTER | Either the pCommandData, the pReply, or the pReplySize pointer is invalid. |
E_INVALID | The value in dwCommandId is invalid for the device driver or the value given in dwOutputSize is too small for the amount of data in the reply. The correct size is stored in the value referenced by pReplySize. |
E_UNEXPECTED | An unexpected error occurred in the request to the device driver. |