GEO_ENUMNAMEPROC callback function (winnls.h)
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
GEO_ENUMNAMEPROC GeoEnumnameproc;
BOOL GeoEnumnameproc(
PWSTR unnamedParam1,
LPARAM unnamedParam2
)
{...}
Parameters
unnamedParam1
unnamedParam2
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
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | winnls.h (include Windows.h) |