Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This method advances the position of the Locale Enumeration object in the enumeration sequence by the specified amount.
Syntax
HRESULT Skip( ULONG celt ); |
Parameters
- celt
-
[in] Number of elements to advance in the enumeration sequence.
Return Value
Returns NO_ERROR.
Example Code
The following example shows the syntax for retrieving the first and third RFC1766INFOstructures from the enumeration sequence.
Copy Code | |
---|---|
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
Header | mlang.h, mlang.idl |
Library | mlang.dll |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |