// storport.h
ULONG StorPortCaptureLiveDump(
[in] PVOID HwDeviceExtension,
[in/optional] PSTOR_ADDRESS StorAddress,
[in] PSTORPORT_CAPTURE_LIVEDUMP CaptureLivedump
);
View the official Windows Driver Kit DDI referenceNo description available.
StorPortCaptureLiveDump captures a live dump file.
HwDeviceExtension [in]Pointer to the miniport's hardware device extension.
StorAddress [in/optional]Pointer to a STOR_ADDRESS structure that holds the address specifying the unit object. Set StorAddress to NULL if the device is an adapter.
CaptureLivedump [in]Pointer to a STORPORT_CAPTURE_LIVEDUMP structure containing the data needed to generate the live dump.
StorPortCaptureLiveDump returns one of the following values:
| Return code | Description |
|---|---|
| STOR_STATUS_SUCCESS | The dump feature list was set successfully. |
| STOR_STATUS_INVALID_PARAMETER | One or more of the provided parameters are invalid. |
| STOR_STATUS_UNSUCCESSFUL | Returned for other internal system reasons. |
When a miniport detects an issue that might require further triage, it can call StorPortCaptureLiveDump to capture a live dump file.
This function must be called at PASSIVE_LEVEL.
STORPORT_LIVEDUMP_DEVICE_TELEMETRY_LOG