#include "Ltprinter.h"
L_LTPRINTER_API L_INT L_PrnGetNetworkInitialData(pszPrinterName, phGlobalData, plLength
Retrieves the initial data, and fills it in an HGLOBAL pointer.
Character string that contains the printer's name.
HGLOBAL pointer to be filled with initialization data.
Size of the HGLOBAL data that was filled.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The L_PrnGetNetworkInitialData function will fill the phGlobalData pointer with data initialization data. The plLength parameter will contain the size of the pointer.
Required DLLs and Libraries
Win32, x64.
For an example, refer to L_PrnGetRemoteData.