File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 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;
2121pub type WCHAR = u16 ;
2222pub type ULONG = c_ulong ;
2323
24- pub type LPSECURITY_ATTRIBUTES = * mut SECURITY_ATTRIBUTES ;
2524pub type LPVOID = * mut c_void ;
2625
2726#[ cfg( target_vendor = "win7" ) ]
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ pub struct OpenOptions {
7979 attributes : c:: DWORD ,
8080 share_mode : c:: DWORD ,
8181 security_qos_flags : c:: DWORD ,
82- security_attributes : c:: LPSECURITY_ATTRIBUTES ,
82+ security_attributes : * mut c:: SECURITY_ATTRIBUTES ,
8383}
8484
8585#[ derive( Clone , PartialEq , Eq , Debug ) ]
@@ -241,7 +241,7 @@ impl OpenOptions {
241241 // receive is `SECURITY_ANONYMOUS = 0x0`, which we can't check for later on.
242242 self . security_qos_flags = flags | c:: SECURITY_SQOS_PRESENT ;
243243 }
244- pub fn security_attributes ( & mut self , attrs : c:: LPSECURITY_ATTRIBUTES ) {
244+ pub fn security_attributes ( & mut self , attrs : * mut c:: SECURITY_ATTRIBUTES ) {
245245 self . security_attributes = attrs;
246246 }
247247
You can’t perform that action at this time.
0 commit comments