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.
Creates a new device context with no initially assigned target.
Syntax
HRESULT CreateDeviceContext(
        D2D1_DEVICE_CONTEXT_OPTIONS options,
  [out] ID2D1DeviceContext6         **deviceContext6
);
Parameters
options
Type: D2D1_DEVICE_CONTEXT_OPTIONS
Options for creating the device context.
[out] deviceContext6
Type: ID2D1DeviceContext6**
The created device context.
Return value
Type: HRESULT
This method returns an HRESULT success or error code.
Requirements
| Requirement | Value | 
|---|---|
| Target Platform | Windows | 
| Header | d2d1_3.h | 
| DLL | D2d1.dll |