// strmini.h
typedef enum _SRB_COMMAND {
SRB_READ_DATA,
SRB_WRITE_DATA,
SRB_GET_STREAM_STATE,
SRB_SET_STREAM_STATE,
SRB_SET_STREAM_PROPERTY,
SRB_GET_STREAM_PROPERTY,
SRB_OPEN_MASTER_CLOCK,
SRB_INDICATE_MASTER_CLOCK,
SRB_UNKNOWN_STREAM_COMMAND,
SRB_SET_STREAM_RATE,
SRB_PROPOSE_DATA_FORMAT,
SRB_CLOSE_MASTER_CLOCK,
SRB_PROPOSE_STREAM_RATE,
SRB_SET_DATA_FORMAT,
SRB_GET_DATA_FORMAT,
SRB_BEGIN_FLUSH,
SRB_END_FLUSH,
SRB_GET_STREAM_INFO,
SRB_OPEN_STREAM,
SRB_CLOSE_STREAM,
SRB_OPEN_DEVICE_INSTANCE,
SRB_CLOSE_DEVICE_INSTANCE,
SRB_GET_DEVICE_PROPERTY,
SRB_SET_DEVICE_PROPERTY,
SRB_INITIALIZE_DEVICE,
SRB_CHANGE_POWER_STATE,
SRB_UNINITIALIZE_DEVICE,
SRB_UNKNOWN_DEVICE_COMMAND,
SRB_PAGING_OUT_DRIVER,
SRB_GET_DATA_INTERSECTION,
SRB_INITIALIZATION_COMPLETE,
SRB_SURPRISE_REMOVAL,
SRB_DEVICE_METHOD,
SRB_STREAM_METHOD,
SRB_NOTIFY_IDLE_STATE
} SRB_COMMAND;
View the official Windows Driver Kit DDI referenceNo description available.
SRB_READ_DATAStream-specific code that specifies to read data from hardware.
SRB_WRITE_DATAStream-specific code that specifies to write data to the hardware.
SRB_GET_STREAM_STATEStream-specific code that specifies to get the state of the stream.
SRB_SET_STREAM_STATEStream-specific code that specifies to set the state of the stream.
SRB_SET_STREAM_PROPERTYStream-specific code that specifies to set a property of the stream.
SRB_GET_STREAM_PROPERTYStream-specific code that specifies to get a property value for the stream.
SRB_OPEN_MASTER_CLOCKStream-specific code that indicates that the master clock is on this stream.
SRB_INDICATE_MASTER_CLOCKStream-specific code that specifies that the handle is supplied to the master clock.
SRB_UNKNOWN_STREAM_COMMANDStream-specific code that specifies that the IRP function is unknown to the class driver.
SRB_SET_STREAM_RATEStream-specific code that specifies that the rate is set at which the stream should run.
SRB_PROPOSE_DATA_FORMATStream-specific code that specifies that a new rate is proposed, it does not change the rate.
SRB_CLOSE_MASTER_CLOCKStream-specific code that indicates that the master clock is closed.
SRB_PROPOSE_STREAM_RATEStream-specific code that indicates a new rate is proposed, it does not change the rate.
SRB_SET_DATA_FORMATStream-specific code that sets a new data format.
SRB_GET_DATA_FORMATStream-specific code that returns the current data format.
SRB_BEGIN_FLUSHStream-specific code that begins the flush state.
SRB_END_FLUSHStream-specific code that ends the flush state.
SRB_GET_STREAM_INFODevice instance-specific code that gets the stream information structure.
SRB_OPEN_STREAMDevice instance-specific code that opens the specified stream.
SRB_CLOSE_STREAMDevice instance-specific code that closes the specific stream.
SRB_OPEN_DEVICE_INSTANCEDevice instance-specific code that opens an instance of the device.
SRB_CLOSE_DEVICE_INSTANCEDevice instance-specific code that closes an instance of the device.
SRB_GET_DEVICE_PROPERTYDevice instance-specific code that gets the property of the device.
SRB_SET_DEVICE_PROPERTYDevice instance-specific code that sets the property of the device.
SRB_INITIALIZE_DEVICEDevice instance-specific code that initializes the device.
SRB_CHANGE_POWER_STATEDevice instance-specific code that changes the power state.
SRB_UNINITIALIZE_DEVICEDevice instance-specific code that uninitializes the device.
SRB_UNKNOWN_DEVICE_COMMANDDevice instance-specific code that specifies that the IRP function is unknown to the class driver.
SRB_PAGING_OUT_DRIVERDevice instance-specific code that indicates that the driver is to be paged out only if it is enabled in the registry. Board ints should be disabled and STATUS_SUCCESS returned.
SRB_GET_DATA_INTERSECTIONDevice instance-specific code that returns stream data intersection.
SRB_INITIALIZATION_COMPLETEDevice instance-specific code that indicates that the initialization sequence has completed.
SRB_SURPRISE_REMOVALDevice instance-specific code that indicates a surprise removal of hardware has occurred.
SRB_DEVICE_METHODSRB_STREAM_METHODSRB_NOTIFY_IDLE_STATEDevice instance-specific code that specifies to call on first open and last close.