LBaseFile::GetDefaultLoadFileOption

#include "ltwrappr.h.h"

static L_INT LBaseFile::GetDefaultLoadFileOption(pLoadFileOption, uStructSize)

pLOADFILEOPTION pLoadFileOption;

/* 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

pLoadFileOption

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

uStructSize

Size of the LOADFILEOPTION structure pointed to by pLoadFileOption. 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:

LAnnContainer::Load

LAnnContainer::LoadOffset

LFile::ReadLoadResolutions

LFile::FileConvert

LFile::GetCommentSize

LFile::GetInfo

LFile::Load

LFile::LoadList

LFile::LoadFile

LFile::LoadLayer

LFile::LoadTile

LFile::LoadOffset

LFile::ReadComment

LFile::ReadCommentExt

LFile::ReadFileTransforms

LFile::ReadTag

LFile::ReadStamp

LFile::StartFeedLoad

LFileSettings::GetLoadResolution

LMemoryFile::GetInfo

LMemoryFile::Load

LMemoryFile::LoadMemory

LMemoryFile::LoadMemoryTile

LMemoryFile::ReadComment

LMemoryFile::ReadTag

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.

See Also

Functions:

LFile::LoadCMYKArray, LFile::SaveCMYKArray, LPaint::PaintDCCMYKArray, LFile::Compact, LBaseFile::GetDefaultSaveFileOption, Class Members

Example

L_INT LBaseFile__GetDefaultLoadFileOptionExample(HWND hWnd)
{
   UNREFERENCED_PARAMETER(hWnd);
   
   LOADFILEOPTION LoadFileOption;
   SAVEFILEOPTION SaveFileOption;
     //Gets the default load file options
   LBaseFile::GetDefaultLoadFileOption(&LoadFileOption,sizeof(LOADFILEOPTION)); 
   //Gets the default save fileoptions
   LBaseFile::GetDefaultSaveFileOption(&SaveFileOption, sizeof(SAVEFILEOPTION));
   
   return SUCCESS;
}