Get the RECT structure that contains the dialog box coordinates to be converted.
BOOL MapDialogRect( HWND hDlg, RECT * lpRect )
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
GetDialogBaseUnits
origin.h