@@ -5812,7 +5812,7 @@ impl ID2D1DeviceContext2 {
58125812 }
58135813 #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"]
58145814 #[cfg(feature = "Win32_Graphics_Dxgi_Common")]
5815- pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[super::Dxgi::IDXGISurface], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result<ID2D1ImageSource> {
5815+ pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[::core::option::Option< super::Dxgi::IDXGISurface> ], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result<ID2D1ImageSource> {
58165816 let mut result__ = ::core::mem::MaybeUninit::zeroed();
58175817 (::windows::core::Vtable::vtable(self).CreateImageSourceFromDxgi)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(surfaces.as_ptr()), surfaces.len() as _, colorspace, options, result__.as_mut_ptr()).from_abi(result__)
58185818 }
@@ -6530,7 +6530,7 @@ impl ID2D1DeviceContext3 {
65306530 }
65316531 #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"]
65326532 #[cfg(feature = "Win32_Graphics_Dxgi_Common")]
6533- pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[super::Dxgi::IDXGISurface], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result<ID2D1ImageSource> {
6533+ pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[::core::option::Option< super::Dxgi::IDXGISurface> ], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result<ID2D1ImageSource> {
65346534 let mut result__ = ::core::mem::MaybeUninit::zeroed();
65356535 (::windows::core::Vtable::vtable(self).base__.CreateImageSourceFromDxgi)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(surfaces.as_ptr()), surfaces.len() as _, colorspace, options, result__.as_mut_ptr()).from_abi(result__)
65366536 }
@@ -7232,7 +7232,7 @@ impl ID2D1DeviceContext4 {
72327232 }
72337233 #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"]
72347234 #[cfg(feature = "Win32_Graphics_Dxgi_Common")]
7235- pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[super::Dxgi::IDXGISurface], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result<ID2D1ImageSource> {
7235+ pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[::core::option::Option< super::Dxgi::IDXGISurface> ], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result<ID2D1ImageSource> {
72367236 let mut result__ = ::core::mem::MaybeUninit::zeroed();
72377237 (::windows::core::Vtable::vtable(self).base__.base__.CreateImageSourceFromDxgi)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(surfaces.as_ptr()), surfaces.len() as _, colorspace, options, result__.as_mut_ptr()).from_abi(result__)
72387238 }
@@ -8015,7 +8015,7 @@ impl ID2D1DeviceContext5 {
80158015 }
80168016 #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"]
80178017 #[cfg(feature = "Win32_Graphics_Dxgi_Common")]
8018- pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[super::Dxgi::IDXGISurface], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result<ID2D1ImageSource> {
8018+ pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[::core::option::Option< super::Dxgi::IDXGISurface> ], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result<ID2D1ImageSource> {
80198019 let mut result__ = ::core::mem::MaybeUninit::zeroed();
80208020 (::windows::core::Vtable::vtable(self).base__.base__.base__.CreateImageSourceFromDxgi)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(surfaces.as_ptr()), surfaces.len() as _, colorspace, options, result__.as_mut_ptr()).from_abi(result__)
80218021 }
@@ -8813,7 +8813,7 @@ impl ID2D1DeviceContext6 {
88138813 }
88148814 #[doc = "*Required features: `\"Win32_Graphics_Dxgi_Common\"`*"]
88158815 #[cfg(feature = "Win32_Graphics_Dxgi_Common")]
8816- pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[super::Dxgi::IDXGISurface], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result<ID2D1ImageSource> {
8816+ pub unsafe fn CreateImageSourceFromDxgi(&self, surfaces: &[::core::option::Option< super::Dxgi::IDXGISurface> ], colorspace: super::Dxgi::Common::DXGI_COLOR_SPACE_TYPE, options: D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) -> ::windows::core::Result<ID2D1ImageSource> {
88178817 let mut result__ = ::core::mem::MaybeUninit::zeroed();
88188818 (::windows::core::Vtable::vtable(self).base__.base__.base__.base__.CreateImageSourceFromDxgi)(::windows::core::Vtable::as_raw(self), ::core::mem::transmute(surfaces.as_ptr()), surfaces.len() as _, colorspace, options, result__.as_mut_ptr()).from_abi(result__)
88198819 }
@@ -10117,7 +10117,7 @@ impl ID2D1Factory {
1011710117 }
1011810118 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
1011910119 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
10120- pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[ID2D1Geometry]) -> ::windows::core::Result<ID2D1GeometryGroup> {
10120+ pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option< ID2D1Geometry> ]) -> ::windows::core::Result<ID2D1GeometryGroup> {
1012110121 let mut result__ = ::core::mem::MaybeUninit::zeroed();
1012210122 (::windows::core::Vtable::vtable(self).CreateGeometryGroup)(::windows::core::Vtable::as_raw(self), fillmode, ::core::mem::transmute(geometries.as_ptr()), geometries.len() as _, result__.as_mut_ptr()).from_abi(result__)
1012310123 }
@@ -10282,7 +10282,7 @@ impl ID2D1Factory1 {
1028210282 }
1028310283 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
1028410284 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
10285- pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[ID2D1Geometry]) -> ::windows::core::Result<ID2D1GeometryGroup> {
10285+ pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option< ID2D1Geometry> ]) -> ::windows::core::Result<ID2D1GeometryGroup> {
1028610286 let mut result__ = ::core::mem::MaybeUninit::zeroed();
1028710287 (::windows::core::Vtable::vtable(self).base__.CreateGeometryGroup)(::windows::core::Vtable::as_raw(self), fillmode, ::core::mem::transmute(geometries.as_ptr()), geometries.len() as _, result__.as_mut_ptr()).from_abi(result__)
1028810288 }
@@ -10484,7 +10484,7 @@ impl ID2D1Factory2 {
1048410484 }
1048510485 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
1048610486 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
10487- pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[ID2D1Geometry]) -> ::windows::core::Result<ID2D1GeometryGroup> {
10487+ pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option< ID2D1Geometry> ]) -> ::windows::core::Result<ID2D1GeometryGroup> {
1048810488 let mut result__ = ::core::mem::MaybeUninit::zeroed();
1048910489 (::windows::core::Vtable::vtable(self).base__.base__.CreateGeometryGroup)(::windows::core::Vtable::as_raw(self), fillmode, ::core::mem::transmute(geometries.as_ptr()), geometries.len() as _, result__.as_mut_ptr()).from_abi(result__)
1049010490 }
@@ -10677,7 +10677,7 @@ impl ID2D1Factory3 {
1067710677 }
1067810678 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
1067910679 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
10680- pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[ID2D1Geometry]) -> ::windows::core::Result<ID2D1GeometryGroup> {
10680+ pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option< ID2D1Geometry> ]) -> ::windows::core::Result<ID2D1GeometryGroup> {
1068110681 let mut result__ = ::core::mem::MaybeUninit::zeroed();
1068210682 (::windows::core::Vtable::vtable(self).base__.base__.base__.CreateGeometryGroup)(::windows::core::Vtable::as_raw(self), fillmode, ::core::mem::transmute(geometries.as_ptr()), geometries.len() as _, result__.as_mut_ptr()).from_abi(result__)
1068310683 }
@@ -10879,7 +10879,7 @@ impl ID2D1Factory4 {
1087910879 }
1088010880 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
1088110881 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
10882- pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[ID2D1Geometry]) -> ::windows::core::Result<ID2D1GeometryGroup> {
10882+ pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option< ID2D1Geometry> ]) -> ::windows::core::Result<ID2D1GeometryGroup> {
1088310883 let mut result__ = ::core::mem::MaybeUninit::zeroed();
1088410884 (::windows::core::Vtable::vtable(self).base__.base__.base__.base__.CreateGeometryGroup)(::windows::core::Vtable::as_raw(self), fillmode, ::core::mem::transmute(geometries.as_ptr()), geometries.len() as _, result__.as_mut_ptr()).from_abi(result__)
1088510885 }
@@ -11090,7 +11090,7 @@ impl ID2D1Factory5 {
1109011090 }
1109111091 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
1109211092 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
11093- pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[ID2D1Geometry]) -> ::windows::core::Result<ID2D1GeometryGroup> {
11093+ pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option< ID2D1Geometry> ]) -> ::windows::core::Result<ID2D1GeometryGroup> {
1109411094 let mut result__ = ::core::mem::MaybeUninit::zeroed();
1109511095 (::windows::core::Vtable::vtable(self).base__.base__.base__.base__.base__.CreateGeometryGroup)(::windows::core::Vtable::as_raw(self), fillmode, ::core::mem::transmute(geometries.as_ptr()), geometries.len() as _, result__.as_mut_ptr()).from_abi(result__)
1109611096 }
@@ -11310,7 +11310,7 @@ impl ID2D1Factory6 {
1131011310 }
1131111311 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
1131211312 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
11313- pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[ID2D1Geometry]) -> ::windows::core::Result<ID2D1GeometryGroup> {
11313+ pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option< ID2D1Geometry> ]) -> ::windows::core::Result<ID2D1GeometryGroup> {
1131411314 let mut result__ = ::core::mem::MaybeUninit::zeroed();
1131511315 (::windows::core::Vtable::vtable(self).base__.base__.base__.base__.base__.base__.CreateGeometryGroup)(::windows::core::Vtable::as_raw(self), fillmode, ::core::mem::transmute(geometries.as_ptr()), geometries.len() as _, result__.as_mut_ptr()).from_abi(result__)
1131611316 }
@@ -11539,7 +11539,7 @@ impl ID2D1Factory7 {
1153911539 }
1154011540 #[doc = "*Required features: `\"Win32_Graphics_Direct2D_Common\"`*"]
1154111541 #[cfg(feature = "Win32_Graphics_Direct2D_Common")]
11542- pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[ID2D1Geometry]) -> ::windows::core::Result<ID2D1GeometryGroup> {
11542+ pub unsafe fn CreateGeometryGroup(&self, fillmode: Common::D2D1_FILL_MODE, geometries: &[::core::option::Option< ID2D1Geometry> ]) -> ::windows::core::Result<ID2D1GeometryGroup> {
1154311543 let mut result__ = ::core::mem::MaybeUninit::zeroed();
1154411544 (::windows::core::Vtable::vtable(self).base__.base__.base__.base__.base__.base__.base__.CreateGeometryGroup)(::windows::core::Vtable::as_raw(self), fillmode, ::core::mem::transmute(geometries.as_ptr()), geometries.len() as _, result__.as_mut_ptr()).from_abi(result__)
1154511545 }
0 commit comments