public static extern uint GetBkColor(HDC hDC);
public static extern bool SetViewportOrgEx(HDC hDC, int x, int y, out Win32.POINT pptOld);
public static extern nuint SetTextAlign(HDC hDC, nuint align);
public static extern bool SetWindowExtEx(HDC hDC, int x, int y, out Win32.SIZE size);
public static extern uint GetNearestColor(HDC hDC, uint color);
public static extern bool GetTextMetrics(HDC hdc, out Win32.TEXTMETRIC lptm);
public static extern bool RectVisible(HDC hDC, ref Win32.RECT rc);
public static extern bool GetDCOrgEx(HDC hDC, out Win32.POINT pptOld);
public uint GetDCOrg(HDC hDC) { Win32.POINT pt; GetDCOrgEx(hDC, out pt); return(pt.ToDWord()); }
public static extern bool GetCurrentPositionEx(HDC hdc, out Win32.POINT lpPoint);
public uint GetCurrentPosition(HDC hDC) { Win32.POINT pt; GetCurrentPositionEx(hDC, out pt); return(pt.ToDWord()); }
public static extern nint GetClipBox(HDC hDC, out Win32.RECT rc);
public static extern nint GetBkMode(HDC hDC);
public static extern nint SetROP2(HDC hDC, nint mode);
public static extern uint GetTextColor(HDC hDC);
public static extern nint _GetDeviceCaps(HDC hDC, nint cap);
static extern bool GetTextExtentPoint(HDC hdc, string lpString, int cbString, out Win32.SIZE lpSize);
public static extern nint GetMapMode(HDC hDC);
public static extern bool PtVisible(HDC hDC, nint x, nint y);
public static extern nint SetStretchBltMode(HDC hDC, nint mode);
public static extern bool PlayMetaFile(HDC hDC, HENHMETAFILE hMetaFile);
public static extern uint SetTextColor(HDC hDC, uint color);
public static extern bool SetBrushOrgEx(HDC hDC, int x, int y, out Win32.POINT pptOld);
public static extern uint GetPixel(HDC hDC, nint x, nint y);
public static extern HGDIOBJ CreateDiscardableBitmap(HDC hDC, nint width, nint height);
public static extern nint GetROP2(HDC hDC);
public static extern nuint GetTextAlign(HDC hDC);
public static extern nint GetStretchBltMode(HDC hDC);
public static extern uint _GetSystemPaletteEntries(HDC hDC, uint iStartIndex, uint nEntries, IntPtr ptr);
public static extern nint SetMapMode(HDC hDC, nint mode);