Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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 |