We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01f55a8 commit 7a47493Copy full SHA for 7a47493
framework_lib/src/chromium_ec/windows.rs
@@ -4,7 +4,6 @@ use std::sync::{Arc, Mutex};
4
#[allow(unused_imports)]
5
use windows::{
6
core::*,
7
- w,
8
Win32::Foundation::*,
9
Win32::{
10
Storage::FileSystem::*,
@@ -30,7 +29,7 @@ fn init() {
30
29
*device = Some(
31
CreateFileW(
32
path,
33
- FILE_GENERIC_READ | FILE_GENERIC_WRITE,
+ FILE_GENERIC_READ.0 | FILE_GENERIC_WRITE.0,
34
FILE_SHARE_READ | FILE_SHARE_WRITE,
35
None,
36
OPEN_EXISTING,
0 commit comments