|
ICGetDisplayFormat
The ICGetDisplayFormat function determines the best format available for displaying a compressed
image. The function also opens a compressor if a handle of an open compressor is
not specified.
HIC ICGetDisplayFormat(
HIC hic,
|
| LPBITMAPINFOHEADER lpbiIn,
|
| LPBITMAPINFOHEADER lpbiOut,
|
| int BitDepth,
|
| int dx,
|
| int dy
|
| );
|
|
Parameters
hic
Handle of the compressor to use. Specify NULL to have VCM select and open an
appropriate compressor.
lpbiIn
Address of BITMAPINFOHEADER structure containing the compressed format.
lpbiOut
Address of a buffer to return the decompressed format. The buffer should be
large enough for a BITMAPINFOHEADER structure and 256 color entries.
BitDepth
Preferred bit depth, if nonzero.
dx, dy
Width and height multipliers to stretch the image. If this parameter is zero,
that dimension is not stretched.
Return Values
Returns a handle to a decompressor if successful or zero otherwise.
See Also
BITMAPINFOHEADER
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
TMS Scripter Studio Pro components for Delphi/C++Builder
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
|