The IPrintTicketProvider::BindPrinter method binds a printer or print queue to a specific version of the Print Ticket schema. This enables the core driver to associate a set of private namespace URIs with a device.
Binding to a device enables the provider to cache certain objects and handles that it will use to perform future Print Ticket or device capabilities services for that device.
The IPrintTicketProvider::BindPrinter method is guaranteed to be called only once for each PrintTicketProvider instance.
The following sample code illustrates the method's arguments.
STDMETHODIMP CPrintTicketProvider:: BindPrinter( THIS_ HANDLE hPrinter, INT version, PSHIMOPTS pOptions, DWORD *pDevModeFlags, INT *pcNamespaces, BSTR **ppNamespaces)
Build date: 11/28/2012