DdqGetDiagnosticRecordProducerCount function (diagnosticdataquery.h)
Fetches the number (size) of producers in the resource pointed to by the HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION.
Syntax
HRESULT DdqGetDiagnosticRecordProducerCount(
HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION hProducerDescription,
UINT32 *producerDescriptionCount
);
Parameters
hProducerDescription
Type: HANDLE Handle to the resource that contains list of producers.
producerDescriptionCount
Type: UNINT32* This output parameter is a pointer to the number of producers in provided resource.
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 |