Condividi tramite


PFN_IDDCXSWAPCHAINRELEASEANDACQUIRESYSTEMBUFFER funzione di callback (iddcx.h)

PFN_IDDCXSWAPCHAINRELEASEANDACQUIRESYSTEMBUFFER è un puntatore a una funzione di callback del sistema operativo tramite cui rilasciare e acquisire buffer da una swapchain.

Sintassi

PFN_IDDCXSWAPCHAINRELEASEANDACQUIRESYSTEMBUFFER PfnIddcxswapchainreleaseandacquiresystembuffer;

HRESULT * PfnIddcxswapchainreleaseandacquiresystembuffer(
  [in]  PIDD_DRIVER_GLOBALS DriverGlobals,
  [in]  IDDCX_SWAPCHAIN SwapChainObject,
  [out] IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER *pOutArgs
)
{...}

Parametri

[in] DriverGlobals

Puntatore a una struttura IDD_DRIVER_GLOBALS contenente i dati per driver definiti dal sistema.

[in] SwapChainObject

Oggetto IDDCX_SWAPCHAIN passato alla chiamata EVT_IDD_CX_MONITOR_ASSIGN_SWAPCHAIN .

[out] pOutArgs

Argomenti di output delle funzioni.

Valore restituito

PFN_IDDCXSWAPCHAINRELEASEANDACQUIRESYSTEMBUFFER restituisce S_OK; in caso contrario restituisce un codice di errore appropriato.

Commenti

Un driver di visualizzazione indiretto (IDD) non deve usare questo puntatore per chiamare direttamente la funzione a cui punta. Gli IDD devono invece chiamare IddCxSwapChainReleaseAndAcquireSystemBuffer.

Requisiti

Requisito Valore
Server minimo supportato Windows Server 2022
Intestazione iddcx.h

Vedi anche

IddCxSwapChainReleaseAndAcquireSystemBuffer