@@ -7363,18 +7363,16 @@ pub mod Microsoft {
73637363 }
73647364 pub unsafe fn Next(
73657365 &self,
7366- celt: u32,
7367- rgelt: *mut Option<IDiaSymbol>,
7366+ rgelt: &mut [Option<IDiaSymbol>],
73687367 pceltfetched: *mut u32,
7369- ) -> windows_core::Result<()> {
7368+ ) -> windows_core::HRESULT {
73707369 unsafe {
73717370 (windows_core::Interface::vtable(self).Next)(
73727371 windows_core::Interface::as_raw(self),
7373- celt ,
7374- core::mem::transmute(rgelt),
7372+ rgelt.len().try_into().unwrap() ,
7373+ core::mem::transmute(rgelt.as_ptr() ),
73757374 pceltfetched as _,
73767375 )
7377- .ok()
73787376 }
73797377 }
73807378 pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result<()> {
@@ -7444,7 +7442,7 @@ pub mod Microsoft {
74447442 celt: u32,
74457443 rgelt: windows_core::OutRef<'_, IDiaSymbol>,
74467444 pceltfetched: *mut u32,
7447- ) -> windows_core::Result<()> ;
7445+ ) -> windows_core::HRESULT ;
74487446 fn Skip(&self, celt: u32) -> windows_core::Result<()>;
74497447 fn Reset(&self) -> windows_core::Result<()>;
74507448 fn Clone(&self) -> windows_core::Result<IDiaEnumSymbols>;
@@ -7527,7 +7525,6 @@ pub mod Microsoft {
75277525 core::mem::transmute_copy(&rgelt),
75287526 core::mem::transmute_copy(&pceltfetched),
75297527 )
7530- .into()
75317528 }
75327529 }
75337530 unsafe extern "system" fn Skip<
@@ -7643,34 +7640,30 @@ pub mod Microsoft {
76437640 }
76447641 pub unsafe fn Next(
76457642 &self,
7646- celt: u32,
7647- rgelt: *mut Option<IDiaSymbol>,
7643+ rgelt: &mut [Option<IDiaSymbol>],
76487644 pceltfetched: *mut u32,
7649- ) -> windows_core::Result<()> {
7645+ ) -> windows_core::HRESULT {
76507646 unsafe {
76517647 (windows_core::Interface::vtable(self).Next)(
76527648 windows_core::Interface::as_raw(self),
7653- celt ,
7654- core::mem::transmute(rgelt),
7649+ rgelt.len().try_into().unwrap() ,
7650+ core::mem::transmute(rgelt.as_ptr() ),
76557651 pceltfetched as _,
76567652 )
7657- .ok()
76587653 }
76597654 }
76607655 pub unsafe fn Prev(
76617656 &self,
7662- celt: u32,
7663- rgelt: *mut Option<IDiaSymbol>,
7657+ rgelt: &mut [Option<IDiaSymbol>],
76647658 pceltfetched: *mut u32,
7665- ) -> windows_core::Result<()> {
7659+ ) -> windows_core::HRESULT {
76667660 unsafe {
76677661 (windows_core::Interface::vtable(self).Prev)(
76687662 windows_core::Interface::as_raw(self),
7669- celt ,
7670- core::mem::transmute(rgelt),
7663+ rgelt.len().try_into().unwrap() ,
7664+ core::mem::transmute(rgelt.as_ptr() ),
76717665 pceltfetched as _,
76727666 )
7673- .ok()
76747667 }
76757668 }
76767669 pub unsafe fn Clone(&self) -> windows_core::Result<IDiaEnumSymbolsByAddr> {
@@ -7729,13 +7722,13 @@ pub mod Microsoft {
77297722 celt: u32,
77307723 rgelt: windows_core::OutRef<'_, IDiaSymbol>,
77317724 pceltfetched: *mut u32,
7732- ) -> windows_core::Result<()> ;
7725+ ) -> windows_core::HRESULT ;
77337726 fn Prev(
77347727 &self,
77357728 celt: u32,
77367729 rgelt: windows_core::OutRef<'_, IDiaSymbol>,
77377730 pceltfetched: *mut u32,
7738- ) -> windows_core::Result<()> ;
7731+ ) -> windows_core::HRESULT ;
77397732 fn Clone(&self) -> windows_core::Result<IDiaEnumSymbolsByAddr>;
77407733 }
77417734 impl IDiaEnumSymbolsByAddr_Vtbl {
@@ -7829,7 +7822,6 @@ pub mod Microsoft {
78297822 core::mem::transmute_copy(&rgelt),
78307823 core::mem::transmute_copy(&pceltfetched),
78317824 )
7832- .into()
78337825 }
78347826 }
78357827 unsafe extern "system" fn Prev<
@@ -7850,7 +7842,6 @@ pub mod Microsoft {
78507842 core::mem::transmute_copy(&rgelt),
78517843 core::mem::transmute_copy(&pceltfetched),
78527844 )
7853- .into()
78547845 }
78557846 }
78567847 unsafe extern "system" fn Clone<
0 commit comments