crashrpt2
Public Member Functions | Public Attributes | List of all members
WTL::CPrinterT< t_bManaged > Class Template Reference

Public Member Functions

 CPrinterT (HANDLE hPrinter=NULL)
 
CPrinterToperator= (HANDLE hPrinter)
 
bool IsNull () const
 
bool OpenPrinter (HANDLE hDevNames, const DEVMODE *pDevMode=NULL)
 
bool OpenPrinter (LPCTSTR lpszPrinterName, const DEVMODE *pDevMode=NULL)
 
bool OpenPrinter (LPCTSTR lpszPrinterName, PRINTER_DEFAULTS *pprintdefs)
 
bool OpenDefaultPrinter (const DEVMODE *pDevMode=NULL)
 
void ClosePrinter ()
 
bool PrinterProperties (HWND hWnd=NULL)
 
HANDLE CopyToHDEVNAMES () const
 
HDC CreatePrinterDC (const DEVMODE *pdm=NULL) const
 
HDC CreatePrinterIC (const DEVMODE *pdm=NULL) const
 
void Attach (HANDLE hPrinter)
 
HANDLE Detach ()
 
 operator HANDLE () const
 

Public Attributes

HANDLE m_hPrinter
 

The documentation for this class was generated from the following file: