IPrintCoreUI2::DrvGetDriverSetting method is provided by the Windows XP Pscript5 driver so that Pscript5 user interface plug-ins can obtain the current status of printer features and other internal information.
HRESULT DrvGetDriverSetting( PVOID pci, PCSTR Feature, PVOID pOutput, DWORD cbSize, PDWORD pcbNeeded, PDWORD pdwOptionsReturned );
Caller-supplied pointer to an OEMUIOBJ structure.
Caller-supplied value identifying the printer feature for which option settings are returned. This can be either a string pointer or a constant, as described in the following Remarks section.
Caller-supplied pointer to a buffer to receive the specified information.
Caller-supplied size, in bytes, of the buffer pointed to by pOutput.
Caller-supplied pointer to a location to receive the minimum buffer size required to contain the requested information.
Caller-supplied pointer to a location to receive the number of option strings placed in pOutput.
This method must return one of the following values.
||The operation succeeded.|
||The operation failed.|
||The method is not implemented.|
This method is inherited from the IPrintOemDriverUI COM Interface, and can be called only by Windows XP and later Pscript5 UI plug-ins that do not fully replace the core driver's standard UI pages, and is supported during the UI plug-in's IPrintOemUI::DocumentPropertySheets and IPrintOemUI::DevicePropertySheets functions, and their property sheet callback routines. When this method is supported, it has the same behavior as IPrintOemDriverUI::DrvGetDriverSetting. When it is not supported, this method should return E_NOTIMPL.
|Header||prcomoem.h (include Prcomoem.h)|