IImagingFactory::InstallImageCodec (Compact 2013)
3/26/2014
This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.
This method is used to install an imaging codec.
Syntax
HRESULT InstallImageCodec(
const ImageCodecInfo* codecInfo
);
Parameters
- codecInfo
[in] A pointer to an ImageCodecInfo object describing the codec to install.
Return Value
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
Header |
imaging.h |
Library |
Imaging.lib |
See Also
Reference
IImagingFactory
ImageCodecInfo
IImagingFactory::UninstallImageCodec