mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-15 00:26:03 +08:00
Improve bindings logic.
This commit is contained in:
@@ -117,9 +117,9 @@ public unsafe partial struct IDXGIFactory5 : INativeGuid
|
||||
/// <inheritdoc cref="IDXGIFactory.MakeWindowAssociation" />
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
[VtblIndex(8)]
|
||||
public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags)
|
||||
public HResult MakeWindowAssociation(IntPtr WindowHandle, WindowAssociationFlags Flags)
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IntPtr, uint, int>)(lpVtbl[8]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
return ((delegate* unmanaged[Stdcall]<IDXGIFactory5*, IntPtr, WindowAssociationFlags, int>)(lpVtbl[8]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), WindowHandle, Flags);
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="IDXGIFactory.GetWindowAssociation" />
|
||||
|
||||
Reference in New Issue
Block a user