If VkExportMemoryAllocateInfo is not included in the same pNext chain, this structure is ignored.
If VkExportMemoryAllocateInfo is included in the pNext chain of VkMemoryAllocateInfo with a Windows handleType, but either VkExportMemoryWin32HandleInfoKHR is not included in the pNext chain, or it is included but pAttributes is set to NULL, default security descriptor values will be used, and child processes created by the application will not inherit the handle, as described in the MSDN documentation for “Synchronization Object Security and Access Rights”1. Further, if the structure is not present, the access rights used depend on the handle type.
For handles of the following types:
The implementation must ensure the access rights allow read and write access to the memory.
VkExportMemoryAllocateInfo::handleTypes does not include EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT, a VkExportMemoryWin32HandleInfoKHR structure must not be included in the pNext chain of VkMemoryAllocateInfosType must be STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHRpAttributes is not NULL, pAttributes must be a valid pointer to a valid SECURITY_ATTRIBUTES value
struct VkExportMemoryWin32HandleInfoKHR {
VkStructureType sType;
void const * pNext;
SECURITY_ATTRIBUTES const * pAttributes;
DWORD dwAccess;
LPCWSTR name;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkExportMemoryWin32HandleInfoKHR.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DWACCESS
The struct member offsets. |
| public static final int | NAME
The struct member offsets. |
| public static final int | PATTRIBUTES
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkExportMemoryWin32HandleInfoKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR | |
| public static VkExportMemoryWin32HandleInfoKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkExportMemoryWin32HandleInfoKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkExportMemoryWin32HandleInfoKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkExportMemoryWin32HandleInfoKHR | |
| public static VkExportMemoryWin32HandleInfoKHR | |
| public static VkExportMemoryWin32HandleInfoKHR. | |
| public static VkExportMemoryWin32HandleInfoKHR. | |
| protected VkExportMemoryWin32HandleInfoKHR | 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 VkExportMemoryWin32HandleInfoKHR | |
| public static VkExportMemoryWin32HandleInfoKHR | create(long address)
Returns a new |
| public static VkExportMemoryWin32HandleInfoKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkExportMemoryWin32HandleInfoKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkExportMemoryWin32HandleInfoKHR | |
| public static VkExportMemoryWin32HandleInfoKHR. | |
| public int | |
| public VkExportMemoryWin32HandleInfoKHR | |
| public static VkExportMemoryWin32HandleInfoKHR | |
| public static VkExportMemoryWin32HandleInfoKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkExportMemoryWin32HandleInfoKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkExportMemoryWin32HandleInfoKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkExportMemoryWin32HandleInfoKHR | |
| public static VkExportMemoryWin32HandleInfoKHR | |
| public static VkExportMemoryWin32HandleInfoKHR. | |
| public static VkExportMemoryWin32HandleInfoKHR. | |
| public ByteBuffer | name()
a null-terminated UTF-16 string to associate with the payload referenced by NT handles exported from the created memory. |
| public VkExportMemoryWin32HandleInfoKHR | |
| public String | nameString()
a null-terminated UTF-16 string to associate with the payload referenced by NT handles exported from the created memory. |
| public static int | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public static SECURITY_ATTRIBUTES | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public SECURITY_ATTRIBUTES | pAttributes()
a pointer to a Windows |
| public VkExportMemoryWin32HandleInfoKHR | pAttributes(SECURITY_ATTRIBUTES value)
Sets the address of the specified |
| public long | |
| public VkExportMemoryWin32HandleInfoKHR | |
| public VkExportMemoryWin32HandleInfoKHR | set(int sType, long pNext, SECURITY_ATTRIBUTES pAttributes, int dwAccess, ByteBuffer name)
Initializes this struct with the specified values. |
| public VkExportMemoryWin32HandleInfoKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkExportMemoryWin32HandleInfoKHR | |
| public VkExportMemoryWin32HandleInfoKHR | sType$Default()
Sets the |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DWACCESS | back to summary |
|---|---|
| public static final int DWACCESS The struct member offsets. | |
| NAME | back to summary |
|---|---|
| public static final int NAME The struct member offsets. | |
| PATTRIBUTES | back to summary |
|---|---|
| public static final int PATTRIBUTES The struct member offsets. | |
| PNEXT | back to summary |
|---|---|
| public static final int PNEXT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STYPE | back to summary |
|---|---|
| public static final int STYPE The struct member offsets. | |
| VkExportMemoryWin32HandleInfoKHR | back to summary |
|---|---|
| protected VkExportMemoryWin32HandleInfoKHR(long address, ByteBuffer container) | |
| VkExportMemoryWin32HandleInfoKHR | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkExportMemoryWin32HandleInfoKHR create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Like
| |
| dwAccess | back to summary |
|---|---|
| public int dwAccess() a
| |
| dwAccess | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR dwAccess(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkExportMemoryWin32HandleInfoKHR. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| name | back to summary |
|---|---|
| public ByteBuffer name() a null-terminated UTF-16 string to associate with the payload referenced by NT handles exported from the created memory.
| |
| name | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR name(ByteBuffer value) Sets the address of the specified encoded string to the | |
| nameString | back to summary |
|---|---|
| public String nameString() a null-terminated UTF-16 string to associate with the payload referenced by NT handles exported from the created memory.
| |
| ndwAccess | back to summary |
|---|---|
| public static int ndwAccess(long struct) Unsafe version of | |
| ndwAccess | back to summary |
|---|---|
| public static void ndwAccess(long struct, int value) Unsafe version of | |
| nname | back to summary |
|---|---|
| public static ByteBuffer nname(long struct) Unsafe version of | |
| nname | back to summary |
|---|---|
| public static void nname(long struct, ByteBuffer value) Unsafe version of | |
| nnameString | back to summary |
|---|---|
| public static String nnameString(long struct) Unsafe version of | |
| npAttributes | back to summary |
|---|---|
| public static SECURITY_ATTRIBUTES npAttributes(long struct) Unsafe version of
| |
| npAttributes | back to summary |
|---|---|
| public static void npAttributes(long struct, SECURITY_ATTRIBUTES value) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static long npNext(long struct) Unsafe version of | |
| npNext | back to summary |
|---|---|
| public static void npNext(long struct, long value) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static int nsType(long struct) Unsafe version of | |
| nsType | back to summary |
|---|---|
| public static void nsType(long struct, int value) Unsafe version of | |
| pAttributes | back to summary |
|---|---|
| public SECURITY_ATTRIBUTES pAttributes() a pointer to a Windows
| |
| pAttributes | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR pAttributes(SECURITY_ATTRIBUTES value) Sets the address of the specified | |
| pNext | back to summary |
|---|---|
| public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR pNext(long value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR set(int sType, long pNext, SECURITY_ATTRIBUTES pAttributes, int dwAccess, ByteBuffer name) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR set(VkExportMemoryWin32HandleInfoKHR src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| sType | back to summary |
|---|---|
| public int sType() a
| |
| sType | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR sType(int value) Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR sType$Default() Sets the | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
VkExportMemoryWin32HandleInfoKHR structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkExportMemoryWin32HandleInfoKHR |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkExportMemoryWin32HandleInfoKHR 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) | |
| dwAccess | back to summary |
|---|---|
public int dwAccess()
| |
| dwAccess | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkExportMemoryWin32HandleInfoKHR getElementFactory() Implements abstract org.
| |
| name | back to summary |
|---|---|
public ByteBuffer name()
| |
| name | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR. Sets the address of the specified encoded string to the | |
| nameString | back to summary |
|---|---|
public String nameString()
| |
| pAttributes | back to summary |
|---|---|
public SECURITY_ATTRIBUTES pAttributes()
| |
| pAttributes | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR. Sets the address of the specified | |
| pNext | back to summary |
|---|---|
public long pNext()
| |
| pNext | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkExportMemoryWin32HandleInfoKHR. Implements abstract org.
| |
| sType | back to summary |
|---|---|
public int sType()
| |
| sType | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR. Sets the specified value to the | |
| sType$Default | back to summary |
|---|---|
| public VkExportMemoryWin32HandleInfoKHR. Sets the | |