Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A version of this page is also available for
4/8/2010
This method creates and initializes an IImageEncoder interface to output to a file in a specified image format.
Syntax
HRESULT CreateImageEncoderToFile(
const CLSID* clsid,
const WCHAR* filename,
IImageEncoder** encoder
);
Parameters
- clsid
[in] A pointer to a CLSID value that specifies the encoder's COM component.
- filename
[in] A WCHAR array containing the name of the output file.
- encoder
[out] A pointer to the resulting IImageEncoder interface pointer.
Return Value
If successful, this method returns S_OK.
This method may return E_POINTER if it fails.
Requirements
Header | imaging.h |
Library | Imaging.lib |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |