00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Jeff Lait 00008 * Side Effects Software Inc 00009 * 477 Richmond Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: UT_NTTablet.h ( UT Library, C++) 00015 * 00016 * COMMENTS: This has the NT specific function calls required to process 00017 * tablets. 00018 */ 00019 00020 #ifndef __UT_NTTablet__ 00021 #define __UT_NTTablet__ 00022 00023 #include "UT_API.h" 00024 #define WT_PACKET 0x7FF0 00025 #define WT_PROXIMITY 0x7FF5 00026 00027 // These functions are required to be called in the proper places 00028 // of the NT_GeneratorThread codee. It's all in UT as we don't want 00029 // to link to UI in apps that don't need it. 00030 00031 UT_API void NTtabletCreateContext(HWND hWnd); 00032 UT_API void NTtabletDestroyContext(HWND hWnd); 00033 UT_API void NTtabletSwitchContext(HWND hWnd); 00034 00035 UT_API void NTtabletHandleWTPacket(LPARAM lparam, WPARAM wparam); 00036 UT_API void NTtabletHandleWTProximity(LPARAM lparam, WPARAM wparam); 00037 00038 00039 #endif 00040
1.5.9