IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER structure (iddcx.h)
IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER contains the information resulting from a buffer release and acquire operation.
Syntax
struct IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER {
[out] IDDCX_METADATA *pMetaData;
[out] IDDCX_SYSTEM_BUFFER_INFO *pBufferInfo;
};
Members
[out] pMetaData
Pointer to a IDDCX_METADATA structure containing per-frame metadata and frame information.
[out] pBufferInfo
Pointer to a IDDCX_SYSTEM_BUFFER_INFO structure containing a buffer's surface information.
Remarks
An indirect display driver (IDD) passes a pointer to a IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER when it calls IddCxSwapChainReleaseAndAcquireSystemBuffer.
Note
The IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER structure contains pointers to two other structures that should be set by the driver as in the following example code:
IDDCX_METADATA MetaData = {};
IDDCX_SYSTEM_BUFFER_INFO SystemBufferInfo = {};
IDARG_OUT_RELEASEANDACQUIRESYSTEMBUFFER system_Buffer = { &MetaData, &SystemBufferInfo };
HRESULT hr = IddCxSwapChainReleaseAndAcquireSystemBuffer(m_hSwapChain, &system_Buffer);
Requirements
Requirement | Value |
---|---|
Minimum supported server | Windows Server 2022 |
Header | iddcx.h |