Using Win32 functions in Visual FoxPro Image Gallery
National Language Support
..msdn
CompareString
GetACP
GetCurrencyFormat
GetDateFormat
GetLocaleInfo
GetNumberFormat
GetOEMCP
GetStringTypeEx
GetSystemDefaultLangID
GetSystemDefaultLCID
GetSystemDefaultLocaleName
GetThreadLocale
GetUserDefaultLangID
GetUserDefaultLCID
GetUserDefaultLocaleName
GetUserGeoID
LCIDToLocaleName
LocaleNameToLCID
NormalizeString
SetUserGeoID
Code examples:
Saving available locale records into a cursor
GetLocaleInfo
    Add comment     W32 Constants      Translate this page
Retrieves information about a locale.
Code examples:
Saving available locale records into a cursor
Declaration:
int GetLocaleInfo(
  LCID Locale,      // locale identifier
  LCTYPE LCType,    // information type
  LPTSTR lpLCData,  // information buffer
  int cchData       // size of buffer
);
FoxPro declaration:
DECLARE INTEGER GetLocaleInfo IN kernel32;
    INTEGER  Locale,;
    INTEGER  LCType,;
    STRING @ lpLCData,;
    INTEGER  cchData

Parameters:
Locale
[in] Specifies the locale to retrieve information for.

LCType
[in] Specifies the type of locale information to be retrieved, by using an LCTYPE constant.

lpLCData
[out] Pointer to a buffer that receives the requested data.

cchData
[in] Specifies the size, in TCHARs, of the lpLCData buffer.
Return value:
If the function succeeds, the return value is the number of TCHARs written to the destination buffer.
My comment:
The GetLocaleInfo function always retrieves information in text format.
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-31 12:00:00
Modified: 2001-11-26 16:02:44
Visited in last 7 days: 35
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.82.79.109)
34 sec.Function: 'ntohs'
1.17 min.Function: 'CryptEncrypt'
Function group: 'Cryptography Reference'
1.8 min.Function: 'CryptDestroyHash'
4.02 min.Function: 'RasEnumDevices'
Google
Advertise here!