#include "l_bitmap.h"
L_LTFIL_API L_INT L_FreeFilterData(nFilter, pFilterData, uFilterDataSize, bLoad)
L_INT nFilter; |
indicates which filter allocated this structure |
L_VOID *pFilterData; |
pointer to the filter data |
L_SIZE_T uFilterDataSize; |
size of the filter data structure |
L_BOOL bLoad; |
indicates whether this was used for load or save |
Frees the filter data information obtained using L_FileInfo.
Parameter |
Description |
nFilter |
Indicates which filter allocated this structure. Pass the value retrieved from FILEINFO.nFilter. |
pFilterData |
Pointer to the filter data. Pass the value retrieved from FILEINFO.pFilterData. |
uFilterDataSize |
Indicates the size of the filter data (usually 0). Pass the value retrieved from FILEINFO.nFilter. |
bLoad |
Indicates whether the filter data is used for loading or saving. Currently, only the load mechanism supports filter data, so always pass L_TRUE. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
This function should be called to free the filter data obtained from L_FileInfo. Call this function when the filter data is not needed anymore. See Using Filter Data to Speed up Loading Large Files for more information.
Note: There is a function, called L_FreeFilterInfo, that has a name similar to L_FreeFilterData.
Use L_FreeFilterInfo to free the information obtained by calling L_GetFilterListInfo function or L_GetFilterInfo.
Use L_FreeFilterData to free the information obtained by calling L_FileInfo.
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. |
Win32, x64.
Functions: |
|
Topics: |
|
Raster Image Functions: Loading Files | |
|
For an example, refer to Using Filter Data to Speed up Loading Large Files.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET