PHONECALLBACK callback function (tapi.h)

The phoneCallback function is a placeholder for the application-supplied function name.

Syntax

PHONECALLBACK Phonecallback;

void Phonecallback(
  DWORD hDevice,
  DWORD dwMessage,
  DWORD_PTR dwInstance,
  DWORD_PTR dwParam1,
  DWORD_PTR dwParam2,
  DWORD_PTR dwParam3
)
{...}

Parameters

hDevice

Handle to a phone device associated with the callback.

dwMessage

dwInstance

dwParam1

Parameter for the message.

dwParam2

Parameter for the message.

dwParam3

Parameter for the message.

Return value

None

Remarks

For more information about the parameters passed to this callback function, see TAPI Messages.

All callbacks occur in the application's context. The callback function must reside in a dynamic-link library (DLL) or application module and be exported in the module-definition file.

Requirements

Requirement Value
Target Platform Windows
Header tapi.h