DdqGetDiagnosticRecordLocaleTags function (diagnosticdataquery.h)
Fetches information for all known tags under the specified locale and provides a handle, HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, to the data. An example locale would be “en-US”. An example return value is a DIAGNOSTIC_EVENT_TAG_DESCRIPTION resource that contains the following data: tag: 11, name: “Device Connectivity and Configuration” and description: “Data that describes the connections and configuration of the devices connected to the service and the network, including device identifiers (e.g IP addresses) configuration, setting and performance”.
Syntax
HRESULT DdqGetDiagnosticRecordLocaleTags(
HDIAGNOSTIC_DATA_QUERY_SESSION hSession,
PCWSTR locale,
HDIAGNOSTIC_EVENT_TAG_DESCRIPTION *hTagDescription
);
Parameters
hSession
Type: HANDLE Handle to the Diagnostic Data Query session.
locale
Type: PCWSTR The locale for the tag descriptions.
hTagDescription
Type: HANDLE* This output parameter is a pointer to the handle for the resource that contains the list of tag descriptions. The resource is of the form DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION and contains the tag name, description and the numeric tag value.
Return value
Type: HRESULT Returns S_OK on successful completion.
Remarks
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