2.2.51 FAX_TAPI_LINECOUNTRY_LISTW

The FAX_TAPI_LINECOUNTRY_LISTW data type defines the structure that FAX_GetCountryList (section 3.1.4.1.37) can use to return the list of countries/regions from TAPI. For more information about TAPI, see [MSDN-TAPI2.2]. The structure has a pointer to a list of countries/regions, with each country/region's data defined by a FAX_TAPI_LINECOUNTRY_ENTRYW (section 2.2.50) structure.

This data structure is custom marshaled as follows and uses the custom-marshaling rules defined in section 2.2.1.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Fixed_Portion

...

Variable_Data (variable)

...

Fixed_Portion (8 bytes):


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwNumCountries

LineCountryEntriesOffset

dwNumCountries (4 bytes): A DWORD ([MS-DTYP] section 2.2.9) that holds the number of countries/regions in the list.

LineCountryEntriesOffset (4 bytes): Offset to the ListCountryEntries field in the Variable_Data.

Variable_Data (variable):


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

LineCountryEntries (variable)

...

LineCountryEntries (variable): An array of dwNumCountries FAX_TAPI_LINECOUNTRY_ENTRYW structures describing the list of countries and regions. This array is custom marshaled within the Variable_Data block for the FAX_TAPI_LINECOUNTRY_LISTW data type as shown in section 2.2.1.2.