typedef struct _STATUS_BLOCK { VP_STATUS Status; ULONG Information; } STATUS_BLOCK, *PSTATUS_BLOCK;
STATUS_BLOCK is a substructure within the VIDEO_REQUEST_PACKET structure. A miniport driver’s HwVidStartIO function must set the status block of each VRP that it gets.
Code |
Description |
NO_ERROR | |
The requested operation has been carried out and completed successfully. | |
ERROR_INVALID_FUNCTION | |
The miniport driver does not handle this request. | |
ERROR_NOT_ENOUGH_MEMORY | |
There is insufficient memory to process the request. | |
ERROR_INVALID_PARAMETER | |
A parameter in the VRP is invalid. | |
ERROR_INSUFFICIENT_BUFFER | |
Either the VRP InputBuffer is too small to provide the data required to process the given request or the OutputBuffer is too small to return the requested data. | |
ERROR_IO_PENDING | |
An operation has not yet completed. | |
ERROR_MORE_DATA | |
The driver has additional data to be returned but has already filled the given VRP OutputBuffer. |