Silverfrost Logo About Us | Contact Us
 

IMPORT_BMP@

Platform

Win32(ClearWin+)

Purpose

To read in a BMP file.

Syntax

INTEGER(7) FUNCTION IMPORT_BMP@( FILENAME, ERROR )
CHARACTER*(*) FILENAME
INTEGER     ERROR

Description

Reads in a BMP file and returns a DIB handle to the image. The handle can then be used with DIB_PAINT@, DIB_PRINT@ and EXPORT_BMP@. ERROR returns one of the following:

 

 

0

success

 

2

unable to read file

 

4

insufficient memory

 

5

not a BMP file

 

10

unable to open file


 

Return value

Returns a handle to the image or zero on failure.

See also

GET_SCREEN_DIB@, RELEASE_SCREEN_DIB@, IMPORT_PCX@, CLIPBOARD_TO_SCREEN_BLOCK@

 

 

Copyright © 1999-2017 Silverfrost Limited