DdqGetDiagnosticRecordProducers function (diagnosticdataquery.h)

Fetches Diagnostic Data Producers available for a Diagnostic Data Query session.

Syntax

HRESULT DdqGetDiagnosticRecordProducers(
  HDIAGNOSTIC_DATA_QUERY_SESSION         hSession,
  HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION *hProducerDescription
);

Parameters

hSession

Type: HANDLE Handle to the Diagnostic Data Query session.

hProducerDescription

Type: HANDLE* This output parameter is a pointer to the handle for the resource that contains the list of producers.

Return value

Type: HRESULT Returns S_OK on successful completion.

Remarks

See DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION for documentation on how a producer is defined.

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