SRB_CLOSE_DEVICE_INSTANCE

The class driver sends this request to close a previously opened instance of the adapter.

Return Value

The minidriver should set one of the following as the status in the SRB:

STATUS_SUCCESS
Indicates successful completion of the command.

STATUS_NOT_IMPLEMENTED
Indicates that the function is not supported by the minidriver.

STATUS_IO_DEVICE_ERROR
Indicates that a hardware failure occurred.

Comments

Most adapters do not support multiple instances, so in those cases the FilterInstanceExtensionSize field in the HW_INITIALIZATION_DATA structure should be set to zero and should never receive this command.