This function opens the image contained in hpMem and returns a handle to be used with the other ImageMan functions.
|
Parameter |
Type |
Description |
|
hpMem |
HPSTR |
Points to a buffer containing the image to open. |
|
dwSize |
DWORD |
Size, in bytes, of the image in hpMem. Note that this is not necessarily the size of the memory block. |
|
lpExt |
LPSTR |
Can be set to NULL. Gives ImageMan a hint as to the type of image in the memory block. |
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
hpMem must contain a valid file format, i.e., it must be identical to what a given image would look like in a disk file.
© 1995-2004 Data Techniques, Inc. All rights reserved.