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