IPrintDialogServices interface

Provides methods that enable an application using the PrintDlgEx function to retrieve information about the currently selected printer.

Inheritance

The IPrintDialogServices interface inherits from the IUnknown interface. IPrintDialogServices also has these types of members:

Methods

The IPrintDialogServices interface has these methods.

Method Description
IPrintDialogServices::GetCurrentDevMode Fills a DEVMODE structure with information about the currently selected printer for use with PrintDlgEx.
IPrintDialogServices::GetCurrentPortName Retrieves the name of the current port for use with PrintDlgEx.
IPrintDialogServices::GetCurrentPrinterName Retrieves the name of the currently selected printer, for use with PrintDlgEx.

Remarks

This printer is indicated on the list of installed printers on the General page of the Print Property Sheet.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header commdlg.h (include Windows.h)