IVssEnumMgmtObject::Next method (vsmgmt.h)

The Next method returns the specified number of objects from the specified list of enumerated objects.

Syntax

HRESULT Next(
  [in]  ULONG                celt,
  [out] VSS_MGMT_OBJECT_PROP *rgelt,
  [out] ULONG                *pceltFetched
);

Parameters

[in] celt

The number of elements to be read from the list of enumerated objects into the rgelt buffer.

[out] rgelt

The address of a caller-allocated buffer that receives celtVSS_MGMT_OBJECT_PROP structures that contain the returned objects. This parameter is required and cannot be NULL.

[out] pceltFetched

The number of elements that were returned in the rgelt buffer.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header vsmgmt.h

See also

IVssEnumMgmtObject

VSS_MGMT_OBJECT_PROP