ICoreFragmentInspector::NextCoreFragments method (winsync.h)

Returns the next ICoreFragment objects in the knowledge, if they are available.

Syntax

HRESULT NextCoreFragments(
  [in]      ULONG         requestedCount,
  [out]     ICoreFragment **ppiCoreFragments,
  [in, out] ULONG         *pFetchedCount
);

Parameters

[in] requestedCount

The number of ICoreFragment objects to retrieve.

[out] ppiCoreFragments

Receives a pointer to the next pFetchedCount ICoreFragment objects. The size of the array is the value specified in the requestedCount parameter. The length is *(pFetchedCount). The caller must release the interface pointer.

[in, out] pFetchedCount

Receives the number of ICoreFragment objects that were retrieved in the ppiCoreFragments parameter. This value can be NULL only if requestedCount is 1.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
S_FALSE
There are no more ICoreFragment objects to retrieve, or the number of ICoreFragment objects retrieved is less than requestedCount.
E_POINTER
Invalid pointer.
SYNC_E_INVALID_OPERATION
The knowledge object contained in this object has changed since this object was created.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

ICoreFragmentInspector Interface