// srb.h
typedef enum {
StorStartDevice,
StorRemoveDevice,
StorStopDevice,
StorQueryCapabilities,
StorQueryResourceRequirements,
StorFilterResourceRequirements,
StorSurpriseRemoval
} STOR_PNP_ACTION, *PSTOR_PNP_ACTION;
View the official Windows Driver Kit DDI reference
// storport.h
typedef enum {
StorStartDevice = 0x0,
StorRemoveDevice = 0x2,
StorStopDevice = 0x4,
StorQueryCapabilities = 0x9,
StorQueryResourceRequirements = 0xB,
StorFilterResourceRequirements = 0xD,
StorSurpriseRemoval = 0x17
} STOR_PNP_ACTION, *PSTOR_PNP_ACTION;
View the official Windows Driver Kit DDI reference
No description available.
Enumerates Plug and Play minor function codes.
StorStartDevice
Sends a request to start the device.
StorRemoveDevice
Sends a request to remove the device.
StorStopDevice
Indicates that the device is stopping.
StorQueryCapabilities
Sends a request to query the capabilities of the device.
StorQueryResourceRequirements
Sends a request to query the resource requirements of the device.
StorFilterResourceRequirements
Sends a request to filter the resource requirements of the device.
StorSurpriseRemoval
Indicates that the device has been removed.
These values are passed in through the PnPAction field of a SRBEX_DATA_PNP structure.
StorStartDevice:0x0
StorRemoveDevice:0x2
StorStopDevice:0x4
StorQueryCapabilities:0x9
StorQueryResourceRequirements:0xB
StorFilterResourceRequirements:0xD
StorSurpriseRemoval:0x17