L_GetResourceDirectory(resource, directory, count)


#include "l_bitmap.h"


L_LTKRN_API L_INT L_GetResourceDirectory(resource, directory, count)

L_LEADResourceDirectory\ resource; resource
L_TCHAR* directory; resource directory
L_UINT count; size of string


Gets the path for the specified LEADTOOLS resource directory.


Parameter Description
resource The resource directory to get.
directory Pointer to a string to be updated with the path for the specified LEADTOOLS resource directory.
count The size in characters of the string pointed to by directory.


Some LEADTOOLS functions will use a common resource directory at runtime. Use this function to get the path to the desired resource directory.

Required DLLs and Libraries

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


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


Win32, x64, Linux.

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

LEADTOOLS Raster Imaging C API Help