IFaxStatus::get_PageCount method (faxcom.h)

Retrieves the PageCount property for the FaxStatus object of a parent FaxPort object. The PageCount property represents the total number of pages in an outbound fax transmission.

This property is read-only.

Syntax

HRESULT get_PageCount(
  long *pVal
);

Parameters

pVal

Return value

None

Remarks

If the page count is not available, the IFaxStatus::get_PageCount method returns zero.

You can use the PageCount property of a FaxStatus object in conjunction with the CurrentPage property of the object to provide users with a running page count for an outbound fax job. For example, you could inform a user that the fax server is currently transmitting the second page of a four page transmission.

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

IFaxPort

IFaxPorts

IFaxStatus

IFaxStatus::get_CurrentPage