Geo_EnumNameProc callback function

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

An application-defined callback function that processes enumerated geographical location information provided by the EnumSystemGeoNames function. The GEO_ENUMNAMEPROC type defines a pointer to this callback function. Geo_EnumNameProc is a placeholder for the application-defined function name.

Syntax


BOOL CALLBACK Geo_EnumNameProc(
  _In_ PWSTR  GeoName,
       LPARAM data
);

Parameters

GeoName [in]

A two-letter International Organization for Standardization (ISO) 3166-1 code or numeric United Nations (UN) Series M, Number 49 (M.49) code for a geographical location that is available on the operating system.

data

Application-specific information that was specified by the data parameter when the application called the EnumSystemGeoNames function.

Return value

Returns TRUE to continue enumeration or FALSE otherwise.

Remarks

An Geo_EnumNameProc function can carry out any desired task, and can use the information passed to it in the data parameter for any desired purpose. The application registers this function by passing its address to the EnumSystemGeoNames function.

For information about two-letter ISO 3166-1 codes, see Country Codes - ISO 3166. For information about numeric UN M.49 codes, see Standard country or area codes for statistical use (M49).

Requirements

Minimum supported client

Windows 10, version 1709 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Winnls.h (include Windows.h)

See also

National Language Support
National Language Support Functions
EnumSystemGeoNames

 

 

Show: