IFaxServer::put_ArchiveDirectory method (faxcom.h)

The IFaxServer::get_ArchiveDirectory method retrieves the ArchiveDirectory property for a FaxServer object. The ArchiveDirectory property is a null-terminated string that contains the location in which the fax server stores archived outbound faxes.

This property is read/write.

Syntax

HRESULT put_ArchiveDirectory(
  BSTR newVal
);

Parameters

newVal

Return value

None

Remarks

Set the ArchiveOutboundFaxes property to TRUE to archive faxes in the directory specified by the ArchiveDirectory property. The fax server must have access to the directory to successfully store outbound fax transmissions.

The get_ArchiveDirectory 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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header faxcom.h
DLL Faxcom.dll

See also

Fax Service Client API Interfaces

Fax Service Client API for Windows 2000

FaxServer

Freeing Fax Resources

IFaxServer

IFaxServer::get_ArchiveOutboundFaxes