File tree 2 files changed +2
-3
lines changed
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ pub type DWORD = c_ulong;
21
21
pub type WCHAR = u16 ;
22
22
pub type ULONG = c_ulong ;
23
23
24
- pub type LPSECURITY_ATTRIBUTES = * mut SECURITY_ATTRIBUTES ;
25
24
pub type LPVOID = * mut c_void ;
26
25
27
26
#[ cfg( target_vendor = "win7" ) ]
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ pub struct OpenOptions {
79
79
attributes : c:: DWORD ,
80
80
share_mode : c:: DWORD ,
81
81
security_qos_flags : c:: DWORD ,
82
- security_attributes : c:: LPSECURITY_ATTRIBUTES ,
82
+ security_attributes : * mut c:: SECURITY_ATTRIBUTES ,
83
83
}
84
84
85
85
#[ derive( Clone , PartialEq , Eq , Debug ) ]
@@ -241,7 +241,7 @@ impl OpenOptions {
241
241
// receive is `SECURITY_ANONYMOUS = 0x0`, which we can't check for later on.
242
242
self . security_qos_flags = flags | c:: SECURITY_SQOS_PRESENT ;
243
243
}
244
- pub fn security_attributes ( & mut self , attrs : c:: LPSECURITY_ATTRIBUTES ) {
244
+ pub fn security_attributes ( & mut self , attrs : * mut c:: SECURITY_ATTRIBUTES ) {
245
245
self . security_attributes = attrs;
246
246
}
247
247
You can’t perform that action at this time.
0 commit comments