Home COM GDI+ WebBrowser Data Access

IEnumRfc1766  Interface

 

IID_IEnumRfc1766

{3DC39D1D-C030-11D0-B81B-00C04FC9B31F}

 

 

This interface creates a list of all locale identifiers (LCIDs) in the MIME database.

 

Remarks

A client can use this interface to retrieve an array of RFC1766INFO structures, which contain the Microsoft 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 needs a list of all LCIDs the system recognizes. If a client needs information about specific locales, it is faster and easier to call IMultiLanguage::GetRfc1766Info. If the entire RFC1766INFO structure is not needed, a client can call IMultiLanguage::GetRfc1766FromLcid to retrieve only the RFC1766-conforming name.

 

 

Methods in VTable order

IUnknown Methods

Description

QueryInterface

Returns pointers to supported interfaces.

AddRef

Increments reference count.

Release

Decrements reference count.

IEnumRfc1766 Methods

Description

Clone

Not currently implemented.

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.

 

Clone

 

FUNCTION IEnumRfc1766_Clone ( _
  BYVAL pthis AS DWORD PTR _
, BYREF ppenum AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG

  CALL DWORD @@pthis[3] USING IEnumRfc1766_Clone (pthis, ppenum) TO HRESULT

  FUNCTION = HRESULT

END FUNCTION

 

 

Next

 

FUNCTION IEnumRfc1766_Next ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL celt AS DWORD _
, BYVAL rgelt AS DWORD _
, BYREF pceltFetched AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[4] USING IEnumRfc1766_Next (pthis, celt, rgelt, pceltFetched) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Reset

 

FUNCTION IEnumRfc1766_Reset ( _
  BYVAL pthis AS DWORD PTR _
  ) AS LONG

  LOCAL HRESULT AS LONG

  CALL DWORD @@pthis[5] USING IEnumRfc1766_Reset (pthis) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Skip

 

FUNCTION IEnumRfc1766_Skip ( _
  BYVAL pthis AS DWORD PTR _
, BYVAL celt AS DWORD _
  ) AS LONG

  LOCAL HRESULT AS LONG
  CALL DWORD @@pthis[6] USING IEnumRfc1766_Skip (pthis, celt) TO HRESULT
  FUNCTION = HRESULT

END FUNCTION

 

 

Page last updated on Monday, 03 April 2006 19:52:00 +0200