@@ -7363,18 +7363,16 @@ pub mod Microsoft {
7363
7363
}
7364
7364
pub unsafe fn Next(
7365
7365
&self,
7366
- celt: u32,
7367
- rgelt: *mut Option<IDiaSymbol>,
7366
+ rgelt: &mut [Option<IDiaSymbol>],
7368
7367
pceltfetched: *mut u32,
7369
- ) -> windows_core::Result<()> {
7368
+ ) -> windows_core::HRESULT {
7370
7369
unsafe {
7371
7370
(windows_core::Interface::vtable(self).Next)(
7372
7371
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() ),
7375
7374
pceltfetched as _,
7376
7375
)
7377
- .ok()
7378
7376
}
7379
7377
}
7380
7378
pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result<()> {
@@ -7444,7 +7442,7 @@ pub mod Microsoft {
7444
7442
celt: u32,
7445
7443
rgelt: windows_core::OutRef<'_, IDiaSymbol>,
7446
7444
pceltfetched: *mut u32,
7447
- ) -> windows_core::Result<()> ;
7445
+ ) -> windows_core::HRESULT ;
7448
7446
fn Skip(&self, celt: u32) -> windows_core::Result<()>;
7449
7447
fn Reset(&self) -> windows_core::Result<()>;
7450
7448
fn Clone(&self) -> windows_core::Result<IDiaEnumSymbols>;
@@ -7527,7 +7525,6 @@ pub mod Microsoft {
7527
7525
core::mem::transmute_copy(&rgelt),
7528
7526
core::mem::transmute_copy(&pceltfetched),
7529
7527
)
7530
- .into()
7531
7528
}
7532
7529
}
7533
7530
unsafe extern "system" fn Skip<
@@ -7643,34 +7640,30 @@ pub mod Microsoft {
7643
7640
}
7644
7641
pub unsafe fn Next(
7645
7642
&self,
7646
- celt: u32,
7647
- rgelt: *mut Option<IDiaSymbol>,
7643
+ rgelt: &mut [Option<IDiaSymbol>],
7648
7644
pceltfetched: *mut u32,
7649
- ) -> windows_core::Result<()> {
7645
+ ) -> windows_core::HRESULT {
7650
7646
unsafe {
7651
7647
(windows_core::Interface::vtable(self).Next)(
7652
7648
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() ),
7655
7651
pceltfetched as _,
7656
7652
)
7657
- .ok()
7658
7653
}
7659
7654
}
7660
7655
pub unsafe fn Prev(
7661
7656
&self,
7662
- celt: u32,
7663
- rgelt: *mut Option<IDiaSymbol>,
7657
+ rgelt: &mut [Option<IDiaSymbol>],
7664
7658
pceltfetched: *mut u32,
7665
- ) -> windows_core::Result<()> {
7659
+ ) -> windows_core::HRESULT {
7666
7660
unsafe {
7667
7661
(windows_core::Interface::vtable(self).Prev)(
7668
7662
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() ),
7671
7665
pceltfetched as _,
7672
7666
)
7673
- .ok()
7674
7667
}
7675
7668
}
7676
7669
pub unsafe fn Clone(&self) -> windows_core::Result<IDiaEnumSymbolsByAddr> {
@@ -7729,13 +7722,13 @@ pub mod Microsoft {
7729
7722
celt: u32,
7730
7723
rgelt: windows_core::OutRef<'_, IDiaSymbol>,
7731
7724
pceltfetched: *mut u32,
7732
- ) -> windows_core::Result<()> ;
7725
+ ) -> windows_core::HRESULT ;
7733
7726
fn Prev(
7734
7727
&self,
7735
7728
celt: u32,
7736
7729
rgelt: windows_core::OutRef<'_, IDiaSymbol>,
7737
7730
pceltfetched: *mut u32,
7738
- ) -> windows_core::Result<()> ;
7731
+ ) -> windows_core::HRESULT ;
7739
7732
fn Clone(&self) -> windows_core::Result<IDiaEnumSymbolsByAddr>;
7740
7733
}
7741
7734
impl IDiaEnumSymbolsByAddr_Vtbl {
@@ -7829,7 +7822,6 @@ pub mod Microsoft {
7829
7822
core::mem::transmute_copy(&rgelt),
7830
7823
core::mem::transmute_copy(&pceltfetched),
7831
7824
)
7832
- .into()
7833
7825
}
7834
7826
}
7835
7827
unsafe extern "system" fn Prev<
@@ -7850,7 +7842,6 @@ pub mod Microsoft {
7850
7842
core::mem::transmute_copy(&rgelt),
7851
7843
core::mem::transmute_copy(&pceltfetched),
7852
7844
)
7853
- .into()
7854
7845
}
7855
7846
}
7856
7847
unsafe extern "system" fn Clone<
0 commit comments