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 porta di scambio.

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 definiti dal sistema per driver.

[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.

Osservazioni

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.

Fabbisogno

Requisito Valore
server minimo supportato Windows Server 2022
intestazione iddcx.h

Vedere anche

IddCxSwapChainReleaseAndAcquireSystemBuffer