Class VkExportMemoryWin32HandleInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkExportMemoryWin32HandleInfoKHR>
org.lwjgl.vulkan.VkExportMemoryWin32HandleInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkExportMemoryWin32HandleInfoKHR extends org.lwjgl.system.Struct<VkExportMemoryWin32HandleInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying additional attributes of Windows handles exported from a memory.
Description

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 Rights1. 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.

1
https://docs.microsoft.com/en-us/windows/win32/sync/synchronization-object-security-and-access-rights
Valid Usage
Valid Usage (Implicit)

Layout


 struct VkExportMemoryWin32HandleInfoKHR {
     VkStructureType sType();
     void const * pNext();
     SECURITY_ATTRIBUTES const * pAttributes();
     DWORD dwAccess();
     LPCWSTR name();
 }