ImageMan DLL Suite Version 8Submit feedback on this topic   

ImgFromClipboard

HANDLE IMAPI ImgFromClipboard ()

This function returns an ImageMan image handle representing the clipboard contents.

 

This function takes no parameters.

 

Return Value

The return value is a valid ImageMan image handle on success, a NULL handle on failure.

Comments

ImageMan can currently accept the CF_DIB and CF_METAFILEPICT formats over the clipboard. An application should verify that one of these formats is available before calling this function otherwise, a NULL handle will be returned.

 

An image created from the clipboard can be manipulated in the same manner as a "normal" ImageMan image, with the exception that it cannot be unloaded via the ImgUnload function. Also, the image will return IMG_MEM_BASED in the flags field of an ImgGetInfo call.

 

 


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