IPrintDialogServices interface

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


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


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.


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


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)