Partager via


CPageSetupDialog::GetPortName

Call this function after calling DoModal to retrieve the name of the currently selected printer port.

CString GetPortName( ) const;

Return Value

The name of the currently selected printer port.

Requirements

Header: afxdlgs.h

See Also

Reference

CPageSetupDialog Class

Hierarchy Chart

CPageSetupDialog::GetDeviceName

CPageSetupDialog::GetDriverName