Compartir a través de


FaxStatus.DeviceName property

Retrieves the DeviceName property for the FaxStatus object of a parent FaxPort object. The DeviceName property is a null-terminated string that contains the user-friendly display name for the fax port.

This property is read-only.

Syntax

Property DeviceName As String

Property value

A String that receives the user-friendly name to associate with the fax port.

Remarks

Note that it is possible for multiple fax ports to have the same user-friendly name. You can use the DeviceId property of a FaxStatus object to uniquely identify a fax port, and associate a FaxStatus object with a FaxPort object.

The IFaxStatus::get_DeviceName 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

FaxStatus

Fax Service Client API for Windows 2000

Fax Service Client API Interfaces

IFaxStatus

DeviceId

IFaxPorts

IFaxPort

SysFreeString