mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
17 lines
610 B
C
17 lines
610 B
C
#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"
|
|
|
|
struct NtSecurityAttributes {
|
|
uint32_t nLength;
|
|
struct NtSecurityDescriptor *lpSecurityDescriptor;
|
|
bool32 bInheritHandle;
|
|
};
|
|
|
|
const char *_DescribeNtSecurityAttributes(char[32],
|
|
const struct NtSecurityAttributes *);
|
|
#define DescribeNtSecurityAttributes(x) \
|
|
_DescribeNtSecurityAttributes(alloca(32), x)
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_SECURITYATTRIBUTES_H_ */
|