|
Obtaining Information About Compressors and Decompressors
The following example uses the ICGetInfo function to obtain information about a compressor or decompressor.
ICINFO ICInfo;
ICGetInfo(hIC, &ICInfo, sizeof(ICInfo));
The following example uses the ICGetDefaultKeyFrameRate and ICGetDefaultQuality macros to obtain the default values.
DWORD dwKeyFrameRate, dwQuality;
dwKeyFrameRate = ICGetDefaultKeyFrameRate(hIC);
dwQuality = ICGetDefaultQuality(hIC);
The following example uses the ICQueryAbout and ICAbout macros to display an About dialog box for the compressor or decompressor, if
the dialog box exists.
// If the compressor has an About dialog box, display it.
if ( ICQueryAbout(hIC)) ICAbout(hIC, hwndApp);
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
|