Provider::ValidateGetObjFlags method

[The Provider class is part of the WMI Provider Framework, which is no longer available for use as of Windows Vista. Instead, see Using WMI for the preferred ways to write a WMI COM provider or a WMI provider that uses the .NET Framework System.Management namespaces.]

The ValidateGetObjFlags method determines whether a set of flags is valid for an instance retrieval operation.

Syntax


HRESULT ValidateGetObjFlags(
  long lFlags
);

Parameters

lFlags

Bitmask of flags that are validated.

Return value

Returns WBEM_S_NO_ERROR if the flags are valid and WBEM_E_UNSUPPORTED_PARAMETER if one or more flags are not valid.

Remarks

At present, the Provider class does not support any retrieval flags. Therefore, if lFlags is set to a value other than zero (0), Provider::ValidateGetObjFlags automatically returns WBEM_E_UNSUPPORTED_PARAMETER.

Framework providers must override this method to validate flags that are unknown to the base Provider class.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Provider.h (include FwCommon.h)

Library

Framedyn.lib

DLL

Framedyn.dll

 

 

Show:
© 2014 Microsoft