cosmopolitan/libc/nt/struct/securityattributes.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
610 B
C
Raw Normal View History

2020-06-15 14:18:57 +00:00
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SECURITYATTRIBUTES_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_SECURITYATTRIBUTES_H_
#include "libc/mem/alloca.h"
#include "libc/nt/struct/securitydescriptor.h"
2020-06-15 14:18:57 +00:00
struct NtSecurityAttributes {
uint32_t nLength;
struct NtSecurityDescriptor *lpSecurityDescriptor;
bool32 bInheritHandle;
};
2024-08-26 23:44:05 +00:00
const char *_DescribeNtSecurityAttributes(char[32],
const struct NtSecurityAttributes *);
#define DescribeNtSecurityAttributes(x) \
2024-08-26 23:44:05 +00:00
_DescribeNtSecurityAttributes(alloca(32), x)
2020-06-15 14:18:57 +00:00
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_SECURITYATTRIBUTES_H_ */