19
DT3157_SYNC_CTL_HPULSE_WIDTH = 0x0003,
DT3157_SYNC_CTL_VPULSE_WIDTH = 0x0004,
DT3157_SYNC_CTL_PHASE = 0x0005
} DT3157_SYNC_CONTROL, *PDT3157_SYNC_CONTROL, FAR
*LPDT3157_SYNC_CONTROL;
/* Integration pulse (exposure) settings */
typedef struct DT3157T_Exposure
{
USHRT input_channel; /* input channel to apply exposure */
ULNG PulseDuration; /* Integration pulse duration (in usec) */
ULNG Polarity; /* logic polarity of pulse to
generate*/
} DT3157T_EXPOSURE, *PDT3157T_EXPOSURE, FAR *LPDT3157T_EXPOSURE;
// These are the function pointer to use if we have a dt3157 board in
// the PC. Otherwise, they won't be used
typedef char STRING[255]; // Standard array of char for a
lpstr
// ****************************************************************************
// ****************************************************************************
/* Global variables. "GLOBAL__" is defined only in the main module. In all
*/
/* other modules, it preprocesses to a declaration, rather than a definition.
*/
#if defined(GLOBAL__)
#define GLOBAL
#define EQU(init) = init
#else
#define GLOBAL extern
#define EQU(init)
#endif
/* Flags used by the RdAndChkEditCtlValue to determine the type of operation */
#define INCREMENT 1
#define DECREMENT -1
#define SET 0
GLOBAL DEVCAPS CurDevCaps EQU({0}); /* capabilities of current
device */
//GLOBAL DEVINFO CurDevInfo EQU({0}); /* current device information
*/
//int PASCAL WinMain(HINSTANCE, HINSTANCE, LPSTR, int);
BOOL SelectDevice(int);
BOOL NewDevice(LPCSTR);
BOOL AcquireToHost();
/* Function Prototypes for acq2hst.c */
int PASCAL WinMain(HINSTANCE, HINSTANCE, LPSTR, int);
BOOL PRIVATE InitApplication(HINSTANCE);
Comentarios a estos manuales