[][src]Function vulkayes_window::from_raw_win32

pub unsafe fn from_raw_win32(
    hwnd: HWND,
    hinstance: HINSTANCE,
    entry: &Entry,
    instance: &Instance,
    allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<SurfaceKHR, Result>

Safety

  • hwnd must be a valid Win32 window handle.
  • hinstance must be a valid Win32 instance.
  • instance must be a valid Vulkan instance.