L_GetResourceDirectory(resource, directory, count)

Include

#include "l_bitmap.h"

Syntax

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

Summary

Gets the path for the specified LEADTOOLS resource directory.

Parameters

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.

Remarks

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

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

Returns

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

Platforms

Win32, x64, Linux.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help