[DllImport("gdi32")] public static extern int GetCharABCWidths(HDC hdc, int uFirstChar, int uLastChar, ref Gdi_struct.ABC lpabc);
[DllImport("gdi32")] public static extern int SetWorldTransform(HDC hdc, ref Gdi_struct.XFORM lpXform);
[DllImport("gdi32")] public static extern int StretchDIBits(HDC hdc, int x, int y, int dx, int dy, int SrcX, int SrcY, int wSrcWidth, int wSrcHeight, IntPtr lpBits, ref Gdi_struct.BITMAPINFO lpBitsInfo, int wUsage, int dwRop);
[DllImport("gdi32")] public static extern int SetDIBitsToDevice(HDC hdc, int x, int y, int dx, int dy, int SrcX, int SrcY, int Scan, int NumScans, IntPtr Bits, Gdi_struct.BITMAPINFO BitsInfo, int wUsage);
[DllImport("gdi32")] public static extern int SetPixelFormat(HWND hdc, int n, ref Gdi_struct.PIXELFORMATDESCRIPTOR pcPixelFormatDescriptor);
[DllImport("gdi32")] public static extern int ResetDC(HDC hdc, ref Gdi_struct.DEVMODE lpInitData);
[DllImport("gdi32")] public static extern int SetDIBColorTable(HWND hdc, int un1, int un2, ref Gdi_struct.RGBQUAD pcRGBQuad);
[DllImport("gdi32")] public static extern int GetKerningPairs(HDC hdc, int cPairs, ref Gdi_struct.KERNINGPAIR lpkrnpair);
[DllImport("gdi32")] public static extern int GetLogColorSpace(HANDLE hcolorspace, ref Gdi_struct.LOGCOLORSPACE lplogcolorspace, int dw);
[DllImport("gdi32")] public static extern int GetEnhMetaFilePaletteEntries(HANDLE hemf, int cEntries, ref Gdi_struct.PALETTEENTRY lppe);
[DllImport("gdi32")] public static extern int GetGlyphOutline(HDC hdc, int uChar, int fuFormat, ref Gdi_struct.GLYPHMETRICS lpgm, int cbBuffer, IntPtr lpBuffer, ref Gdi_struct.MAT2 lpmat2);
[DllImport("gdi32")] public static extern int GetEnhMetaFileHeader(HANDLE hemf, int cbBuffer, ref Gdi_struct.ENHMETAHEADER lpemh);
[DllImport("gdi32")] public static extern int GetCharacterPlacement(HDC hdc, string lpsz, int n1, int n2, ref Gdi_struct.GCP_RESULTS lpGcpResults, int dw);
[DllImport("gdi32")] public static extern int GetCharABCWidthsFloat(HDC hdc, int iFirstChar, int iLastChar, ref Gdi_struct.ABCFLOAT lpABCF);
[DllImport("gdi32")] public static extern int PlayMetaFileRecord(HDC hdc, ref Gdi_struct.HANDLETABLE lpHandletable, ref Gdi_struct.METARECORD lpMetaRecord, int nHandles);
[DllImport("gdi32")] public static extern int GetOutlineTextMetrics(HDC hdc, int cbData, ref Gdi_struct.OUTLINETEXTMETRIC lpotm);
[DllImport("gdi32")] public static extern int PolyTextOut(HDC hdc, ref Gdi_struct.POLYTEXT pptxt, int cStrings);
[DllImport("gdi32")] public static extern int GetRasterizerCaps(ref Gdi_struct.RASTERIZER_STATUS lpraststat, int cb);
[DllImport("gdi32")] public static extern int SetColorAdjustment(HDC hdc, ref Gdi_struct.COLORADJUSTMENT lpca);
[DllImport("gdi32")] public static extern int GetRegionData(HANDLE hRgn, int dwCount, ref Gdi_struct.RGNDATA lpRgnData);
[DllImport("gdi32")] public static extern int SetDIBits(HDC hdc, HANDLE hBitmap, int nStartScan, int nNumScans, IntPtr lpBits, ref Gdi_struct.BITMAPINFO lpBI, int wUsage);
[DllImport("gdi32")] public static extern int GetSystemPaletteEntries(HDC hdc, int wStartIndex, int wNumEntries, ref Gdi_struct.PALETTEENTRY lpPaletteEntries);
[DllImport("gdi32")] public static extern int SetPaletteEntries(HANDLE hPalette, int wStartIndex, int wNumEntries, ref Gdi_struct.PALETTEENTRY lpPaletteEntries);
[DllImport("gdi32")] public static extern int GetTextCharsetInfo(HDC hdc, ref Gdi_struct.FONTSIGNATURE lpSig, int dwFlags);
[DllImport("gdi32")] public static extern int SetWinMetaFileBits(int cbBuffer, Byte lpbBuffer, HWND hdcRef, ref Gdi_struct.METAFILEPICT lpmfp);
[DllImport("gdi32")] public static extern int GetTextMetrics(HDC hdc, ref Gdi_struct.TEXTMETRIC lpMetrics);
[DllImport("gdi32")] public static extern int StartDoc(HDC hdc, ref Gdi_struct.DOCINFO lpdi);
[DllImport("gdi32")] public static extern int ModifyWorldTransform(HDC hdc, ref Gdi_struct.XFORM lpXform, int iMode);
[DllImport("gdi32")] public static extern int TranslateCharsetInfo(int lpSrc, ref Gdi_struct.CHARSETINFO lpcs, int dwFlags);
[DllImport("gdi32")] public static extern int ExtCreateRegion(ref Gdi_struct.XFORM lpXform, int nCount, ref Gdi_struct.RGNDATA lpRgnData);