Share via


Méthode IMFMediaEngineEx ::GetVideoSwapchainHandle (mfmediaengine.h)

Obtient un handle pour la chaîne d’échange sans fenêtre.

Syntaxe

HRESULT GetVideoSwapchainHandle(
  [out] HANDLE *phSwapchain
);

Paramètres

[out] phSwapchain

Reçoit un handle pour la chaîne d’échange.

Valeur retournée

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Remarques

Pour activer le mode de chaîne d’échange sans fenêtre, appelez IMFMediaEngineEx ::EnableWindowlessSwapchainMode.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 8 [applications de bureau | Applications UWP]
Serveur minimal pris en charge Windows Server 2012 [applications de bureau | Applications UWP]
Plateforme cible Windows
En-tête mfmediaengine.h

Voir aussi

IMFMediaEngineEx