The IEnumVARIANT::Skip method skips over the requested number of elements in the enumeration sequence.

 HRESULT Skip(
   [in] ULONG celt
 );

celt: MUST be set to the maximum number of elements to skip over.

Return Values: The method MUST return information in an HRESULT data structure, defined in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following conditions:

 A static or semi-static IEnumVARIANT server MUST update the current position in the sequence by either celt elements, or the number of elements remaining, whichever is smaller.

A dynamic server MUST use its server-specific state to affect the dynamic collection it manages, and MUST update the current position in the sequence by either celt elements, or the number of elements remaining, whichever is smaller.

In all cases, the server MUST return 1 (S_FALSE), if the current position was updated by less than celt elements.