Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:docs:fapi:viosetstate [2021/10/14 08:25] – prokushev | en:docs:fapi:viosetstate [2021/11/04 12:45] (current) – prokushev | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| * VioHandle (HVIO) - input : Reserved word of 0s. | * VioHandle (HVIO) - input : Reserved word of 0s. | ||
| - | ==Return Code== | + | ===== Return Code ===== |
| ;rc (USHORT) - return: | ;rc (USHORT) - return: | ||
| *0 NO_ERROR | *0 NO_ERROR | ||
| Line 54: | Line 55: | ||
| *494 ERROR_VIO_EXTENDED_SG | *494 ERROR_VIO_EXTENDED_SG | ||
| - | ===Family API Considerations=== | + | ===== Remarks ===== |
| + | |||
| + | ==== Family API Considerations ==== | ||
| Request type = 6, Set Target VioSetMode Display Configuration, | Request type = 6, Set Target VioSetMode Display Configuration, | ||
| Set Underline Location, are not supported in the family API. | Set Underline Location, are not supported in the family API. | ||
| Some options operate differently in the DOS mode than in the OS/2 mode. Therefore, the following considerations applies to VioSetMode when coding for the DOS mode: | Some options operate differently in the DOS mode than in the OS/2 mode. Therefore, the following considerations applies to VioSetMode when coding for the DOS mode: | ||
| - | * VioSetMode clears the screen. | ||
| - | ==Bindings== | + | * VioSetMode clears the screen. |
| - | === C === | + | |
| - | <PRE> | + | ===== Bindings ===== |
| + | |||
| + | ==== C ==== | ||
| + | <code c> | ||
| typedef struct _VIOPALSTATE { | typedef struct _VIOPALSTATE { | ||
| USHORT | USHORT | ||
| Line 119: | Line 125: | ||
| USHORT | USHORT | ||
| - | </PRE> | + | </code> |
| - | ===MASM=== | + | ====MASM==== |
| - | <PRE> | + | <code asm> |
| VIOPALSTATE struc | VIOPALSTATE struc | ||
| viopal_cb | viopal_cb | ||
| Line 171: | Line 177: | ||
| Returns WORD | Returns WORD | ||
| - | </PRE> | + | </code> |
| [[http:// | [[http:// | ||
| + | |||
| + | {{page> | ||




