Differences
This shows you the differences between two versions of the page.
en:ibm:prcp:kbd:reg [2014/05/13 14:39] – created valerius | en:ibm:prcp:kbd:reg [2016/09/15 02:49] (current) – valerius | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== KbdRegister ==== | ==== KbdRegister ==== | ||
- | **Bindings**: | + | **Bindings**: |
- | + | ||
- | C: | + | |
- | <code c> | + | |
- | #define INCL_KBD | + | |
- | + | ||
- | USHORT | + | |
- | + | ||
- | PSZ ModuleName; | + | |
- | PSZ EntryPoint; | + | |
- | ULONG FunctionMask; | + | |
- | + | ||
- | USHORT | + | |
- | </ | + | |
- | + | ||
- | MASM: | + | |
- | <code asm> | + | |
- | EXTRN KbdRegister: | + | |
- | INCL_KBD | + | |
- | + | ||
- | PUSH@ ASCIIZ | + | |
- | PUSH@ ASCIIZ | + | |
- | PUSH | + | |
- | CALL | + | |
- | + | ||
- | Returns WORD | + | |
- | </ | + | |
This call registers a keyboard subsystem within a session. | This call registers a keyboard subsystem within a session. | ||
Line 73: | Line 47: | ||
There can be only one // | There can be only one // | ||
+ | |||
+ | === C bindings === | ||
+ | |||
+ | <code c> | ||
+ | #define INCL_KBD | ||
+ | |||
+ | USHORT | ||
+ | |||
+ | PSZ ModuleName; | ||
+ | PSZ EntryPoint; | ||
+ | ULONG FunctionMask; | ||
+ | |||
+ | USHORT | ||
+ | </ | ||
+ | |||
+ | === MASM bindings === | ||
+ | |||
+ | <code asm> | ||
+ | EXTRN KbdRegister: | ||
+ | INCL_KBD | ||
+ | |||
+ | PUSH@ ASCIIZ | ||
+ | PUSH@ ASCIIZ | ||
+ | PUSH | ||
+ | CALL | ||
+ | |||
+ | Returns WORD | ||
+ | </ | ||