Skip to content

Latest commit

 

History

History
151 lines (113 loc) · 3.64 KB

ns-ndattrib-rootcauseinfo.md

File metadata and controls

151 lines (113 loc) · 3.64 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:ndattrib.tagRootCauseInfo
RootCauseInfo (ndattrib.h)
Contains detailed information about the root cause of an incident.
*PRootCauseInfo
RCF_ISCONFIRMED
RCF_ISLEAF
RCF_ISTHIRDPARTY
RootCauseInfo
RootCauseInfo structure [NDF]
ndattrib/RootCauseInfo
ndf.rootcauseinfo
ndf\rootcauseinfo.htm
NDF
01d02658-ae12-4465-94fc-7a966dcdd8fb
12/05/2018
*PRootCauseInfo, RCF_ISCONFIRMED, RCF_ISLEAF, RCF_ISTHIRDPARTY, RootCauseInfo, RootCauseInfo structure [NDF], ndattrib/RootCauseInfo, ndf.rootcauseinfo
ndattrib.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Ndattrib.idl
Windows
RootCauseInfo, *PRootCauseInfo
19H1
tagRootCauseInfo
ndattrib/tagRootCauseInfo
PRootCauseInfo
ndattrib/PRootCauseInfo
RootCauseInfo
ndattrib/RootCauseInfo
c++
APIRef
kbSyntax
HeaderDef
ndattrib.h
RootCauseInfo

RootCauseInfo structure

-description

Contains detailed information about the root cause of an incident.

-struct-fields

-field pwszDescription

Type: LPWSTR

A string that describes the problem that caused the incident.

-field rootCauseID

Type: GUID

The GUID that corresponds to the problem identified.

-field rootCauseFlags

Type: DWORD

A numeric value that provides more information about the problem.

Value Meaning
RCF_ISLEAF
0x1
The root cause corresponds to a leaf in the diagnostics tree. Root causes that are leafs are more likely to be closer to the problem that the user is trying to diagnose.
RCF_ISCONFIRMED
0x2
The root cause corresponds to a node with a DIAGNOSIS_STATUS value of DS_CONFIRMED. Problems with confirmed low health are more likely to correspond to the problem the user is trying to diagnose.
RCF_ISTHIRDPARTY
0x4
The root cause comes from a third-party helper class extension rather than a native Windows helper class.

-field networkInterfaceID

Type: GUID

GUID of the network interface on which the problem occurred. If the problem is not interface-specific, this value is zero (0).

-field pRepairs

Type: RepairInfoEx*

The repairs that are available to try and fix the problem.

-field repairCount

Type: USHORT

The number of repairs available.

-see-also

CopyRootCauseInfo

DIAGNOSIS_STATUS

FreeRootCauseInfos

RepairInfoEx