Edit

Share via


PHONE_REPLY message

The TAPI PHONE_REPLY message is sent to an application to report the results of function call that completed asynchronously.

            

Parameters

hPhone

Unused.

dwCallbackInstance

Returns the application's callback instance.

dwParam1

The request identifier for which this is the reply.

dwParam2

The success or error indication. The application should cast this parameter into a LONG. Zero indicates success; a negative number indicates an error.

dwParam3

Unused.

Return value

No return value.

Remarks

Functions that operate asynchronously return a positive request identifier value to the application. This request identifier is returned with the reply message to identify the request that was completed. The other parameter for the PHONE_REPLY message carries the success or failure indication. Possible errors are the same as those defined by the corresponding function. This message cannot be disabled.

Requirements

Requirement Value
TAPI version
Requires TAPI 2.0 or later
Header
Tapi.h