D3DKMT_GETSETSWAPCHAINMETADATA structure

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

TBD

Syntax

typedef struct _D3DKMT_GETSETSWAPCHAINMETADATA {
  HANDLE                               hNtSwapChain;
  BOOL                                 bSetMetaData;
  BOOL                                 bProducer;
  UINT                                 BufferSize;
  _Field_size_bytes_(BufferSize) PVOID pBuffer;
  UINT                                 DataCopied;
} D3DKMT_GETSETSWAPCHAINMETADATA;

Members

  • hNtSwapChain
    [in] NT handle for swapchain in this process

  • bSetMetaData
    [in] Indicates if caller is setting or getting the metadata

  • bProducer
    [in] Indicates if producer or consumer

  • BufferSize
    [in] Size of buffer for metadata to be copied to

  • pBuffer
    [in][out] Buffer metadata should be copied to

  • DataCopied
    [out] Number of bytes copied to the buffer

Requirements

Minimum supported client

Windows 10 Insider Preview

Minimum supported server

Windows Server Technical Preview

Header

D3dkmthk.h (include D3dkmthk.h)

 

 

Send comments about this topic to Microsoft