EnumCountriesProc
This function is an application-defined callback function used with the SWAPI_EnumContinentCountries function. It receives the country IDs of the continent passed in ContinentID.
Syntax
| Microsoft Visual C++ |
BOOL __stdcall EnumCountriesProc( WORD CountryID, DWORD UserData ); |
|
| Borland Delphi |
type TEnumCountriesProc = function( const CountryID: WORD; const UserData: DWORD ): BOOL; stdcall; |
|
| Microsoft Visual Basic |
Public Function EnumCountriesProc( ByVal CountryID As Integer, ByRef UserData As Long ) As Boolean |
|
Parameters
| CountryID |
[in] Country ID of the country being enumerated. |
| UserData |
| [in] Specifies the application-defined value set in the UserData parameter of the SWAPI_EnumContinentCountries function. |
Return Value
To continue enumeration, the callback function must return TRUE; to stop enumeration, it must return FALSE.
Defined In
| Microsoft Visual C++ |
| SWAPIMap.h, SWAPIMap.cpp |
|
| Borland Delphi |
| SWAPIMap.pas |
|
| Microsoft Visual Basic |
| SWAPIMap.bas |
|
See Also
SWAPI_EnumContinentCountries
Copyright © 2006-2008, TamoSoft
|