LMemoryFile::LMemoryFile

#include "ltwrappr.h"

L_VOID LMemoryFile::LMemoryFile(L_VOID)

L_VOID LMemoryFile::LMemoryFile(pBitmap)

LBitmapBase L_FAR * pBitmap;

/* pointer to a bitmap object */

Constructs and initializes the different variables of the class object.

Parameter

Description

pBitmap

Pointer to a LEAD bitmap object, used to initialize the LMemoryFile object.

Returns

None

Comments

LMemoryFile::LMemoryFile() is a constructor for the LMemoryFile class.

LMemoryFile::LMemoryFile(pLBitmap) initializes the member variables using the pLBitmap parameter.

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:

LMemoryFile::~LMemoryFile, Class Members

Example

This is an example for LMemoryFile::LMemoryFile():

L_VOID MyFunction()
{
     // this will call the default constructor and destructor when it is out of scope
     LMemoryFile memFile;

     //…
}

This is an example for LMemoryFile::LMemoryFile(pLBitmap):

L_VOID MyFunction()
{
    LBitmapBase    LeadBitmap ;
    LeadBitmap.Load (TEXT("Image1.cmp"),24,ORDER_RGB) ;

    LMemoryFile    memFile(&LeadBitmap) ;

    //…
}