DdqGetDiagnosticRecordPayload function (diagnosticdataquery.h)

Fetches the payload text for the event record specified by rowId.

Syntax

HRESULT DdqGetDiagnosticRecordPayload(
  HDIAGNOSTIC_DATA_QUERY_SESSION hSession,
  INT64                          rowId,
  PCWSTR                         *payload
);

Parameters

hSession

Type: HANDLE Handle to the Diagnostic Data Query session.

rowId

Type: INT64 The row id for the event record of interest.

payload

Type: PCWSTR* This output parameter is a pointer to the payload text.

Return value

Type: HRESULT Returns S_OK on successful completion.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header diagnosticdataquery.h