From f7f30fa3b0935baa4fdd833a697c9c46a8f09dfd Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Sun, 27 Jan 2013 11:53:54 +0000 Subject: Send message to main-window, to display connected-game-name. git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@238 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h') diff --git a/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h b/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h index 65e523ef..42eca457 100644 --- a/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h +++ b/FTNoIR_Protocol_SC/FTNoIR_Protocol_SC.h @@ -60,6 +60,7 @@ typedef HRESULT (WINAPI *importSimConnect_AddClientEventToNotificationGroup)(HAN typedef HRESULT (WINAPI *importSimConnect_SetNotificationGroupPriority)(HANDLE hSimConnect, SIMCONNECT_NOTIFICATION_GROUP_ID GroupID, DWORD uPriority); static const char* SC_CLIENT_FILENAME = "SimConnect.dll"; +static const char* FT_PROGRAMID = "FT_ProgramID"; // For message to FaceTrackNoIR main-window. enum GROUP_ID { @@ -112,6 +113,7 @@ private: static float prevSCRotZ; bool blnSimConnectActive; + HANDLE hMainWindow; // Save the handle to FaceTrackNoIR main-window importSimConnect_Open simconnect_open; // SimConnect function(s) in DLL importSimConnect_Close simconnect_close; -- cgit v1.2.3