|
Determining If a Driver Can Handle the Input Format
The following example shows how to check the input format with the ICDrawQuery macro.
// lpbiIn points to BITMAPINFOHEADER structure indicating the input
// format.
if (ICDrawQuery(hIC, lpbiIn) == ICERR_OK)
{
// Driver recognizes the input format.
}
else
{
// Need a different decompressor.
}
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
|