|
ICDecompressGetFormat
The ICDecompressGetFormat macro requests the output format of the decompressed data from a video
decompression driver. You can use this macro or explicitly call the ICM_DECOMPRESS_GET_FORMAT message.
DWORD ICDecompressGetFormat(
hic,
|
| lpbiInput,
|
| lpbiOutput
|
| );
|
|
hic
Handle of a decompressor.
lpbiInput
Address of a BITMAPINFO structure containing the input format.
lpbiOutput
Address of a BITMAPINFO structure to contain the output format. You can specify zero to request only
the size of the output format, as in the ICDecompressGetFormatSize macro.
Return Values
If lpbiOutput is zero, returns the size of the structure.
If lpbiOutput is nonzero, returns ICERR_OK if successful or an error otherwise.
Remarks
If lpbiOutput is nonzero, the driver should fill the BITMAPINFO structure with the default output format corresponding to the input format
specified for lpbiInput. If the compressor can produce several formats, the default format should be
the one that preserves the greatest amount of information.
See Also
BITMAPINFO, ICDecompressGetFormatSize, ICM_DECOMPRESS_GET_FORMAT
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|