IPrintDialogServices interface (commdlg.h)
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.
IPrintDialogServices::AddRef The IPrintDialogServices::AddRef method (commdlg.h) is IUnknown's AddRef method, which decrements the reference count for an interface on a COM object. |
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. |
IPrintDialogServices::QueryInterface The IPrintDialogServices::QueryInterface method (commdlg.h) is IUnknown's QueryInterface method, which queries a COM object for a pointer. |
IPrintDialogServices::Release The IPrintDialogServices::Release method (commdlg.h) is IUnknown's Release method, which decrements the reference count for an interface on a COM object. |
Remarks
This printer is indicated on the list of installed printers on the General page of the Print Property Sheet.
Requirements
Requirement | Value |
---|---|
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) |