Differences
This shows you the differences between two versions of the page.
| en:ibm:prcp:kbd:setstatus [2014/05/16 17:59] – created valerius | en:ibm:prcp:kbd:setstatus [2016/09/15 02:58] (current) – valerius | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== KbdSetStatus ==== | ==== KbdSetStatus ==== | ||
| - | **Bindings**: | + | **Bindings**: |
| - | + | ||
| - | **C**: | + | |
| - | <code c> | + | |
| - | typedef struct _KBDINFO { /* kbst */ | + | |
| - | USHORT cb; /* length in bytes of this structure */ | + | |
| - | USHORT fsMask; | + | |
| - | USHORT chTurnAround; | + | |
| - | USHORT fsInterim; | + | |
| - | USHORT fsState; | + | |
| - | }KBDINFO; | + | |
| - | + | ||
| - | #define INCL_KBD | + | |
| - | + | ||
| - | USHORT | + | |
| - | + | ||
| - | PKBDINFO | + | |
| - | HKBD | + | |
| - | + | ||
| - | USHORT | + | |
| - | </ | + | |
| - | + | ||
| - | **MASM** | + | |
| - | + | ||
| - | <code asm> | + | |
| - | KBDINFO struc | + | |
| - | kbst_cb | + | |
| - | kbst_fsMask | + | |
| - | kbst_chTurnAround dw ? ;define TurnAround character | + | |
| - | kbst_fsInterim | + | |
| - | kbst_fsState | + | |
| - | KBDINFO ends | + | |
| - | + | ||
| - | EXTRN KbdSetStatus: | + | |
| - | INCL_KBD | + | |
| - | + | ||
| - | PUSH@ OTHER | + | |
| - | PUSH | + | |
| - | CALL | + | |
| - | </ | + | |
| This call sets the characteristics of the keyboard. | This call sets the characteristics of the keyboard. | ||
| Line 134: | Line 95: | ||
| * Interim character is not supported. | * Interim character is not supported. | ||
| * Turnaround character is not supported. | * Turnaround character is not supported. | ||
| + | |||
| + | === C bindings === | ||
| + | |||
| + | <code c> | ||
| + | typedef struct _KBDINFO { /* kbst */ | ||
| + | USHORT cb; /* length in bytes of this structure */ | ||
| + | USHORT fsMask; | ||
| + | USHORT chTurnAround; | ||
| + | USHORT fsInterim; | ||
| + | USHORT fsState; | ||
| + | }KBDINFO; | ||
| + | |||
| + | #define INCL_KBD | ||
| + | |||
| + | USHORT | ||
| + | |||
| + | PKBDINFO | ||
| + | HKBD | ||
| + | |||
| + | USHORT | ||
| + | </ | ||
| + | |||
| + | === MASM bindings === | ||
| + | |||
| + | <code asm> | ||
| + | KBDINFO struc | ||
| + | kbst_cb | ||
| + | kbst_fsMask | ||
| + | kbst_chTurnAround dw ? ;define TurnAround character | ||
| + | kbst_fsInterim | ||
| + | kbst_fsState | ||
| + | KBDINFO ends | ||
| + | |||
| + | EXTRN KbdSetStatus: | ||
| + | INCL_KBD | ||
| + | |||
| + | PUSH@ OTHER | ||
| + | PUSH | ||
| + | CALL | ||
| + | </ | ||




