QPx_GetImporterInfo
QPx_GetImporterInfo(importerRef; importerRef; importerRef; importerRef):error | |||
---|---|---|---|
![]() |
importerRef | Longint | Reference to a graphics importer instance |
![]() |
importerType | Text | Importer type |
![]() |
importerFlags | Longint | Importer flags |
![]() |
importerName | Text | Importer name |
![]() |
error | Longint | Error result |
Get information about an importer
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.
Importer information is returned in the importerType, importerFlags and importerName parameters.
Example
// Get importer info C_LONGINT($error) C_TEXT($type) C_LONGINT($flags) C_TEXT($name) C_LONGINT(gQPixImporter) $error:=QPx_GetImporterInfo (gQPixImporter;$type;$flags;$name) If ($error#qpx_noErr) // Handle the error End if
Related commands
QPx_GetImportTypes | Get the list of available importers |