Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IEnumRfc1766::Skip method

Advances the position of the Locale Enumeration Object in the enumeration sequence by the specified amount.

Syntax


HRESULT Skip(
  [inunsigned long celt
);

Parameters

celt [in]

The number of elements to advance in the enumeration sequence.

Return value

Returns NO_ERROR.

Examples

This example gets 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

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IEnumRfc1766
Reference
Next
Reset

 

 

Show:
© 2017 Microsoft