Méthode IDXGISwapChain1::GetCoreWindow (dxgi1_2.h)

Récupère l’objet CoreWindow sous-jacent pour cet objet de chaîne d’échange.

Syntaxe

HRESULT GetCoreWindow(
  [in]  REFIID refiid,
  [out] void   **ppUnk
);

Paramètres

[in] refiid

Pointeur vers l’identificateur global unique (GUID) de l’objet CoreWindow référencé par le paramètre ppUnk .

[out] ppUnk

Pointeur vers une variable qui reçoit un pointeur vers l’objet CoreWindow .

Valeur retournée

GetCoreWindow retourne :

Mise à jour de plateforme pour Windows 7 : Sur Windows 7 ou Windows Server 2008 R2 avec la mise à jour de plateforme pour Windows 7 installée, GetCoreWindow échoue avec E_NOTIMPL. Pour plus d’informations sur la mise à jour de plateforme pour Windows 7, consultez Mise à jour de plateforme pour Windows 7.

Notes

Les applications appellent la méthode IDXGIFactory2::CreateSwapChainForCoreWindow pour créer une chaîne d’échange associée à un objet CoreWindow .

Spécifications

   
Client minimal pris en charge Windows 8 et mise à jour de plateforme pour Windows 7 [applications de bureau | Applications UWP]
Serveur minimal pris en charge Windows Server 2012 et Platform Update pour Windows Server 2008 R2 [applications de bureau | Applications UWP]
Plateforme cible Windows
En-tête dxgi1_2.h
Bibliothèque Dxgi.lib

Voir aussi

IDXGISwapChain1