IWbemClassObject::BeginMethodEnumeration method (wbemcli.h)
Use the IWbemClassObject::BeginMethodEnumeration method call to begin an enumeration of the methods available for the object.
This call is only supported if the current object is a CIM class definition. Method manipulation is not available from IWbemClassObject pointers which point to CIM instances. The order in which methods are enumerated is guaranteed to be invariant for a given instance of IWbemClassObject.
Syntax
HRESULT BeginMethodEnumeration(
[in] long lEnumFlags
);
Parameters
[in] lEnumFlags
Specifies the scope of the enumeration.
Possible values:
WBEM_FLAG_LOCAL_ONLY
Only include methods that are defined in the class itself.
WBEM_FLAG_PROPAGATED_ONLY
Only include methods that are inherited from parent classes.
Return value
This method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT. For general HRESULT values, see System Error Codes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | wbemcli.h (include Wbemidl.h) |
Library | WbemUuid.lib |
DLL | CIMWin32.dll; Esscli.dll; Fastprox.dll; FrameDyn.dll; FrameDynOS.dll; Krnlprov.dll; Ncprov.dll; Wbemcore.dll; Wbemess.dll; Wmipiprt.dll |