QPix Command Reference Graphics Importers

QPx_GetImporterInfo

QPx_GetImporterInfo(importerRef; importerType; importerFlags; importerName):error
importerRef Longint Reference to a graphics importer instance
importerType String4 Importer type
importerFlags Longint Importer flags
importerName String255 Importer name
error Longint Error result

Returns information about a graphics importer instance.

The graphics importer instance is specified by importerRef. If importerRef does not refer to an existing graphics importer instance, the qpx_paramErr error code is returned.

Example

  `Get importer info
 
C_LONGINT($error)
C_STRING( 4;$type)
C_LONGINT($flags)
C_STRING( 255;$name)
 
C_LONGINT(gQPixImporter)
 
$error:=QPx_GetImporterInfo (gQPixImporter;$type;$flags;$name)
 
If ($error#qpx_noErr)
   `Handle the error
End if

Related commands

QPx_GetImportTypes Returns the list of available import types

QPix © Escape Information Services
Generated by QDoc 2.6 on Thu, 2 May 2002 00:50:05 +0300