IFsrmCollection::get__NewEnum method

Retrieves the IUnknown pointer of a new IEnumVARIANT enumeration for the items in the collection.

This property is read-only.

Syntax

HRESULT get__NewEnum(
  IUnknown **unknown
);

Parameters

unknown

Return Value

None

Remarks

C/C++ users use this method to enumerate items in the collection. Call the QueryInterface of the IUnknown interface to get the IEnumVARIANT interface. Use the IEnumVARIANT::Next method to enumerate the items of the collection. The items are returned as VARIANT values.

If the collection contains interfaces, the variant type is VT_DISPATCH. Call the QueryInterface method on the pdispVal member of the variant to get an interface to the specific object. For example, if the collection contains report objects, you would query the pdispVal member for the IFsrmReport interface.

If the item is an HRESULT value, the variant type is VT_I4. Use the lVal member of the variant to get the HRESULT value.

Requirements

   
Windows version None supported Windows Server 2008
Target Platform Windows
Header fsrm.h (include FsrmQuota.h, FsrmReports.h, FsrmScreen.h)
DLL SrmSvc.dll

See Also

IFsrmCollection