[DllImport("gdi32")] public static extern int SetWindowExtEx(HDC hdc, int nX, int nY, ref SIZE lpSize);
[DllImport("gdi32")] public static extern int ScaleWindowExtEx(HDC hdc, int nXnum, int nXdenom, int nYnum, int nYdenom, ref SIZE lpSize);
[DllImport("gdi32")] public static extern int SetBitmapDimensionEx(HANDLE hbm, int nX, int nY, ref SIZE lpSize);
[DllImport("gdi32")] public static extern int GetViewportExtEx(HDC hdc, ref SIZE lpSize);
[DllImport("gdi32")] public static extern int GetTextExtentPoint32(HDC hdc, string lpsz, int cbString, ref SIZE lpSize);
[DllImport("gdi32")] public static extern int GetTextExtentExPoint(HDC hdc, string lpszStr, int cchString, int nMaxExtent, ref int lpnFit, int alpDx, ref SIZE lpSize);
[DllImport("gdi32")] public static extern int GetBitmapDimensionEx(HANDLE hBitmap, ref SIZE lpDimension);
[DllImport("gdi32")] public static extern int GetAspectRatioFilterEx(HDC hdc, ref SIZE lpAspectRatio);