Class SECURITY_ATTRIBUTES

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class SECURITY_ATTRIBUTES extends Struct<SECURITY_ATTRIBUTES> implements NativeResource

 struct SECURITY_ATTRIBUTES {
     DWORD nLength;
     LPVOID lpSecurityDescriptor;
     BOOL bInheritHandle;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • NLENGTH

      public static final int NLENGTH
      The struct member offsets.
    • LPSECURITYDESCRIPTOR

      public static final int LPSECURITYDESCRIPTOR
      The struct member offsets.
    • BINHERITHANDLE

      public static final int BINHERITHANDLE
      The struct member offsets.
  • Constructor Details

    • SECURITY_ATTRIBUTES

      public SECURITY_ATTRIBUTES(ByteBuffer container)
      Creates a SECURITY_ATTRIBUTES instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details