HANDLE is defined in cvidef.h as a pointer to void. cvidef.h gets pulled in with most any CVI header file, such as utility.h or userint.h. Or just include cvidef directly.
BOOLEAN isn't a defined type in CVI but BOOL is defined as an int, also in cvidef.h.
If you're using windows.h, include that before any of the CVI header files.
Menchar