LBaseFile::GetDefaultSaveFileOption

#include "ltwrappr.h"

static L_INT LBaseFile::GetDefaultSaveFileOption(pSaveFileOption, uStructSize)

pSAVEFILEOPTION pSaveFileOption;

/* pointer to a SAVEFILEOPTION structure */

L_UINT uStructSize;

/* size of the SAVEFILEOPTION structure */

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

Parameter

Description

pSaveFileOption

Pointer to the SAVEFILEOPTION structure to be filled with the current extended values.

uStructSize

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

LFile::FileConvert

LFile::DeletePage

LFile::WriteFileTransforms

LFile::Save

LFile::SaveList

LMemoryFile::Save

LFile::SaveFile

LFile::SaveWithLayers

LFile::SaveTile

LFile::SaveOffset

LMemoryFile::StartCompressBuffer

LFile::WriteComment

LFile::WriteStamp

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::Compact, LBaseFile::GetDefaultLoadFileOption

Example

For an example, refer to LBaseFile::GetDefaultLoadFileOption.