QPx_GetImportTypes(importTypes; importTypes; importTypes; importTypes; importTypes):error
importTypes Array text Importer primary types
aliasTypes Array text Importer alias types
importNames Array text Importer names
mimeTypes Array text Importer MIME types
fileExtensions Array text Importer file extensions
error Longint Error result

Get the list of available importers

All information is returned in the arrays passed as parameters. For each available graphics import component, a row in the set of arrays denotes the following:

importTypes The primary file type for images recognized by the importer (ex. "BMPf")

aliasTypes A comma-separated list of aliases of the primary file type (ex. "BMP ,BMPp")

importNames The verbose name of the import component (ex. "Windows BMP Image")

mimeTypes A comma-separated list of MIME types for the supported images (ex. "image/x-bmp")

fileExtensions A comma-separated list of file extensions for the supported images (ex. "bmp,dib")


ARRAY TEXT(gImportTypes;0)
ARRAY TEXT(gImportAliasTypes;0)
ARRAY TEXT(gImportNames;0)
ARRAY TEXT(gImportMime;0)
ARRAY TEXT(gImportExtensions;0)

$err:=QPx_GetImportTypes (gImportTypes;gImportAliasTypes;gImportNames;gImportMime;gImportExtensions)