Help Center
Help Center›AfxNova

CWmiServices.GetNamedPropertiesmethod

Retrieves a named collection of the properties for the current class or instance. May return one of the error codes in the following list: wbemErrFailed - 2147749889 (0x80041001) Unspecified failure. wbemErrInvalidParameter - 2147749896 (0x80041008) Invalid parameter was specified. wbemErrOutOfMemory - 2147749896 Not enough memory for this method to execute.

COMmethodCWmiDisp.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 CWmiServices.GetNamedProperties (BYVAL idx AS LONG = 0) AS HRESULT

Description

Retrieves a named collection of the properties for the current class or instance. May return one of the error codes in the following list: wbemErrFailed - 2147749889 (0x80041001) Unspecified failure. wbemErrInvalidParameter - 2147749896 (0x80041008) Invalid parameter was specified. wbemErrOutOfMemory - 2147749896 Not enough memory for this method to execute.

Reference

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