Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Workshop

IMultiLanguage::GetLcidFromRfc1766 Method


Retrieves the locale identifier value (LCID) corresponding to the given RFC1766-conforming name.

Syntax

HRESULT GetLcidFromRfc1766(
    LCID *pLocale,
    BSTR bstrRfc1766
);

Parameters

pLocale
[out] Address of the buffer to receive the LCID.
bstrRfc1766
[in] RFC1766-conforming name for which the caller wants information.

Return Value

Returns one of the following values:

S_OK Success.
S_FALSE The returned LCID matches the primary language of the RFC1766-conforming name only.
E_FAIL The method could not get the information from the database or the system.
E_INVALIDARG One or more of the arguments are invalid.

Remarks

A client uses this method to translate a human-readable locale name to a Windows®-defined LCID.

See Also

IMultiLanguage, IMultiLanguage::GetRfc1766FromLcid, IMultiLanguage::GetRfc1766Info, RFC1766INFO


Does this content meet your programming needs? Write us!

Back to topBack to top

© 1998 Microsoft Corporation. All rights reserved. Terms of use.

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site