FIPISopen
Back to index
 

Description:
function that loads image from local file and returns it's handle to Imager.

Definition:
function FIPISopen(path, ext: PChar; app: THandle):hBitmap; stdcall;

Variables:
path - path of file to open
ext - registered extension
app - calling process handle

Should return:
bitmap handle - if success
0 - if failed

Notes:

  1. Function shouldn't display any dialogs, dialog boxes or error message. Completely silent.
  2. Path passed to function is absolute ( "X:\Full\path\image.ext" without quotes).
  3. Returned hBitmap should be released (in Delphi use ReleaseBitmap() method of TBitmap object).
 
© 1999-2001 Alexander S. Tereschenko