DdqGetDiagnosticRecordTagDistribution function (diagnosticdataquery.h)
Fetches Diagnostic Data Events per privacy tag event distribution statistics based on the specified producer names.
Syntax
HRESULT DdqGetDiagnosticRecordTagDistribution(
HDIAGNOSTIC_DATA_QUERY_SESSION hSession,
PCWSTR *producerNames,
UINT32 producerNameCount,
DIAGNOSTIC_DATA_EVENT_TAG_STATS **tagStats,
UINT32 *statCount
);
Parameters
hSession
Type: HANDLE Handle to the Diagnostic Data Query session.
producerNames
Type: PCWSTR*
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.
producerNameCount
Type: UINT32
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.
tagStats
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.
statCount
Type: UINT32 The number of items in the DIAGNOSTIC_DATA_TAG_STATS list.
Return value
Type: HRESULT Returns S_OK on successful completion.
Remarks
See our privacy statement for information about diagnostic data privacy tags. For more details about the tag description data type, see our DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION.
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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for