Ajouter WTQueuePacketsEx pour voir les nombres serial

This commit is contained in:
yaw-man 2022-08-08 19:05:23 -03:00
parent e488b14a52
commit 6656022edc
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,7 @@ WTMGRDEFCONTEXT gpWTMgrDefContext = nullptr;
WTMGRDEFCONTEXTEX gpWTMgrDefContextEx = nullptr;
// TODO - add more wintab32 function pointers as needed
WTQPACKETSEX gpWTQueuePacketsEx = nullptr;
//////////////////////////////////////////////////////////////////////////////
// Purpose
@ -81,6 +82,7 @@ BOOL LoadWintab(void)
gpWTMgrClose = (WTMGRCLOSE)GetProcAddress(ghWintab, "WTMgrClose");
gpWTMgrDefContext = (WTMGRDEFCONTEXT)GetProcAddress(ghWintab, "WTMgrDefContext");
gpWTMgrDefContextEx = (WTMGRDEFCONTEXTEX)GetProcAddress(ghWintab, "WTMgrDefContextEx");
gpWTQueuePacketsEx = (WTQPACKETSEX)GetProcAddress(ghWintab, "WTQueuePacketsEx");
// TODO - don't forget to NULL out pointers in UnloadWintab().
return TRUE;
@ -120,6 +122,7 @@ void UnloadWintab(void)
gpWTMgrClose = nullptr;
gpWTMgrDefContext = nullptr;
gpWTMgrDefContextEx = nullptr;
gpWTQueuePacketsEx = nullptr;
}
//////////////////////////////////////////////////////////////////////////////