D3DKMT_CREATESWAPCHAIN 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_CREATESWAPCHAIN {
  BOOL                              bProducer;
  D3DKMT_HANDLE                     hDevice;
  POBJECT_ATTRIBUTES                pObjectAttributes;
  ACCESS_MASK                       DesiredAccess;
  UINT                              SurfaceCount;
  _Field_size_(SurfaceCount) HANDLE *pNtSurfaceHandles;
  BOOL                              bFailAcquireIfSurfaceBusy;
  HANDLE                            BufferAvailableEvent;
  HANDLE                            hNtSwapChain;
} D3DKMT_CREATESWAPCHAIN;

Members

  • bProducer
    [in] Indicates if producer or consumer

  • hDevice
    [in] Handle to the device.

  • pObjectAttributes
    [in] Security attribute of swapchain

  • DesiredAccess
    [in] Desired access for swapchain

  • SurfaceCount
    [in] Number of buffers

  • pNtSurfaceHandles
    [in] Array of Nt handles

  • bFailAcquireIfSurfaceBusy
    [in] Indicates if acquires fail if surface still busy

  • BufferAvailableEvent
    [in][optional] Option handle to event

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

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