|
Syntax
typedef struct ImageCodecInfo {
CLSID ClassID;
GUID FormatID;
WCHAR * CodecName;
WCHAR * DllName;
WCHAR * FormatDescription;
WCHAR * FilenameExtension;
WCHAR * MimeType;
DWORD Flags;
DWORD Version;
DWORD SigCount;
DWORD SigSize;
BYTE * SigPattern;
BYTE * SigMask;
};
PowerBASIC
Syntax
TYPE ImageCodecInfo
ClassID AS GUID
FormatID AS GUID
CodecName AS DWORD
DllName AS DWORD
FormatDescription AS DWORD
FilenameExtension AS DWORD
MimeType AS DWORD
Flags AS DWORD
Version AS DWORD
SigCount AS DWORD
SigSize AS DWORD
SigPattern AS BYTE PTR
SigMask AS BYTE PTR
END TYPE
Members
ClassID
Codec
identifier.
FormatID
File
format identifier. GUIDs that identify various file formats (ImageFormatBMP,
ImageFormatEMF, and the like) are defined in Gdiplusimaging.h.
CodecName
Pointer
to a null-terminated wide string that contains the codec name.
DllName
Pointer
to a null-terminated wide string that contains the path name of the DLL in
which the codec resides. If the codec is not in a DLL, this pointer is NULL.
FormatDescription
Pointer
to a null-terminated wide string that contains the name of the file format used
by the codec.
FilenameExtension
Pointer
to a null-terminated wide string that contains all file-name extensions
associated with the codec. The extensions are separated by semicolons.
MimeType
Pointer
to a null-terminated wide string that contains the mime type of the codec.
Flags
Combination
of flags from the ImageCodecFlags enumeration.
Version
Integer
that indicates the version of the codec.
SigCount
Integer
that indicates the number of signatures used by the file format associated with
the codec.
SigSize
Integer
that indicates the number of bytes in each signature.
SigPattern
Pointer
to an array of bytes that contains the pattern for each signature.
SigMask
Pointer
to an array of bytes that contains the mask for each signature.
|