2.2.50 FAX_TAPI_LINECOUNTRY_ENTRYW
The FAX_TAPI_LINECOUNTRY_ENTRYW data type defines the arrangement of data inside the FAX_TAPI_LINECOUNTRY_LISTW (section 2.2.51) structure, which can be passed as an out parameter to FAX_GetCountryList (section 3.1.4.1.37). This structure holds information about a specific country/region in the array of FAX_TAPI_LINECOUNTRY_LISTW.
This data structure is custom marshaled as follows and uses the custom-marshaling rules defined in section 2.2.1.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Fixed_Portion (16 bytes) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
Variable_Data (variable) |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
Fixed_Portion (16 bytes):
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1dwCountryID
dwCountryCode
lpcwstrCountryNameOffset
lpcwstrLongDistanceRuleOffset
-
dwCountryID (4 bytes): A DWORD ([MS-DTYP] section 2.2.9) that holds the country/region identifier.
-
dwCountryCode (4 bytes): A DWORD that holds the country/region code.
-
lpcwstrCountryNameOffset (4 bytes): Offset to the lpwstrCountryName field in the Variable_Data block.
-
lpcwstrLongDistanceRuleOffset (4 bytes): Offset to the lpwstrLongDistanceRule field in the Variable_Data block.
Variable_Data (variable):
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1lpcwstrCountryName (variable)
...
lpcwstrLongDistanceRule (variable)
...
-
lpcwstrCountryName (variable): A null-terminated character string that holds the country/region name.
-
lpcwstrLongDistanceRule (variable): A null-terminated character string that holds the dialing rule for directly dialed calls to other areas in the same country/region.