2.2.72 FAX_EVENT_NEW_CALL
The FAX_EVENT_NEW_CALL structure defines notifications regarding a new incoming call. This structure is embedded in the FAX_EVENT_EX (section 2.2.67) and FAX_EVENT_EX_1 (section 2.2.68) structures as a union field.
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 |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Variable_Data (variable) |
|||||||||||||||||||||||||||||||
... |
Fixed_Portion (12 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
1hCall
dwDeviceId
lpwstrCallerIdOffset
-
hCall (4 bytes): Call handle of the new incoming call.
-
dwDeviceId (4 bytes): Identifier of the fax device on which the new incoming call has arrived.
-
lpwstrCallerIdOffset (4 bytes): Offset to the lpwstrCallerId field in the Variable_Data block of the structure holding a null-terminated Unicode string that contains the caller ID for the incoming call. It is set to zero if no caller ID information is available.
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
1lpwstrCallerId (variable)
...
-
lpwstrCallerId (variable): A null-terminated Unicode string that contains the caller ID for the incoming call.