CreateFile, CreatePipe, CreateProcess,
RegCreateKeyEx, or RegSaveKeyEx.
struct SECURITY_ATTRIBUTES {
DWORD nLength;
LPVOID lpSecurityDescriptor;
BOOL bInheritHandle;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | SECURITY_ATTRIBUTES.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BINHERITHANDLE
The struct member offsets. |
| public static final int | LPSECURITYDESCRIPTOR
The struct member offsets. |
| public static final int | NLENGTH
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | SECURITY_ATTRIBUTES(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES. | calloc(int
the buffer capacity capacity)Returns a new |
| public static SECURITY_ATTRIBUTES | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SECURITY_ATTRIBUTES. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES. | |
| public static SECURITY_ATTRIBUTES. | |
| protected SECURITY_ATTRIBUTES | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES. | create(int
the buffer capacity capacity)Returns a new |
| public static SECURITY_ATTRIBUTES. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES. | |
| public long | lpSecurityDescriptor()
a pointer to a |
| public SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES. | malloc(int
the buffer capacity capacity)Returns a new |
| public static SECURITY_ATTRIBUTES | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static SECURITY_ATTRIBUTES. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES | |
| public static SECURITY_ATTRIBUTES. | |
| public static SECURITY_ATTRIBUTES. | |
| public static int | |
| public static void | |
| public int | |
| public SECURITY_ATTRIBUTES | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public SECURITY_ATTRIBUTES | set(int nLength, long lpSecurityDescriptor, boolean bInheritHandle)
Initializes this struct with the specified values. |
| public SECURITY_ATTRIBUTES | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BINHERITHANDLE | back to summary |
|---|---|
| public static final int BINHERITHANDLE The struct member offsets. | |
| LPSECURITYDESCRIPTOR | back to summary |
|---|---|
| public static final int LPSECURITYDESCRIPTOR The struct member offsets. | |
| NLENGTH | back to summary |
|---|---|
| public static final int NLENGTH The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| SECURITY_ATTRIBUTES | back to summary |
|---|---|
| protected SECURITY_ATTRIBUTES(long address, ByteBuffer container) | |
| SECURITY_ATTRIBUTES | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| bInheritHandle | back to summary |
|---|---|
| public boolean bInheritHandle() specifies whether the returned handle is inherited when a new process is created. If this member is
| |
| bInheritHandle | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES bInheritHandle(boolean value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected SECURITY_ATTRIBUTES create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES create() Returns a new | |
| create | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Returns a new
| |
| create | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Create a
| |
| createSafe | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Like
| |
| lpSecurityDescriptor | back to summary |
|---|---|
| public long lpSecurityDescriptor() a pointer to a
| |
| lpSecurityDescriptor | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES lpSecurityDescriptor(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbInheritHandle | back to summary |
|---|---|
| public static int nbInheritHandle(long struct) Unsafe version of | |
| nbInheritHandle | back to summary |
|---|---|
| public static void nbInheritHandle(long struct, int value) Unsafe version of | |
| nLength | back to summary |
|---|---|
| public int nLength() the size, in bytes, of this structure. Set this value to
| |
| nLength | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES nLength(int value) Sets the specified value to the | |
| nlpSecurityDescriptor | back to summary |
|---|---|
| public static long nlpSecurityDescriptor(long struct) Unsafe version of | |
| nlpSecurityDescriptor | back to summary |
|---|---|
| public static void nlpSecurityDescriptor(long struct, long value) Unsafe version of | |
| nnLength | back to summary |
|---|---|
| public static int nnLength(long struct) Unsafe version of | |
| nnLength | back to summary |
|---|---|
| public static void nnLength(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES set(int nLength, long lpSecurityDescriptor, boolean bInheritHandle) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES set(SECURITY_ATTRIBUTES src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
SECURITY_ATTRIBUTES structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final SECURITY_ATTRIBUTES |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public SECURITY_ATTRIBUTES. | bInheritHandle(boolean value)
Sets the specified value to the |
| protected SECURITY_ATTRIBUTES | |
| public long | |
| public SECURITY_ATTRIBUTES. | lpSecurityDescriptor(long value)
Sets the specified value to the |
| public int | |
| public SECURITY_ATTRIBUTES. | |
| protected SECURITY_ATTRIBUTES. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final SECURITY_ATTRIBUTES ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| bInheritHandle | back to summary |
|---|---|
public boolean bInheritHandle()
| |
| bInheritHandle | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected SECURITY_ATTRIBUTES getElementFactory() Implements abstract org.
| |
| lpSecurityDescriptor | back to summary |
|---|---|
public long lpSecurityDescriptor()
| |
| lpSecurityDescriptor | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES. Sets the specified value to the | |
| nLength | back to summary |
|---|---|
public int nLength()
| |
| nLength | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected SECURITY_ATTRIBUTES. Implements abstract org.
| |