Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Dec 11, 2024
1 parent 4a4f632 commit a1738d6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions crates/tests/misc/implement/tests/from_raw_borrowed_winrt.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![allow(non_snake_case)]

use std::sync::*;
use windows::{core::*, ApplicationModel::Background::*, Foundation::*, Win32::Foundation::*};
use windows::{core::*, ApplicationModel::Background::*, Win32::Foundation::*};

#[interface("a563f463-3d23-42cd-a2b5-6d21ee898aae")]
unsafe trait IBorrowed: IUnknown {
Expand Down Expand Up @@ -44,13 +44,10 @@ impl IBackgroundTaskInstance_Impl for Borrowed_Impl {
fn TriggerDetails(&self) -> Result<IInspectable> {
unimplemented!()
}
fn Canceled(
&self,
_cancelhandler: Option<&BackgroundTaskCanceledEventHandler>,
) -> Result<EventRegistrationToken> {
fn Canceled(&self, _cancelhandler: Option<&BackgroundTaskCanceledEventHandler>) -> Result<i64> {
unimplemented!()
}
fn RemoveCanceled(&self, _cookie: &EventRegistrationToken) -> Result<()> {
fn RemoveCanceled(&self, _cookie: i64) -> Result<()> {
unimplemented!()
}
fn SuspendedCount(&self) -> Result<u32> {
Expand Down

0 comments on commit a1738d6

Please sign in to comment.