IFaxPort::get_Name method (faxcom.h)

The IFaxPort::get_Name property is a null-terminated string that contains the user-friendly display name for a fax port.

This property is read-only.

Syntax

HRESULT get_Name(
  BSTR *pVal
);

Parameters

pVal

Return value

None

Remarks

Note that it is possible for multiple fax ports to have the same user-friendly name. Use the IFaxPort::get_DeviceId property to uniquely identify a fax port.

IFaxPort::get_Name 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]
Target Platform Windows
Header faxcom.h
DLL Faxcom.dll

See also

Fax Service Client API Interfaces

Fax Service Client API for Windows 2000

IFaxPort

IFaxPort::get_DeviceId

IFaxPorts