Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the name of the currently selected printer port.
CString GetPortName( ) const;
Return Value
The name of the currently selected printer port.
Remarks
Call this function after calling DoModal or GetDefaults to retrieve the name of the currently selected printer port.
Example
See the example for CPrintDialog::GetDeviceName.
Requirements
Header: afxdlgs.h