Help Center

GetFacilityCodeTextfunction

Returns the name of the subsystem where the error occurred, such as "Windows", "WBEM", "SSPI", or "RPC".

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 GetFacilityCodeText (BYVAL hRes AS HRESULT) AS DWSTRING

Parameters

NameDescription
hResThe WMI error code.

Return value

The name of the subsystem where the error occurred.

Description

Returns the name of the subsystem where the error occurred, such as "Windows", "WBEM", "SSPI", or "RPC".

Reference