WindowsApi:SECURITY ATTRIBUTES
The SECURITY_ATTRIBUTES structure contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable. This structure provides security settings for objects created by various functions, such as CreateFile, CreatePipe, CreateProcess, RegCreateKeyEx, or RegSaveKeyEx.
Syntax
typedef struct _SECURITY_ATTRIBUTES {
DWORD nLength;
LPVOID lpSecurityDescriptor;
BOOL bInheritHandle;
} SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
See also
Favorite site
- [https://msdn.microsoft.com/ko-kr/library/windows/desktop/aa379560(v=vs.85.aspx MSDN: SECURITY_ATTRIBUTES structure]
- CreateEvent에서 LPSECURITY_ATTRIBUTES lpEventAttributes 에 대해서
- CreateDirectory 에서 폴더 접근 권한 바꾸기