ImageMan DLL Suite Version 8Submit feedback on this topic   

ImgOpenSolo

HANDLE IMAPI ImgOpenSolo ( lpFilename, lpExt)

This function opens the specified image and returns a handle to be used with the other ImageMan functions.

 

Parameter

Type

Description

lpFileName

LPSTR

Points to a buffer containing the path & filename of the image to open.

lpExt

LPSTR

Can be set to NULL. Gives ImageMan a hint as to the type of image being opened.

 

Return Value

The return value specifies the handle used to refer to the image. It is NULL if the file could not be opened.

Comments

ImageMan will quickly automatically detect the format of any image passed to it; therefore the lpExt parameter is no longer required. If set, ImageMan will try to load the image as that type first, but will still auto-detect the proper format.

 

 


© 1995-2004 Data Techniques, Inc. All rights reserved.