Skip to content

Commit 42f7fe2

Browse files
committed
chore(crates): update windows crate to 0.62.2
1 parent a6930e3 commit 42f7fe2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/ironrdp-cliprdr-native/src/windows/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ impl WinClipboard {
162162
// SAFETY: low-level WinAPI call
163163
let atom = unsafe { RegisterClassA(&wc) };
164164
if atom == 0 {
165-
return Err(WinCliprdrError::from(Error::from_win32()));
165+
return Err(WinCliprdrError::from(Error::from_thread()));
166166
}
167167

168168
// SAFETY: low-level WinAPI call
@@ -184,7 +184,7 @@ impl WinClipboard {
184184
};
185185

186186
if window.is_invalid() {
187-
return Err(WinCliprdrError::from(Error::from_win32()));
187+
return Err(WinCliprdrError::from(Error::from_thread()));
188188
}
189189
// Init clipboard processing for WinAPI event loop
190190
//

0 commit comments

Comments
 (0)