Share via


FaxDoc.FileName property

Sets or retrieves the FileName property for a FaxDoc object. The FileName property is a null-terminated string that contains the name of the document file associated with the object.

This property is read/write.

Syntax

Property FileName As String

Property value

A String that specifies or receives the fully qualified path and name of the file to transmit.

Remarks

The FileName property is required to send a fax transmission using a call to the Send method. For more information, see Transmitting Faxes.

The get_FileName method allocates the memory required for the buffer pointed to by the pVal parameter. The client application must call the SysFreeString function to deallocate the resources associated with this parameter. For more information, see Freeing Fax Resources.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Faxcom.h
DLL
Faxcom.dll

See also

FaxDoc

Fax Service Client API for Windows 2000

Fax Service Client API Interfaces

IFaxDoc

SysFreeString