Nikolay Sivov (@nsivov) commented about dlls/d2d1/d2d1_private.h:
- ID2D1Multithread ID2D1Multithread_iface;
- LONG refcount;
- ID3D10Device1 *device;
- float dpi_x;
- float dpi_y;
- struct list effects;
- INIT_ONCE init_builtins;
- CRITICAL_SECTION cs;
- D2D1_FACTORY_TYPE factory_type;
+};
+inline struct d2d_factory *unsafe_impl_from_ID2D1Factory(ID2D1Factory *iface)
Keep it 'static'.