RootCauseInfo structure (ndattrib.h)
Contains detailed information about the root cause of an incident.
Syntax
typedef struct tagRootCauseInfo {
LPWSTR pwszDescription;
GUID rootCauseID;
DWORD rootCauseFlags;
GUID networkInterfaceID;
RepairInfoEx *pRepairs;
USHORT repairCount;
} RootCauseInfo, *PRootCauseInfo;
Members
pwszDescription
Type: LPWSTR
A string that describes the problem that caused the incident.
rootCauseID
Type: GUID
The GUID that corresponds to the problem identified.
rootCauseFlags
Type: DWORD
A numeric value that provides more information about the problem.
Value | Meaning |
---|---|
|
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. |
|
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. |
|
The root cause comes from a third-party helper class extension rather than a native Windows helper class. |
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).
pRepairs
Type: RepairInfoEx*
The repairs that are available to try and fix the problem.
repairCount
Type: USHORT
The number of repairs available.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | ndattrib.h |