Partager via


IEnumRfc1766 interface

Creates a list of all locale identifiers (LCIDs) in the MIME database.

Members

The IEnumRfc1766 interface inherits from the IUnknown interface. IEnumRfc1766 also has these types of members:

  • Methods

Methods

The IEnumRfc1766 interface has these methods.

Method Description
Clone
Next

Gets 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 get 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.

This interface is created through a call to IMultiLanguage::EnumRfc1766, and should be used when a client wants a list of all LCIDs that are recognized by the system. If a client wants information about specific locales, it is faster and easier to call IMultiLanguage::GetRfc1766Info. If the entire RFC1766INFO structure is not required, a client can call IMultiLanguage::GetRfc1766FromLcid to get only the RFC1766-conforming name.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll