IImagingFactory::InstallImageCodec (Windows CE 5.0)
This method is used to install an imaging codec.
HRESULT InstallImageCodec( const ImageCodecInfo* codecInfo);
Parameters
- codecInfo
[in] A pointer to an ImageCodecInfo object describing the codec to install.
Return Values
If successful, this method returns S_OK.
This method may return E_INVALIDARG if it fails.
Remarks
This method is primarily for third-party codec developers.
To install an external codec DLL, first register the COM component for your DLL. After the COM component is registered, call the IImagingFactory::InstallImageCodec method to complete the installation.
To uninstall a codec DLL, complete the process in reverse order: First, call IImagingFactory::UninstallImageCodec; then deregisterer your COM component.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
Link Library: Imaging.
See Also
IImagingFactory | ImageCodecInfo | ImagingFactory::UninstallImageCodec
Send Feedback on this topic to the authors