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

Members

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

  • pObjectAttributes
    [in][optional] Security attributes of the swapchain

  • bProducer
    [in] Indicates if producer or consumer

  • hDevice
    [in] Handle to the device.

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

  • DesiredAccess
    [in] Desired access for the swapchain

  • DesiredAccessTextures
    [in] Desired access for the textures

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

  • SurfaceCount
    [in][out] Number of buffers in table provided on way in, on out number of surfaces used/needed

  • pNtSurfaceHandles
    [out] Array of Nt handles

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