#include "l_eprint.h"
L_INT EXT_FUNCTION L_EpnCreatePrintersList (phPrintersList)
HEPNPRINTERSLIST L_FAR * phPrintersList; |
/* pointer to a printers list handle */ |
Creates an empty printers list.
Parameter |
Description |
phPrintersList |
Pointer to a printers list handle. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Support for Basic functionality must be unlocked by calling the L_EpnUnlockSupport function before using this function.
The printers list is the list of printers to which the print command(s) will be sent.
When the handle to the printers list is no longer needed, it should be freed by calling L_EpnDestroyPrintersList. For every call to L_EpnCreatePrintersList there must be a call to L_EpnDestroyPrintersList.
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
Example
For an example, refer to L_EpnInstallOEMPrinter.