Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Crée un IWICBitmap à partir d’un IWICBitmapSource.
Syntaxe
HRESULT CreateBitmapFromSource(
[in] IWICBitmapSource *pIBitmapSource,
[in] WICBitmapCreateCacheOption option,
[out] IWICBitmap **ppIBitmap
);
Paramètres
[in] pIBitmapSource
Type : IWICBitmapSource*
IWICBitmapSource à partir duquel créer l’image bitmap.
[in] option
Type : WICBitmapCreateCacheOption
Options de cache de la nouvelle bitmap. Il peut s’agir de l’une des valeurs de l’énumération WICBitmapCreateCacheOption .
[out] ppIBitmap
Type : IWICBitmap**
Pointeur qui reçoit un pointeur vers la nouvelle bitmap.
Valeur retournée
Type : HRESULT
Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.
Spécifications
| Client minimal pris en charge | Windows XP avec SP2, Windows Vista [applications de bureau | Applications UWP] |
| Serveur minimal pris en charge | Windows Server 2008 [applications de bureau | applications UWP] |
| Plateforme cible | Windows |
| En-tête | wincodec.h |
| Bibliothèque | Windowscodecs.lib |
| DLL | Windowscodecs.dll |