Differences
This shows you the differences between two versions of the page.
| en:ibm:prcp:kbd:open [2014/05/16 17:38] – created valerius | en:ibm:prcp:kbd:open [2016/09/15 02:44] (current) – valerius | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== KbdOpen ==== | ==== KbdOpen ==== | ||
| - | **Bindings**: | + | **Bindings**:  | 
| - | + | ||
| - | **C**: | + | |
| - | <code c> | + | |
| - | #define INCL_KBD | + | |
| - | + | ||
| - | USHORT  | + | |
| - | + | ||
| - | PHKBD            KbdHandle;  | + | |
| - | + | ||
| - | USHORT  | + | |
| - | </ | + | |
| - | + | ||
| - | **MASM**: | + | |
| - | <code asm> | + | |
| - | EXTRN  KbdOpen: | + | |
| - | INCL_KBD  | + | |
| - | + | ||
| - | PUSH@  WORD    KbdHandle  | + | |
| - | CALL    | + | |
| - | + | ||
| - | Returns WORD | + | |
| - | </ | + | |
| This call creates a new logical keyboard.  | This call creates a new logical keyboard.  | ||
| Line 50: | Line 28: | ||
| //KbdOpen// get yet another logical keyboard handle  | //KbdOpen// get yet another logical keyboard handle  | ||
| // | // | ||
| + | |||
| + | === C bindings === | ||
| + | |||
| + | <code c> | ||
| + | #define INCL_KBD | ||
| + | |||
| + | USHORT  | ||
| + | |||
| + | PHKBD            KbdHandle;  | ||
| + | |||
| + | USHORT  | ||
| + | </ | ||
| + | |||
| + | === MASM bindings === | ||
| + | |||
| + | <code asm> | ||
| + | EXTRN KbdOpen:FAR | ||
| + | INCL_KBD  | ||
| + | |||
| + | PUSH@  WORD    KbdHandle  | ||
| + | CALL    | ||
| + | |||
| + | Returns WORD | ||
| + | </ | ||
| + | |||




