Partager via


PHONE_REPLY

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

PHONE_REPLY
  hPhone = (HPHONE) 0;
  dwCallbackInstance = (DWORD) hCallback;
  dwParam1 = (DWORD) idRequest;
  dwParam2 = (DWORD) Status;
  dwParam3 = (DWORD) 0;

Parameters

  • hPhone
    Not used by this message. Value is NULL.
  • dwCallbackInstance
    Value that returns the application's callback instance.
  • dwParam1
    Request identifier for which this is the reply.
  • dwParam2
    Success or error indication. The application should cast this parameter into a LONG. Zero indicates success; a negative number indicates an error.
  • dwParam3
    Not used by this message. Value is NULL.

Return Values

None.

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

OS Versions: Windows CE 3.0 and later.
Header: Tapi.h.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.