StorPortCaptureLiveDump - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// storport.h

ULONG StorPortCaptureLiveDump(
  [in]          PVOID                      HwDeviceExtension,
  [in/optional] PSTOR_ADDRESS              StorAddress,
  [in]          PSTORPORT_CAPTURE_LIVEDUMP CaptureLivedump
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-storport-storportcapturelivedump)

Description

StorPortCaptureLiveDump captures a live dump file.

Parameters

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.

Return value

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.

Remarks

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.

See also

STOR_ADDRESS

STORPORT_CAPTURE_LIVEDUMP

STORPORT_LIVEDUMP_DATA_TYPE

STORPORT_LIVEDUMP_DEVICE_TELEMETRY_LOG