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.

IEnumCodePage::Skip method

Advances the position of the Code Page 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 NOERROR.

Examples

This example gets the first and third MIMECPINFO structures from the enumeration sequence.


pMultiLanguage->EnumCodePages(MIMECONTF_BROWSER,
    &pEnumCodePage);

PMIMECPINFO pcpInfo;
ULONG ccpInfo;

pcpInfo = (PMIMECPINFO)CoTaskMemAlloc(sizeof(MIMECPINFO)*2);
pEnumCodePage->Next(1, pcpInfo, &ccpInfo);
pEnumCodePage->Skip(1);
pEnumCodePage->Next(1, pcpInfo + 1, &ccpInfo);

// Use the information on the first and third code pages.

CoTaskMemRealloc((void*) pcpInfo, sizeof(MIMECPINFO)*ccpInfo);

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IEnumCodePage
Reference
Next
Reset

 

 

Show: