Partager via


PHONEEVENT (Windows CE 5.0)

Send Feedback

This type is a callback function implemented by TAPI and supplied to the service provider as a parameter to the TSPI_phoneOpen function. The service provider calls this function to report events that occur on the phone.

PHONEEVENT Phone_Event; void(CALLBACK *Phone_Event)(HTAPIPHONE htPhone,DWORD dwMsg,DWORD dwParam1,DWORD dwParam2,DWORD dwParam3);

Parameters

  • htPhone
    TAPI handle for the phone on which the event occurred.
  • dwMsg
    Value that specifies the kind of event that is being reported. Interpretation of the other parameters is done in different ways according to the context indicated by dwMsg.
  • dwParam1
    A parameter for the message.
  • dwParam2
    A parameter for the message.
  • dwParam3
    A parameter for the message.

Return Values

None.

Remarks

The call state when calling this function can be any state.

The service provider passes the HTAPIPHONE value supplied to TSPI_phoneOpen as the htPhone parameter. It includes the message identifier and parameters specific to the event.

The sets of messages that can be passed to this procedure differ slightly from the messages to the corresponding callback at the TAPI level. In particular, completion of asynchronously executing requests is reported through the ASYNC_COMPLETION callback instead of this one.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Tapicomn.h.
Link Library: Coredll.lib.

See Also

TSPI_phoneOpen | ASYNC_COMPLETION

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.