\r
/**\r
Return the current video mode information. Also returns info about existence\r
- of Graphics Output devices or UGA Draw devices in system, and if the Std In device is locked. All the\r
- arguments are optional and only returned if a non NULL pointer is passed in.\r
+ of Graphics Output devices or UGA Draw devices in system, and whether the Std\r
+ In device is locked. GopUgaExists and StdInLocked parameters are optional, and\r
+ only returned if a non NULL pointer is passed in.\r
\r
@param This Protocol instance pointer.\r
- @param Mode Are we in text of grahics mode.\r
- @param GopExists TRUE if Console Spliter has found a GOP or UGA device\r
+ @param Mode Current video mode.\r
+ @param GopUgaExists TRUE if GOP Spliter has found a GOP/UGA device\r
@param StdInLocked TRUE if StdIn device is keyboard locked\r
\r
- @retval EFI_SUCCESS Mode information returned.\r
- @retval EFI_INVALID_PARAMETER Invalid parameters.\r
+ @retval EFI_SUCCESS Video mode information is returned.\r
+ @retval EFI_INVALID_PARAMETER Invalid parameters if Mode == NULL.\r
\r
**/\r
EFI_STATUS\r
if (Private->TextOutModeMap != NULL) {\r
CurrentMode = *(Private->TextOutModeMap + Private->TextOutListCount * ModeNumber);\r
} else {\r
- CurrentMode = (INT32)(ModeNumber);\r
+ CurrentMode = (INT32) (ModeNumber);\r
}\r
Mode = &(Private->TextOutQueryData[CurrentMode]);\r
Row = Mode->Rows;\r