Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 |
|---|---|
|
The operation succeeded. |
|
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
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | prcomoem.h (include Prcomoem.h) |