IFaxServerNotify::OnNewCall method
Applies to: desktop apps only
The fax service calls the IFaxServerNotify::OnNewCall method when there is a new incoming fax call.
HRESULT OnNewCall(
IFaxServer *pFaxServer,
long lCallId,
long lDeviceId,
long bstrCallerId
);
pFaxServer
Type: IFaxServer*A FaxServer object.
lCallId
Type: longLong value that specifies the call's ID.
lDeviceId
Type: longLong value that specifies the device ID of the device receiving the new incoming fax call.
bstrCallerId
Type: longNull-terminated string that identifies the calling device for the new incoming fax call.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
To implement this functionality in Visual Basic, select and implement the appropriate event procedure. For an example, see Registering for Fax Events.
Minimum supported client |
Windows XP |
Minimum supported server |
Windows Server 2003 |
Header |
FaxComex.h |
DLL |
Fxscomex.dll |
Build date: 5/5/2012