Platform SDK: Fax Services |
The FAX_LINECALLBACK function is an application-defined or library-defined callback function that the fax service calls to deliver TAPI events to the fax service provider.
The PFAX_LINECALLBACK data type is a pointer to a FAX_LINECALLBACK function. FAX_LINECALLBACK is a placeholder for an application-defined or library-defined function name.
void CALLBACK FAX_LINECALLBACK( HANDLE FaxHandle, // fax handle DWORD hDevice, // line or call device handle DWORD dwMessage, // line or call device message DWORD_PTR dwInstance, // instance data DWORD_PTR dwParam1, // message parameter DWORD_PTR dwParam2, // message parameter DWORD_PTR dwParam3 // message parameter );
None.
The fax service provider must register the FAX_LINECALLBACK callback function by passing its address when the fax service calls the FaxDevInitialize function.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in faxdev.h.
Import Library: User-defined.
Fax Service Provider Application Programming Interface Overview, Fax Service Provider Functions, FaxDevStartJob, FaxDevInitialize, lineInitializeEx