IFaxPorts::get_Count method (faxcom.h)

The IFaxPorts::get_Count method retrieves the number of fax ports attached to the connected fax server.

Syntax

HRESULT get_Count(
  [out] long *pVal
);

Parameters

[out] pVal

Type: LONG*

A pointer to a LONG that receives the number of fax ports attached to the connected fax server.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

After calling the IFaxPorts::get_Count method, a fax client application can call the IFaxPorts::get_Item method to retrieve an interface pointer to one or more FaxPort objects.

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

GetPorts

IFaxPort

IFaxPorts

IFaxPorts::get_Item