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; } //////////////////////////////////////////////////////////////////////////////