From 26a42de2b739b8bf2cf9f1e1c849a681c1fcdc89 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Thu, 30 Dec 2010 18:13:00 +0000 Subject: Spent the day removing some bad-bugs in the fake TrackIR protocol and the SCServer protocol. Seems to work now?! git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@34 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FaceTrackNoIR/FTIRTypes.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'FaceTrackNoIR/FTIRTypes.h') diff --git a/FaceTrackNoIR/FTIRTypes.h b/FaceTrackNoIR/FTIRTypes.h index bd19769b..f238762c 100644 --- a/FaceTrackNoIR/FTIRTypes.h +++ b/FaceTrackNoIR/FTIRTypes.h @@ -143,22 +143,22 @@ typedef FTIRMemMap * PFTIRMemMap; // the client -- this function receives head tester reports from the game client API // typedef NPRESULT (__stdcall *PF_NOTIFYCALLBACK)( unsigned short, unsigned short ); - -// Typedefs for game client API functions (useful for declaring pointers to these -// functions within the client for use during GetProcAddress() ops) // -typedef NPRESULT (__stdcall *PF_NP_REGISTERWINDOWHANDLE)( HWND ); -typedef NPRESULT (__stdcall *PF_NP_UNREGISTERWINDOWHANDLE)( void ); -typedef NPRESULT (__stdcall *PF_NP_REGISTERPROGRAMPROFILEID)( unsigned short ); -typedef NPRESULT (__stdcall *PF_NP_QUERYVERSION)( unsigned short* ); -typedef NPRESULT (__stdcall *PF_NP_REQUESTDATA)( unsigned short ); -typedef NPRESULT (__stdcall *PF_NP_GETDATA)( LPTRACKIRDATA ); -typedef NPRESULT (__stdcall *PF_NP_REGISTERNOTIFY)( PF_NOTIFYCALLBACK ); -typedef NPRESULT (__stdcall *PF_NP_UNREGISTERNOTIFY)( void ); -typedef NPRESULT (__stdcall *PF_NP_STARTCURSOR)( void ); -typedef NPRESULT (__stdcall *PF_NP_STOPCURSOR)( void ); -typedef NPRESULT (__stdcall *PF_NP_STARTDATATRANSMISSION)( void ); -typedef NPRESULT (__stdcall *PF_NP_STOPDATATRANSMISSION)( void ); +//// Typedefs for game client API functions (useful for declaring pointers to these +//// functions within the client for use during GetProcAddress() ops) +//// +//typedef NPRESULT (__stdcall *PF_NP_REGISTERWINDOWHANDLE)( HWND ); +//typedef NPRESULT (__stdcall *PF_NP_UNREGISTERWINDOWHANDLE)( void ); +//typedef NPRESULT (__stdcall *PF_NP_REGISTERPROGRAMPROFILEID)( unsigned short ); +//typedef NPRESULT (__stdcall *PF_NP_QUERYVERSION)( unsigned short* ); +//typedef NPRESULT (__stdcall *PF_NP_REQUESTDATA)( unsigned short ); +//typedef NPRESULT (__stdcall *PF_NP_GETDATA)( LPTRACKIRDATA ); +//typedef NPRESULT (__stdcall *PF_NP_REGISTERNOTIFY)( PF_NOTIFYCALLBACK ); +//typedef NPRESULT (__stdcall *PF_NP_UNREGISTERNOTIFY)( void ); +//typedef NPRESULT (__stdcall *PF_NP_STARTCURSOR)( void ); +//typedef NPRESULT (__stdcall *PF_NP_STOPCURSOR)( void ); +//typedef NPRESULT (__stdcall *PF_NP_STARTDATATRANSMISSION)( void ); +//typedef NPRESULT (__stdcall *PF_NP_STOPDATATRANSMISSION)( void ); //// Function Prototypes /////////////////////////////////////////////// // -- cgit v1.2.3