LFileSettings::GetPDFInitDir

#include "ltwrappr.h"

static L_INT LFileSettings::GetPDFInitDir(pszInitDir, uBufSize)

L_TCHAR * pszInitDir;

/* path of the initialization directory */

L_UINT uBufSize;

/* size in bytes of the data buffer pointed to by pszInitDir */

Retrieves the current path of the PDF initialization directories.

Parameter

Description

pszInitDir

Character string that contains the PDF initialization directory path to update.

uBufSize

The size (in bytes) of the data buffer that pszInitDir points to.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function retrieves the current path of the PDF initialization directories.

The default PDF initialization directories path is stored in the system registry key: "HKEY_LOCAL_MACHINE\SOFTWARE\LEAD Technologies, Inc.\Pdf\GS_LIB".

If this function returns an empty string (length = 0), then the engine will look for the PDF Initialization files in the default PDF initialization directories path (specified by the registry key).

To set a new path for the PDF initialization directories, call LFileSettings::SetPDFInitDir.

Required DLLs and Libraries

LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LFileSettings::SetPDFInitDir

Topics:

PDF Features

 

Raster Image Functions: Input/Output File Filters

Example

For an example, refer to LFileSettings::SetPDFInitDir.