/* Get the dimensions of the display and of the current clipping area.  */
EMSTATUS DMD_getDisplayGeometry(DMD_DisplayGeometry **geometry)
/* Get the dimensions of the display and of the current clipping area.  */
EMSTATUS DMD_getDisplayGeometry(DMD_DisplayGeometry **geometry)
{
  if (!initialized)
  {
    return DMD_ERROR_DRIVER_NOT_INITIALIZED;
  }
  *geometry = &dimensions;
  return DMD_OK;
}