共用方式為


CCommandLineInfo::m_strDriverName

Stores the value of the third non-flag parameter on the command line.

CString m_strDriverName;

Remarks

This parameter is typically the name of the printer driver for a Print To shell command. The default implementation of ParseParam sets this data member only if the /pt flag was found on the command line.

Requirements

Header: afxwin.h

See Also

Reference

CCommandLineInfo Class

Hierarchy Chart

CCommandLineInfo::m_strFileName

CCommandLineInfo::m_strPrinterName

CCommandLineInfo::m_strPortName

CWinApp::ProcessShellCommand