IPrintOemUni::DisablePDEV method

The IPrintOemUni::DisablePDEV method allows a rendering plug-in for Unidrv to delete the private PDEV structure that was allocated by its IPrintOemUni::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

Remarks

A rendering plug-in for Unidrv must implement the IPrintOemUni::DisablePDEV method.

The IPrintOemUni::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 IPrintOemUni::EnablePDEV method.

Requirements

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