Index   Commented   Search   About

ICInstall

The ICInstall function installs a new compressor or decompressor.

BOOL ICInstall(

DWORD fccType,

DWORD fccHandler,

LPARAM lParam,

LPSTR szDesc,

UINT wFlags

);

Parameters

fccType

Four-character code indicating the type of data used by the compressor or decompressor. Specify "VIDC" for a video compressor or decompressor.

fccHandler

Four-character code identifying a specific compressor or decompressor.

lParam

Address of a null-terminated string containing the name of the compressor or decompressor, or the address of a function used for compression or decompression. The contents of this parameter are defined by the flags set for wFlags.

szDesc

Reserved; do not use.

wFlags

Flags defining the contents of lParam. The following values are defined:

ICINSTALL_DRIVER

The lParam parameter contains the address of a
null-terminated string that names the compressor to install.

ICINSTALL_FUNCTION

The lParam parameter contains the address of a compressor function. This function should be structured like the DriverProc entry point function used by compressors.

Return Values

Returns ICERR_OK if successful or an error otherwise.

Remarks

Applications must open an installed compressor or decompressor before using it.

If your application installs a function as a compressor or decompressor, it should remove the function with the ICRemove function before it terminates. This prevents other applications from trying to access the function when it is not available.

See Also

DriverProc
, ICRemove

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

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun