LMemoryFile::IsValid

#include "ltwrappr.h"

L_BOOL LMemoryFile::IsValid()

Determines whether the memory file object is ready to be used.

Returns

TRUE

The LMemoryFile object is ready to be used.

FALSE

The LMemoryFile object is not ready to be used.

Comments

Before you can use some of the memory file functions, a bitmap must be associated with the class object. Until you have associated a bitmap with the LMemoryFile object, the object is considered invalid.

Note that the following functions do not require the object to be valid:

LMemoryFile::GetInfo

LMemoryFile::ReadComment

LMemoryFile::ReadTag

Required DLLs and Libraries

LTFIL
File format DLLs

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:

Class Members

Example

For an example, refer to LMemoryFile::LoadMemory.