Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Specifies the threading mode used while simultaneously creating the device, factory, and device context.
Syntax
typedef enum D2D1_THREADING_MODE {
  D2D1_THREADING_MODE_SINGLE_THREADED,
  D2D1_THREADING_MODE_MULTI_THREADED,
  D2D1_THREADING_MODE_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_THREADING_MODE_SINGLE_THREADEDResources may only be invoked serially. Device context state is not protected from multi-threaded access.  | 
D2D1_THREADING_MODE_MULTI_THREADEDResources may be invoked from multiple threads. Resources use interlocked reference counting and their state is protected.  | 
D2D1_THREADING_MODE_FORCE_DWORDValue: 0xffffffff  | 
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] | 
| Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] | 
| Header | d2d1_1.h |