wince-record.h

00001 //======================================================================
00002 // Header file for record.c
00003 //
00004 //======================================================================
00005 // Returns number of elements
00006 #define dim(x) (sizeof(x) / sizeof(x[0])) 
00007 
00008 //----------------------------------------------------------------------
00009 // Generic defines and data types
00010 //
00011 struct decodeUINT {                            // Structure associates
00012     UINT Code;                                 // messages 
00013                                                // with a function. 
00014     LRESULT (*Fxn)(HWND, UINT, WPARAM, LPARAM);
00015 }; 
00016 struct decodeCMD {                             // Structure associates
00017     UINT Code;                                 // menu IDs with a 
00018     LRESULT (*Fxn)(HWND, WORD, HWND, WORD);    // function
00019 };
00020 
00021 //----------------------------------------------------------------------
00022 // Generic defines used by application
00023 #define  IDC_CMDBAR 1                          // Command bar ID
00024 
00025 //----------------------------------------------------------------------
00026 // Function prototypes
00027 //
00028 int InitApp (HINSTANCE);
00029 HWND InitInstance (HINSTANCE, LPWSTR, int);
00030 int TermInstance (HINSTANCE, int);
00031 
00032 // Window procedures
00033 LRESULT CALLBACK MainWndProc (HWND, UINT, WPARAM, LPARAM);
00034 
00035 // Message handlers
00036 LRESULT DoCreateMain (HWND, UINT, WPARAM, LPARAM);
00037 LRESULT DoPaintMain (HWND, UINT, WPARAM, LPARAM);
00038 LRESULT DoHibernateMain (HWND, UINT, WPARAM, LPARAM);
00039 LRESULT DoActivateMain (HWND, UINT, WPARAM, LPARAM);
00040 LRESULT DoDestroyMain (HWND, UINT, WPARAM, LPARAM);
00041 
00042 // Thread functions
00043 int RecordAudioThread (PVOID pARG);

Generated on Mon Jun 5 10:20:43 2006 for Intelligence.kdevelop by  doxygen 1.4.6