INetDiagHelperInfo::GetAttributeInfo method (ndhelper.h)
The GetAttributeInfo method retrieves the list of key parameters needed by the Helper Class Extension.
Syntax
HRESULT GetAttributeInfo(
[out] ULONG *pcelt,
[out] HelperAttributeInfo **pprgAttributeInfos
);
Parameters
[out] pcelt
A pointer to a count of elements in the array pointed to by pprgAttributeInfos.
[out] pprgAttributeInfos
A pointer to an array of HelperAttributeInfo structures that contain helper class key parameters.
Return value
Return code | Description |
---|---|
|
The operation succeeded. |
|
There is not enough memory available to complete this operation. |
|
One or more parameters has not been provided correctly. |
|
The caller does not have sufficient privileges to perform the diagnosis or repair operation. |
Helper Class Extensions may return HRESULTS that are specific to the diagnoses or repairs.
Remarks
The key parameter list is used by NDF to determine whether enough information is available for the extension to perform diagnosis. If the hypothesis to call the extension lacks a key attribute, the extension will not be called. Optional attributes will not be returned by this call.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | ndhelper.h |