IFaxJob::get_SenderName method (faxcom.h)

The IFaxJob::get_SenderName property is a null-terminated string that contains the name of the sender who initiated the fax job. The IFaxJob::get_SenderName property applies only to outgoing fax transmissions.

This property is read-only.

Syntax

HRESULT get_SenderName(
  BSTR *pVal
);

Parameters

pVal

Return value

None

Remarks

If the sender's name is not available, the IFaxJob::get_SenderName property contains an empty string.

You can call the IFaxJob::get_UserName method to retrieve the name of the account that queued the fax job.

IFaxJob::get_SenderName 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

IFaxJob

IFaxJob::get_UserName

IFaxJobs