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 consumerhDevice
[in] Handle to the device.pObjectAttributes
[in] Security attribute of swapchainDesiredAccess
[in] Desired access for swapchainSurfaceCount
[in] Number of bufferspNtSurfaceHandles
[in] Array of Nt handlesbFailAcquireIfSurfaceBusy
[in] Indicates if acquires fail if surface still busyBufferAvailableEvent
[in][optional] Option handle to eventhNtSwapChain
[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) |