Help Center

GetErrorCodeTextfunction

Returns the text string description associated with the WMI error code.

COMfunctionCWmiDisp.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION GetErrorCodeText (BYVAL hRes AS HRESULT) AS DWSTRING

Parameters

NameDescription
hResThe WMI error code.

Return value

The localized text string description associated with the WMI error code.

Description

Returns the text string description associated with the WMI error code.

Reference