Remove LPSECURITY_ATTRIBUTES · model-checking/verify-rust-std@68ac381 (original) (raw)

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