Drawing3d documented Class Library

FeaturesW32.SwapBuffers Method

Swaps the double buffer for the frame buffer.

[Visual Basic]
<PreserveSig> _
<DllImport(EntryPoint:="SwapBuffers", CharSet:=CharSet.None, SetLastError:=True, ExactSpelling:=False, PreserveSig:=True, CallingConvention:=CallingConvention.Winapi, BestFitMapping:=False, ThrowOnUnmappableChar:=False, Value:="gdi32.dll")> _
<SuppressUnmanagedCodeSecurity> _
Public Shared Sub SwapBuffers( _
   ByVal deviceContext As IntPtr _
)
[C#]
[PreserveSig]
[DllImport(EntryPoint="SwapBuffers", CharSet=CharSet.None, SetLastError=True, ExactSpelling=False, PreserveSig=True, CallingConvention=CallingConvention.Winapi, BestFitMapping=False, ThrowOnUnmappableChar=False, Value="gdi32.dll")]
[SuppressUnmanagedCodeSecurity]
public static bool SwapBuffers(
   IntPtr deviceContext
);

Parameters

deviceContext
Devicecontext

Return Value

See Also

FeaturesW32 Class | Drawing3d.OS.Windows Namespace