DIAGNOSTIC_DATA_SEARCH_CRITERIA structure (diagnosticdataquerytypes.h)

This resource contains details of the search criteria when fetching a diagnostic data record.

Syntax

typedef struct tagDIAGNOSTIC_DATA_SEARCH_CRITERIA {
  LPCWSTR     *producerNames;
  UINT32      producerNameCount;
  LPCWSTR     textToMatch;
  const INT32 *categoryIds;
  UINT32      categoryIdCount;
  const INT32 *privacyTags;
  UINT32      privacyTagCount;
  BOOL        coreDataOnly;
} DIAGNOSTIC_DATA_SEARCH_CRITERIA;

Members

producerNames

Type: LPCWSTR* 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.

textToMatch

Type: LPCWSTR The sub-string to search for within diagnostic data records. This text is case insensitive.

categoryIds

Type: INT32* List of category identifiers to search for. A diagnostic data record that matches at least one of the category names is included as a result in this search criteria. Use nullptr for this value to indicate no filter by categories.

categoryIdCount

Type: UINT32 The number of categories in the list of category identifiers. Use 0 for this value to indicate no filter by categories.

privacyTags

Type: INT32* List of privacy tag identifiers to search for. A diagnostic data record that matches at least one of the tags is included as a result in this search criteria. Use nullptr for this value to indicate no filter by privacy tags.

privacyTagCount

Type: UINT32 The number of privacy tags in the list of privacy tag identifiers. Use 0 for this value to indicate no filter by tags.

coreDataOnly

Type: BOOL TRUE to filter search results to only core data. FALSE to return both core and non-core data.

Remarks

For more details on how core data is defined, see our privacy statement.

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 diagnosticdataquerytypes.h