Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit68ac381

Browse files
committed
Remove LPSECURITY_ATTRIBUTES
1 parent6d037b8 commit68ac381

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

‎std/src/sys/pal/windows/c.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ pub type DWORD = c_ulong;
2121
pubtypeWCHAR =u16;
2222
pubtypeULONG =c_ulong;
2323

24-
pubtypeLPSECURITY_ATTRIBUTES =*mutSECURITY_ATTRIBUTES;
2524
pubtypeLPVOID =*mutc_void;
2625

2726
#[cfg(target_vendor ="win7")]

‎std/src/sys/pal/windows/fs.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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:*mutc::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-
pubfnsecurity_attributes(&mutself,attrs: c::LPSECURITY_ATTRIBUTES){
244+
pubfnsecurity_attributes(&mutself,attrs:*mutc::SECURITY_ATTRIBUTES){
245245
self.security_attributes = attrs;
246246
}
247247

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp