Platform SDK: Systems Management Server

IMmfNamedValueCollection::ItemFlags

The IMmfNamedValueCollection::ItemFlags method is used to retrieve the flag settings associated with a specified named value.

HRESULT ItemFlags(
  BSTR sIndex,
  long *pFlags
);

Parameters

sIndex
[in] The string name used to identify the named value.
pFlags
[out,retval] The address of a long that will receive the flags associated with the specified name.

Return Values

S_OK is returned unless the string name could not be found, in which case, E_FAIL is returned.

Remarks

This method searches the nodes collection of named values for the given name and sets pFlags to its flag settings.

See Also

Item, IMmfNamedValueCollection, IMmfNode::FindNamedValueFlags, IMmfNode::GetNamedValueFlags