d2d1: Add the ID2D1HwndRenderTarget interface.
This commit is contained in:
parent
9d95788f12
commit
d76e605010
|
@ -265,6 +265,13 @@ typedef enum D2D1_FEATURE_LEVEL
|
||||||
D2D1_FEATURE_LEVEL_FORCE_DWORD = 0xffffffff,
|
D2D1_FEATURE_LEVEL_FORCE_DWORD = 0xffffffff,
|
||||||
} D2D1_FEATURE_LEVEL;
|
} D2D1_FEATURE_LEVEL;
|
||||||
|
|
||||||
|
typedef enum D2D1_WINDOW_STATE
|
||||||
|
{
|
||||||
|
D2D1_WINDOW_STATE_NONE = 0x0000000,
|
||||||
|
D2D1_WINDOW_STATE_OCCLUDED = 0x0000001,
|
||||||
|
D2D1_WINDOW_STATE_FORCE_DWORD = 0xffffffff,
|
||||||
|
} D2D1_WINDOW_STATE;
|
||||||
|
|
||||||
typedef struct D2D1_BEZIER_SEGMENT
|
typedef struct D2D1_BEZIER_SEGMENT
|
||||||
{
|
{
|
||||||
D2D1_POINT_2F point1;
|
D2D1_POINT_2F point1;
|
||||||
|
@ -1092,5 +1099,19 @@ interface ID2D1BitmapRenderTarget : ID2D1RenderTarget
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[
|
||||||
|
local,
|
||||||
|
object,
|
||||||
|
uuid(2cd90698-12e2-11dc-9fed-001143a055f9)
|
||||||
|
]
|
||||||
|
interface ID2D1HwndRenderTarget : ID2D1RenderTarget
|
||||||
|
{
|
||||||
|
D2D1_WINDOW_STATE CheckWindowState();
|
||||||
|
HRESULT Resize(
|
||||||
|
[in] const D2D1_SIZE_U size
|
||||||
|
);
|
||||||
|
HWND GetHwnd();
|
||||||
|
}
|
||||||
|
|
||||||
[local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid,
|
[local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid,
|
||||||
const D2D1_FACTORY_OPTIONS *factory_options, void **factory);
|
const D2D1_FACTORY_OPTIONS *factory_options, void **factory);
|
||||||
|
|
Loading…
Reference in New Issue