IPrintOemPS::DisableDriver method (prcomoem.h)
The IPrintOemPS::DisableDriver
method allows a rendering plug-in for Pscript to free resources that were allocated by the plug-in's IPrintOemPS::EnableDriver method.
Syntax
HRESULT DisableDriver();
Return value
The method must return one of the following values.
Return code | Description |
---|---|
|
The operation succeeded. |
|
The operation failed |
|
The method is not implemented. |
Remarks
The IPrintOemPS::DisableDriver
method, provided by rendering plug-ins for Pscript5, performs the same types of operations as the DrvDisableDriver function that is exported by Pscript5's printer graphics DLL.
IPrintOemPS::DisableDriver
and IPrintOemPS::EnableDriver must be implemented as a pair. If you implement one, you must implement the other. For more information, see the Remarks section in IPrintOemPS::EnableDriver.
This is the last IPrintOemPS interface method that is called before the rendering plug-in is unloaded.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | prcomoem.h (include Prcomoem.h) |