L_PrnGetNetworkInitialData

Summary

Retrieves the initial data, and fills it in an HGLOBAL pointer.

Syntax

#include "Ltprinter.h"

L_LTPRINTER_API L_INT L_PrnGetNetworkInitialData(pszPrinterName, phGlobalData, plLength

Parameters

L_TCHAR * pszPrinterName

Character string that contains the printer's name.

HGLOBAL *phGlobalData

HGLOBAL pointer to be filled with initialization data.

L_LONG *plLength

Size of the HGLOBAL data that was filled.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to L_PrnGetRemoteData.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Virtual Printer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.