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:
- Function shouldn't display any dialogs, dialog boxes or error message.
Completely silent.
- Path passed to function is absolute ( "X:\Full\path\image.ext"
without quotes).
- Returned hBitmap should be released (in Delphi use ReleaseBitmap()
method of TBitmap object).
|