SendToFaxRecipient function (fxsutility.h)
Called by an application to fax a file.
Syntax
DWORD 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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | fxsutility.h |
DLL | Fxsutility.dll |