GetFacilityCodeTextfunction
Returns the name of the subsystem where the error occurred, such as "Windows", "WBEM", "SSPI", or "RPC".
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
| Name | Description | |
|---|---|---|
hRes | The 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
- Include file
CWmiDisp.inc - Documented in COM/CWmiDisp Class.md
- Topic: Windows Management Instrumentation (WMI)