From 6656022edc7dc155d7a7eafbc213bae437e284a6 Mon Sep 17 00:00:00 2001 From: yaw-man Date: Mon, 8 Aug 2022 19:05:23 -0300 Subject: [PATCH] Ajouter WTQueuePacketsEx pour voir les nombres serial --- src/yaw-tab/wtutil.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/yaw-tab/wtutil.cpp b/src/yaw-tab/wtutil.cpp index 2a135a8..ac3bc26 100644 --- a/src/yaw-tab/wtutil.cpp +++ b/src/yaw-tab/wtutil.cpp @@ -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; } //////////////////////////////////////////////////////////////////////////////