L_GetPDFInitDir

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_GetPDFInitDir(pszInitDir, uBufSize)

L_TCHAR L_FAR * 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 containing 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 L_SetPDFInitDir.

Required DLLs and Libraries

LTFIL
File format DLLs

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

Windows 95 / 98 / Me, Windows 2000 / XP.

See Also

Functions:

L_SetPDFInitDir

Topics:

Implementing PDF Plug in Features

 

Raster Image Functions: Input/Output File Filters

Example

For an example, refer to L_SetPDFInitDir.