DdqGetDiagnosticRecordTagDistribution function (diagnosticdataquery.h)
Fetches Diagnostic Data Events per privacy tag event distribution statistics based on the specified producer names.
HRESULT DdqGetDiagnosticRecordTagDistribution( HDIAGNOSTIC_DATA_QUERY_SESSION hSession, PCWSTR *producerNames, UINT32 producerNameCount, DIAGNOSTIC_DATA_EVENT_TAG_STATS **tagStats, UINT32 *statCount );
Type: HANDLE Handle to the Diagnostic Data Query session.
List of producer names to search for. A diagnostic data record that matches at least one of the producer names is included as a result in this search criteria. Use
nullptr for this value to indicate no filter by producers.
The number of producer names in the list of producer names to search for. Use
0 for this value to indicate no filter by producers.
Type: DIAGNOSTIC_DATA_TAG_STATS** This output parameter is a pointer to a list of DIAGNOSTIC_DATA_TAG_STATS items. Each item is a resource that contains information about a privacy tag and the number of events that have that tag.
Type: UINT32 The number of items in the DIAGNOSTIC_DATA_TAG_STATS list.
Type: HRESULT Returns S_OK on successful completion.
|Minimum supported client||Windows 10, version 2004 (10.0; Build 19041)|
|Minimum supported server||Windows Server, version 2004 (10.0; Build 19041)|