L_GetDefaultLoadFileOption

#include "l_bitmap.h"

L_LTFIL_API L_INT L_GetDefaultLoadFileOption(pLoadOptions, uStructSize)

pLOADFILEOPTION pLoadOptions;

/* pointer to a LOADFILEOPTION structure */

L_UINT uStructSize;

/* size of the LOADFILEOPTION structure */

Gets the default extended values that are used when loading a file.

Parameter

Description

pLoadOptions

Pointer to the LOADFILEOPTION structure to be updated with the current extended values.

uStructSize

Size of the LOADFILEOPTION structure pointed to by pLoadOptions. The size of this structure must be specified.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Functions that use the LOADFILEOPTION structure:

L_AnnLoad

L_AnnLoadOffset

L_AnnLoadMemory

L_LoadBitmapMemory

L_LoadMemory

L_ReadLoadResolutions

L_ReadFileTransforms

L_FileInfo

L_FileInfoMemory

L_ReadFileStamp

L_GetLoadResolution

L_GetFileCommentSize

L_LoadBitmap

L_LoadBitmapList

L_LoadBitmapMemory

L_LoadFile

L_LoadFileTile

L_LoadFileOffset

L_LoadLayer

L_LoadMemory

L_ReadFileComment

L_ReadFileComments

L_ReadFileCommentExt

L_ReadFileCommentMemory

L_ReadFileTag

L_ReadFileTagMemory

L_ReadFileStamp

L_StartFeedLoad

L_FileConvert

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, Mobile.

See Also

Functions:

L_GetDefaultSaveFileOption, L_LoadMemoryTile

Example

For an example, refer to L_LoadFile.