OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TPrinter::TDevMode Class Reference

Contains information about the initialization and environment of a printer device. More...

#include <owl/printer.h>

Public Member Functions

 TDevMode (const tstring &device)
 Retrieves the DEVMODE device data for the given device.
 
auto GetData () const -> const DEVMODE *
 Returns a pointer to the device data (const).
 
auto GetData () -> DEVMODE *
 Returns a pointer to the device data.
 

Detailed Description

Contains information about the initialization and environment of a printer device.

Encapsulates the DEVMODE structure in the Windows API. http://msdn.microsoft.com/en-gb/library/windows/desktop/dd183565.aspx

Definition at line 172 of file printer.h.

Constructor & Destructor Documentation

◆ TDevMode()

owl::TPrinter::TDevMode::TDevMode ( const tstring & device)

Retrieves the DEVMODE device data for the given device.

Definition at line 369 of file printer.cpp.

Member Function Documentation

◆ GetData() [1/2]

auto owl::TPrinter::TDevMode::GetData ( ) -> DEVMODE*
inline

Returns a pointer to the device data.

Definition at line 185 of file printer.h.

◆ GetData() [2/2]

auto owl::TPrinter::TDevMode::GetData ( ) const -> const DEVMODE*
inline

Returns a pointer to the device data (const).

Definition at line 180 of file printer.h.


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