|
Last change
on this file since 21556 was 5024, checked in by sandervl, 25 years ago |
|
added preliminary console code
|
|
File size:
992 bytes
|
| Line | |
|---|
| 1 | #if !defined (_KBD32_PRIVATE)
|
|---|
| 2 | #define _KBD32_PRIVATE
|
|---|
| 3 |
|
|---|
| 4 | #define INCL_DOS
|
|---|
| 5 | #include <os2.h>
|
|---|
| 6 | #include "vio32.h"
|
|---|
| 7 |
|
|---|
| 8 | // the queue on which all the messages arrive
|
|---|
| 9 | #define PRIMARY_QUEUE_NAME "\\QUEUES\\VIO32\\PRIMARY%x"
|
|---|
| 10 | // the queue on which all the messages arrive
|
|---|
| 11 | #define SECONDARY_QUEUE_NAME"\\QUEUES\\VIO32\\SECONDARY%x"
|
|---|
| 12 | // a sh mem containing global KBD32 info
|
|---|
| 13 | #define SHMEM_NAME "\\SHAREMEM\\VIO32HOOKX"
|
|---|
| 14 | // a mux protecting the above mem
|
|---|
| 15 | #define MUTEX_NAME "\\SEM32\\VIO32HOOKX"
|
|---|
| 16 | // max number of VIO32 apps
|
|---|
| 17 | #define MAX_VIO32 256
|
|---|
| 18 | // max number of messages on the primary mixing Q
|
|---|
| 19 | #define MAX_PRIMARY_Q_LEN 4
|
|---|
| 20 | // max number of messages on the secondary, data elaborated Q
|
|---|
| 21 | #define MAX_SECONDARY_Q_LEN 64
|
|---|
| 22 |
|
|---|
| 23 | // not for client use
|
|---|
| 24 | extern "C" {
|
|---|
| 25 | //
|
|---|
| 26 | BOOL EXPENTRY InstallHook();
|
|---|
| 27 | //
|
|---|
| 28 | BOOL EXPENTRY DeInstallHook();
|
|---|
| 29 | //
|
|---|
| 30 | BOOL EXPENTRY InputHook(HAB hab, PQMSG pQmsg, ULONG fs);
|
|---|
| 31 | //
|
|---|
| 32 | VOID EXPENTRY SendMsgHook(HAB hab,PSMHSTRUCT psmh,BOOL fInterTask);
|
|---|
| 33 |
|
|---|
| 34 | }
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.