Partager via


IEnumRfc1766

This interface creates a list of all the locale identifiers (LCIDs) in the MIME database. This interface is not supported on all Windows CE-based operating systems. See the SDK documentation specific to your target device to see whether this functionality is supported.

When to Use

This interface is created through a call to the IMultiLanguage::EnumRfc1766 method and should be used when a client needs a list of all the LCIDs the system recognizes. If a client needs information about specific locales, it is faster and easier to call the IMultiLanguage::GetRfc1766Info method. If the entire RFC1766INFO structure is not needed, a client can call the IMultiLanguage::GetRfc1766FromLcid method to retrieve only the RFC1766-conforming name.

Methods

The following table shows the methods for this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Method Description
Next Retrieves information about the specified number of locales in an array of RFC1766INFO structures.
Reset Resets the Locale Enumeration object to the beginning of the enumeration sequence.
Skip Advances the position of the Locale Enumeration object in the enumeration sequence by the specified amount.

Remarks

A client can use this interface to retrieve an array of RFC1766INFO structures, which contain the Windows-defined name and the RFC1766-conforming name that correspond to an LCID. A client uses this service to enumerate the entire set of LCIDs with human-readable names.

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.