다음을 통해 공유


IEnumRfc1766::Skip (Windows CE 5.0)

Send Feedback

This method advances the position of the Locale Enumeration object in the enumeration sequence by the specified amount.

HRESULTSkip(ULONGcelt);

Parameters

  • celt
    [in] Number of elements to advance in the enumeration sequence.

Return Values

Returns NO_ERROR.

Example Code

The following example shows the syntax for retrieving the first and third RFC1766INFO structures from the enumeration sequence.

pMultiLanguage->EnumCodePages(&pEnumRfc1766);
PRFC1766INFO prfcInfo;
ULONG crfcInfo;
prfcInfo = (PRFC1766INFO)CoTaskMemAlloc(sizeof(RFC1766INFO)*2);
pEnumRfc1766->Next(1, prfcInfo, &crfcInfo);
pEnumRfc1766->Skip(1);
pEnumRfc1766->Next(1, prfcInfo + 1, &crfcInfo);
// Perform operations with the information on the first and third
// locales.
CoTaskMemRealloc((void*)prfcInfo, sizeof(RFC1766INFO)*crfcInfo);

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Mlang.h, Mlang.idl.
Link Library: Mlang.dll.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.