Differences
This shows you the differences between two versions of the page.
| en:docs:fapi:viogetmode [2021/08/20 08:54] – created prokushev | en:docs:fapi:viogetmode [2021/09/19 04:48] (current) – prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{page> | {{page> | ||
| + | ====== VioGetMode ====== | ||
| + | |||
| This call returns the mode of the display. | This call returns the mode of the display. | ||
| - | ==Syntax== | + | ===== Syntax |
| - | | + | <code c> |
| + | VioGetMode (ModeData, VioHandle) | ||
| + | </ | ||
| + | |||
| + | ===== Parameters ===== | ||
| + | |||
| + | * ModeData ([[PVIOMODEINFO]]) - input/ | ||
| + | * VioHandle ([[HVIO]]) - input : Reserved word of 0s. | ||
| + | |||
| + | ===== Return Code ===== | ||
| + | |||
| + | rc ([[USHORT]]) - return | ||
| + | |||
| + | Return code descriptions are: | ||
| + | *0 NO_ERROR | ||
| + | *436 ERROR_VIO_INVALID_HANDLE | ||
| + | *438 ERROR_VIO_INVALID_LENGTH | ||
| + | *465 ERROR_VIO_DETACHED | ||
| + | *494 ERROR_VIO_EXTENDED_SG | ||
| - | ==Parameters== | + | ===== Remarks ===== |
| - | ;ModeData (P[[VIOMODEINFO]]) - input/ | + | |
| - | ;VioHandle (HVIO) - input : Reserved word of 0s. | + | |
| - | ==Return Code== | + | Refer to [[VioSetMode]] for examples. |
| - | ;rc (USHORT) - return: | + | |
| - | *0 NO_ERROR | + | |
| - | *436 ERROR_VIO_INVALID_HANDLE | + | |
| - | *438 ERROR_VIO_INVALID_LENGTH | + | |
| - | *465 ERROR_VIO_DETACHED | + | |
| - | *494 ERROR_VIO_EXTENDED_SG | + | |
| - | ==Remarks== | + | ===== Bindings ===== |
| - | Refer to [[VioSetMode (FAPI)|VioSetMode]] for examples. | + | |
| - | ==Bindings== | + | ====C==== |
| - | ===C=== | + | <code c> |
| - | <PRE> | + | |
| typedef struct _VIOMODEINFO { | typedef struct _VIOMODEINFO { | ||
| USHORT cb; /* Length of the entire data structure */ | USHORT cb; /* Length of the entire data structure */ | ||
| Line 50: | Line 59: | ||
| USHORT | USHORT | ||
| - | </PRE> | + | </code> |
| - | ===MASM=== | + | ====MASM==== |
| - | <PRE> | + | <code asm> |
| VIOMODEINFO struc | VIOMODEINFO struc | ||
| viomi_cb | viomi_cb | ||
| Line 79: | Line 88: | ||
| Returns WORD | Returns WORD | ||
| - | </PRE> | + | </code> |
| {{page> | {{page> | ||




