LPDEVNAMES lpDev = (LPDEVNAMES)::GlobalLock(m_psd.hDevNames);
LPDEVNAMES lpDev = (LPDEVNAMES)::GlobalLock(m_pd.hDevNames); if(lpDev == NULL) return NULL;
	LPCTSTR GetPortName() const     // return output port name	{		if(m_psd.hDevNames == NULL)			return NULL;		LPDEVNAMES lpDev = (LPDEVNAMES)::GlobalLock(m_psd.hDevNames);		return (LPCTSTR)lpDev + lpDev->wOutputOffset;	}