IMPORT_PCX@

Platform

Win32, x64

Purpose

To read in a .PCX file.

Syntax

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

Description

Reads in a PCX file and returns a DIB handle to the image that is compatible with windows bitmaps allowing it 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

 

6

not a PCX 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_BMP@, IMPORT_GIF@, IMPORT_IMAGE@, CLIPBOARD_TO_SCREEN_BLOCK@, IMPORT_FILE_IMAGE@

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited