Help Center
Help Center›AfxNova

AfxWmiGetFacilityCodeTextfunction

Helper function for IWbemStatusCodeText.GetFacilityCodeText. Returns the name of the subsystem where the error occurred, such as "Windows", "WBEM", "SSPI", or "RPC".

COMfunctionCWmiDisp.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION AfxWmiGetFacilityCodeText (BYVAL hRes AS LONG) AS DWSTRING

Description

Helper function for IWbemStatusCodeText.GetFacilityCodeText. Returns the name of the subsystem where the error occurred, such as "Windows", "WBEM", "SSPI", or "RPC".

Reference

  • Include file CWmiDisp.inc
  • Defined in AfxNova/CWmiDisp.inc:61