2.2.4.2.1.31 PHONE_REPLY

The PHONE_REPLY packet is sent to an application to report the results of a function call that was completed asynchronously.


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

TotalSize

InitContext

fnPostProcessProcHandle

hDevice

Msg

OpenContext

dwRemoteRequestID

Param2

Param3

Param4

TotalSize (4 bytes): An unsigned 32-bit integer. The total size of the asynchronous event packet.

InitContext (4 bytes): An unsigned 32-bit integer. The opaque, client-specified session value that MUST be equal to the InitContext value that is specified in the original scoping of the phone Initialize request.

fnPostProcessProcHandle (4 bytes): An unsigned 32-bit integer. The opaque, client-specified value that MUST be equal to the lpContext value in the original request.

hDevice (4 bytes): An unsigned 32-bit integer. The handle to the phone device that is associated with the asynchronous event.

Msg (4 bytes): An unsigned 32-bit integer. The packet type; MUST be set to 0x00000011 (PHONE_REPLY).

OpenContext (4 bytes): An unsigned 32-bit integer. The opaque, client-specified context value that MUST be equal to the OpenContext value that is specified in the original scoping of the phone Open request.

This information MUST be passed back to the application with each completion and event that is associated with the handle of the phone. This field is not interpreted by TAPI.

dwRemoteRequestID (4 bytes): An unsigned 32-bit integer. The ID of the client for the request value.

Param2 (4 bytes): An unsigned 32-bit integer. Indicates the success or error of the request that is identified in the Param1 field. A zero indicates success; a negative number indicates an error.

Param3 (4 bytes): An unsigned 32-bit integer. This MUST be ignored on receipt and can be any value. 

Param4 (4 bytes): An unsigned 32-bit integer. This MUST be ignored on receipt and can be any value.