Silverfrost Logo About Us | Contact Us
 

IMPORT_PCX@

Platform

Win32(ClearWin+)

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@, CLIPBOARD_TO_SCREEN_BLOCK@

 

 

Copyright © 1999-2017 Silverfrost Limited