[]
IDXGISurface1
[Guid("4AE63092-6327-4c1b-80AE-BFE12EA32B86")]
public class Surface1 : Surface, IDisposable, IUnknown
Initializes a new instance of the Surface1 class.
public Surface1(IntPtr nativePtr)
nativePtr IntPtrThe native pointer.
HRESULT IDXGISurface1::GetDC([In] BOOL Discard,[Out] HDC* phdc)
public IntPtr GetDC(Bool discard)
discard BoolReleases the GDI device context (DC) associated with the current surface and allows rendering using Direct3D. The whole surface to be considered dirty.
public void ReleaseDC()
Releases the GDI device context (DC) associated with the current surface and allows rendering using Direct3D.
public void ReleaseDC(RectL dirtyRect)
dirtyRect RectLHRESULT IDXGISurface1::ReleaseDC([In, Optional] RECT* pDirtyRect)
public void ReleaseDC_(RectL? dirtyRectRef)
dirtyRectRef RectL?public static explicit operator Surface1(IntPtr nativePointer)
nativePointer IntPtr