EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

IWICBitmapFrameEncode::Commit method

Commits the frame to the image.

Syntax


HRESULT Commit();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

After the frame Commit has been called, you can't use or reinitialize the IWICBitmapFrameEncode object and any objects created from it.

To finalize the image, both the frame Commit and the encoder Commit must be called. However, only call the encoder Commit method after all frames have been committed.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Wincodec.h

IDL

Wincodec.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

See also

IWICBitmapFrameEncode
Commit

 

 

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft