KbdSetHWID: Difference between revisions
Appearance
m Martini moved page OS2 API:CPI:LEGACY:KbdSetHWID to OS2 API:CPI:LEGACY:KbdSetHWId: Renamed cap. |
No edit summary |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
== | {{Legacy | ||
|RepFunc= | |||
|Remarks=This page list the older version of the function for reference. | |||
}} | |||
==Syntax== | ==Syntax== | ||
USHORT KbdSetHWID (PKBDHWID pkbdhwid, HKBD hkbd) | |||
USHORT KbdSetHWID (PKBDHWID pkbdhwid, HKBD hkbd) | |||
==Example Code== | ==Example Code== | ||
<PRE> | <PRE> | ||
/* kbd25.c */ | /* kbd25.c */ | ||
| Line 32: | Line 25: | ||
</PRE> | </PRE> | ||
[[Category:Kbd]] | |||
[[Category: | |||
Latest revision as of 03:15, 16 September 2017
| It is recommended to use a newer replacement for this function. | |
| Replacement: | |
| Remarks: | This page list the older version of the function for reference. |
Syntax
USHORT KbdSetHWID (PKBDHWID pkbdhwid, HKBD hkbd)
Example Code
/* kbd25.c */
#define INCL_KBD
#include
USHORT _THUNK_FUNCTION (Kbd16SetHWID) ();
USHORT KbdSetHWID (PKBDHWID pkbdhwid, HKBD hkbd)
{
return ((USHORT)
(_THUNK_PROLOG (4+2);
_THUNK_FLAT (pkbdhwid);
_THUNK_SHORT (hkbd);
_THUNK_CALL (Kbd16SetHWID)));
}