L_EpnDeleteDC

#include "l_eprint.h"

L_VOID EXT_FUNCTION L_EpnDeleteDC (hDC);

HDC hDC;

/* handle to an existing device context */

Deletes the specified device context (DC).

Parameter

Description

hDC

Handle to an existing device context to be deleted. This must be a DC that was created by calling L_EpnCreateSaveDC, L_EpnCreateRedirectionDC, or L_EpnCreateEmailDC.

Returns

None.

Comments

Support for Basic functionality must be unlocked by calling the L_EpnUnlockSupport function before using this function.

For every DC created by calling L_EpnCreateSaveDC, L_EpnCreateRedirectionDC, or L_EpnCreateEmailDC, there must be a call to L_EpnDeleteDC to free it.

Required DLLs and Libraries

LPKRN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to ePrint Files.

See Also

Functions:

L_EpnLockOEMPrinter, L_EpnUnlockOEMPrinter, L_EpnInstallOEMPrinter, L_EpnUninstallOEMPrinter, L_EpnCreateSaveDC, L_EpnCreateRedirectionDC, L_EpnCreateEmailDC

Topics:

ePrint: Printing indirectly to OEM Printers

 

Redirecting to Send an Email

Example

For an example, refer to L_EpnCreateSaveDC.