Files
2ine-tms34010/native/kbdcalls.h
T
Ryan C. Gordon 20d2bfa3ff Split out OS2EXPORT from OS2API.
Otherwise, "SomeObj * OS2API FunctionName()" won't work.
2017-12-20 18:31:48 -05:00

32 lines
462 B
C

#ifndef _INCL_KBDCALLS_H_
#define _INCL_KBDCALLS_H_
#include "os2types.h"
#ifdef __cplusplus
extern "C" {
#endif
#pragma pack(push, 2)
typedef struct
{
UCHAR chChar;
UCHAR chScan;
UCHAR fbStatus;
UCHAR bNlsShift;
USHORT fsState;
ULONG time;
} KBDKEYINFO, *PKBDKEYINFO;
#pragma pack(pop)
OS2EXPORT APIRET16 OS2API16 KbdCharIn(PKBDKEYINFO pkbci, USHORT fWait, HKBD hkbd);
#ifdef __cplusplus
}
#endif
#endif
// end of kbdcalls.h ...