STOR_PNP_ACTION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-srb-stor_pnp_action)

Description

Enumerates Plug and Play minor function codes.

Constants

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.

Remarks

These values are passed in through the PnPAction field of a SRBEX_DATA_PNP structure.

See also


Windows Driver Kit DDI reference (ne-storport-stor_pnp_action)

Description

See STOR_PNP_ACTION (srb.h).

Constants

StorStartDevice:0x0

StorRemoveDevice:0x2

StorStopDevice:0x4

StorQueryCapabilities:0x9

StorQueryResourceRequirements:0xB

StorFilterResourceRequirements:0xD

StorSurpriseRemoval:0x17

See also

SCSI_PNP_REQUEST_BLOCK

SRBEX_DATA_PNP