www.pudn.com > LabWindowsCVI.rar > sample15.h


/**************************************************************************/ 
/* LabWindows/CVI User Interface Resource (UIR) Include File              */ 
/* Copyright (c) National Instruments 2002. All Rights Reserved.          */ 
/*                                                                        */ 
/* WARNING: Do not add to, delete from, or otherwise modify the contents  */ 
/*          of this include file.                                         */ 
/**************************************************************************/ 
 
#include  
 
#ifdef __cplusplus 
    extern "C" { 
#endif 
 
     /* Panels and Controls: */ 
 
#define  PANEL                           1       /* callback function: PanelCallback */ 
#define  PANEL_INFOMATION                2       /* callback function: InfoCallback */ 
#define  PANEL_QUIT                      3       /* callback function: QuitCallback */ 
#define  PANEL_DATATOSEND                4 
#define  PANEL_RECEIVEDATA               5 
#define  PANEL_SENDDATA                  6       /* callback function: SendCallback */ 
#define  PANEL_CLEAR                     7       /* callback function: ClearCallback */ 
#define  PANEL_STATUS                    8 
#define  PANEL_TEXTMSG                   9 
 
 
     /* Menu Bars, Menus, and Menu Items: */ 
 
          /* (no menu bars in the resource file) */ 
 
 
     /* Callback Prototypes: */  
 
int  CVICALLBACK ClearCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 
int  CVICALLBACK InfoCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 
int  CVICALLBACK PanelCallback(int panel, int event, void *callbackData, int eventData1, int eventData2); 
int  CVICALLBACK QuitCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 
int  CVICALLBACK SendCallback(int panel, int control, int event, void *callbackData, int eventData1, int eventData2); 
 
 
#ifdef __cplusplus 
    } 
#endif