IMultiLanguage::EnumCodePages
This method creates a Code Page Enumeration object, initializes it with the value specified with the grfFlags parameter, and retrieves the corresponding IEnumCodePage interface.
HRESULT EnumCodePages(
DWORD grfFlags,
IEnumCodePage** ppEnumCodePage
);
Parameters
- grfFlags
[in] Flag that specifies the possible uses for a code page. This parameter is used to control code page enumeration. This value must be a combination of the MIMECONTF constant values. - ppEnumCodePage
[out] Address of a buffer that receives an IEnumCodePage interface.
Return Values
Returns NOERROR if successful or E_OUTOFMEMORY if the attempt to create the object fails.
Remarks
A client uses this method to gather code page information for all the code pages in the MIME database. Through the IEnumCodePage interface, a client can create an array of MIMECPINFO structures, which contain detailed information about the code pages in the MIME database to which the grfFlags parameter applies.
Although the IEnumCodePage interface is retrieved through this method, the caller is still responsible for releasing it when it is no longer needed.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Mlang.h, Mlang.idl.
Link Library: Mlang.dll.
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.