kbint.h

来自「实时多重作业操作系统内核(RTMK)。简单实时多重作业操作系统内核源程序。RTM」· C头文件 代码 · 共 45 行

H
45
字号
/************************************************************************
*
*  Module name         : KBINT.H
*
*  Module description  :
*     This header file declares function prototypes for keyboard
*     interrupt functions under DOS environment.
*
*  Project             : RTMK
*
*  Target platform     : DOS
*
*  Compiler & Library  : BC++ 3.1
*
*  Author              : Richard Shen
*
*  Creation date       : 28 August, 1995
*
************************************************************************/
#ifndef KBINT_H
#define KBINT_H

#ifdef __DOS__

#include <rtmk.h>

#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */

void SetKeyboardInt(void);
void RestoreKeyboardInt(void);
void ApplKeyHitCheck(bool (*checkFunc)(int key));
void SetKeyHitEvent(PROCESS process, uint event);
void ClearKeyHitEvent(void);
void KeyHitEventFromMouse(void);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __DOS__ */
#endif /* KBINT_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?