Buffer Interface
BFType.h
Go to the documentation of this file.
1 //
2 // Creation: BFType.h
3 // Created: March 15, 1996
4 // Creator: Bob Sheff
5 //
6 // Copyright (C) 1993-94 by BitFlow, Inc. All Rights Reserved.
7 //
8 // Description:
9 //
10 // Description:
11 //
12 // BitFlow Driver Public Type Definitions
13 //
14 // History:
15 //
16 // 03/15/96 rbs Created file.
17 //
18 
19 #if !defined(__BFTYPE__)
20 #define __BFTYPE__
21 
22 // this file determines the target build
23 #include "BuildTarget.h"
24 
25 
26 #include "BFWhatSystem.h"
27 
28 // System Specific Types
29 
30 #if defined(KernelNT) || defined(UserNT)
31  #include "BFTypeNT.h"
32 #endif
33 
34 #if defined(KernelLX) || defined(UserLX)
35  #include "BFTypeLX.h"
36 #endif
37 
38 #if defined(KernelPT) || defined(UserPT)
39  #include "BFTypePT.h"
40 #endif
41 
42 // Non-system Specific Types
43 
44 #if !defined(True)
45  #define True 1
46 #endif
47 
48 #if !defined(False)
49  #define False 0
50 #endif
51 
52 #if !defined(TRUE)
53  #define TRUE 1
54 #endif
55 
56 #if !defined(FALSE)
57  #define FALSE 0
58 #endif
59 
60 #if !defined(BFNULL)
61  #define BFNULL 0
62 #endif
63 
64 #if !defined(MAX_STRING)
65  #define MAX_STRING 256
66 #endif
67 
68 #if !defined(MAX_MUTEX_TIMEOUTS)
69  #define MAX_MUTEX_TIMEOUTS 10
70 #endif
71 
72 #if !defined(MIN_STRING)
73  #define MIN_STRING 32
74 #endif
75 
76 #if !defined(MAX_PACKET)
77  #define MAX_PACKET 8
78 #endif
79 
80 #if !defined(try) && !defined(__cplusplus)
81  #define try __try
82 #endif
83 
84 #if !defined(except) && !defined(__cplusplus)
85  #define except __except
86 #endif
87 
88 typedef void ***Bd; // BitFlow board handle.
89 typedef void *** POINTER_32 BdWOW64; // BitFlow board handle for WOW64
90 
91 #if !defined(RAP_UBER_DRIVER)
92  typedef BFU32 BFRC; // BitFlow return code.
93 #endif
94 
95 typedef BFRC *BFRC_Ptr; // BitFlow return code pointer.
96 
97 typedef PBFVOID PBFCNF; // Generic camera configuration.
98 
99 #if !defined(COMPANYREGKEY)
100 
101  #ifdef LINX_BUILD_TARGET
102  #define COMPANYREGKEY "LinX"
103  #else
104  #define COMPANYREGKEY "BitFlow"
105  #endif
106 
107 #endif
108 
109 // Record that holds 64 bit Tick values produced by BFTick.
110 
111 typedef struct _BFTickRec
112 {
113  BFU32 LowBits;
114  BFU32 HighBits;
115 } BFTickRec, *BFTickPtr;
116 
117 // Record that holds 64 bit time stamp values.
118 
119 typedef struct _BFStampRec
120 {
121  BFU32 LowBits;
122  BFU32 HighBits;
124 
125 #endif
unsigned long BFU32
Definition: BFTypeNT.h:55
void ***POINTER_32 BdWOW64
Definition: BFType.h:89
BFU32 BFRC
Definition: BFType.h:92
struct _BFTickRec BFTickRec
struct _BFStampRec * BFStampPtr
BFRC * BFRC_Ptr
Definition: BFType.h:95
void *** Bd
Definition: BFType.h:88
PBFVOID PBFCNF
Definition: BFType.h:97
struct _BFTickRec * BFTickPtr
struct _BFStampRec BFStampRec
void * PBFVOID
Definition: BFTypeNT.h:32