Skip to content

Commit 79e71c4

Browse files
build(deps): bump windows from 0.61.3 to 0.62.1 (#1010)
Co-authored-by: Vladyslav Nikonov <mail@pacmancoder.xyz>
1 parent 9622619 commit 79e71c4

File tree

4 files changed

+83
-32
lines changed

4 files changed

+83
-32
lines changed

Cargo.lock

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

crates/ironrdp-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ x509-cert = { version = "0.2", default-features = false, features = ["std"] }
8888
url = "2"
8989

9090
[target.'cfg(windows)'.dependencies]
91-
windows = { version = "0.61", features = ["Win32_Foundation"] }
91+
windows = { version = "0.62", features = ["Win32_Foundation"] }
9292

9393
[lints]
9494
workspace = true

crates/ironrdp-cliprdr-native/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ironrdp-core = { path = "../ironrdp-core", version = "0.1" }
2121
tracing = { version = "0.1", features = ["log"] }
2222

2323
[target.'cfg(windows)'.dependencies]
24-
windows = { version = "0.61", features = [
24+
windows = { version = "0.62", features = [
2525
"Win32_Foundation",
2626
"Win32_Graphics_Gdi",
2727
"Win32_System_DataExchange",

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)