SendToFaxRecipient function

Applies to: desktop apps only

Called by an application to fax a file.

Syntax

DWORD WINAPI SendToFaxRecipient(
  SendToMode sndMode,
  LPCWSTR lpFileName
);

Parameters

sndMode

Type: SendToMode

A value specifying how to send the fax. For Windows Vista, this must be SEND_TO_FAX_RECIPIENT_ATTACHMENT.

lpFileName

Type: LPCWSTR

Pointer to a constant null-terminated string representing the name of the file to fax.

Return value

Type: DWORD

Zero, if the operation is successful.

Remarks

Call CanSendToFaxRecipient first to determine if faxing from within an application is possible on the computer.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Fxsutility.h

DLL

Fxsutility.dll

See also

Shell Fax Extension Functions
CanSendToFaxRecipient
SendToMode

 

 

Build date: 5/5/2012

Show: