Platform SDK: TAPI

phoneCallbackFunc

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

VOID FAR PASCAL phoneCallbackFunc(
  HANDLE hDevice,            
  DWORD dwMsg,               
  DWORD dwCallbackInstance,  
  DWORD dwParam1,            
  DWORD dwParam2,            
  DWORD dwParam3             
);

Parameters

hDevice
A handle to a phone device associated with the callback.
dwMsg
A line or call device message.
dwCallbackInstance
Callback instance data passed back to the application in the callback. This DWORD is not interpreted by TAPI.
dwParam1
A parameter for the message.
dwParam2
A parameter for the message.
dwParam3
A parameter for the message.

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

  Windows NT/2000: Requires Windows NT 4.0 SP3 or later.
  Windows 95/98: Requires Windows 95 or later.
  Version: Requires TAPI 1.3 or later.
  Header: Declared in Tapi.h.