IPrintOemPS::DisablePDEV method (prcomoem.h)

The IPrintOemPS::DisablePDEV method allows a rendering plug-in for Pscript5 to delete the private PDEV structure that was allocated by its IPrintOemPS::EnablePDEV method.

Syntax

HRESULT DisablePDEV(
  PDEVOBJ pdevobj
);

Parameters

pdevobj

Caller-supplied pointer to a DEVOBJ structure.

Return value

The method must return one of the following values.

Return code Description
S_OK
The operation succeeded.
E_FAIL
The operation failed
E_NOTIMPL
The method is not implemented.

Remarks

The IPrintOemPS::DisablePDEV method performs the same types of operations as the DrvDisablePDEV function that is exported by a printer graphics DLL. Its purpose is to allow a rendering plug-in to delete the private PDEV structure that is pointed to by the DEVOBJ structure's pdevOEM member. This PDEV structure is one that was allocated by the plug-in's IPrintOemPS::EnablePDEV method.

Requirements

Requirement Value
Target Platform Desktop
Header prcomoem.h (include Prcomoem.h)