diff --git a/windows/security_windows.go b/windows/security_windows.go index 22dd83e2..5b2f6ba1 100644 --- a/windows/security_windows.go +++ b/windows/security_windows.go @@ -901,6 +901,12 @@ type SECURITY_DESCRIPTOR struct { dacl *ACL } +type SecurityAttributes struct { + Length uint32 + SecurityDescriptor *SECURITY_DESCRIPTOR + InheritHandle uint32 +} + type SE_OBJECT_TYPE uint32 // Constants for type SE_OBJECT_TYPE diff --git a/windows/types_windows.go b/windows/types_windows.go index 8d34bf1e..a5482341 100644 --- a/windows/types_windows.go +++ b/windows/types_windows.go @@ -471,12 +471,6 @@ func NsecToTimeval(nsec int64) (tv Timeval) { return } -type SecurityAttributes struct { - Length uint32 - SecurityDescriptor uintptr - InheritHandle uint32 -} - type Overlapped struct { Internal uintptr InternalHigh uintptr