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 processpObjectAttributes
[in][optional] Security attributes of the swapchainbProducer
[in] Indicates if producer or consumerhDevice
[in] Handle to the device.bFailAcquireIfSurfaceBusy
[in] Indicates if acquires fail if surface still busyDesiredAccess
[in] Desired access for the swapchainDesiredAccessTextures
[in] Desired access for the texturesBufferAvailableEvent
[in][optional] Option handle to eventSurfaceCount
[in][out] Number of buffers in table provided on way in, on out number of surfaces used/neededpNtSurfaceHandles
[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) |