Syntax
INT is_InitBoard (HIDS* phf, HWND hWnd)
Description
is_InitBoard() opens the driver and establishes contact to the hardware. If the hardware is successfully initialized, this function allocates a handle to the frame grabber. All of the following functions require this as their first parameter. If DirectDraw is not used for image output, hWnd can be set to Null.
To install several EAGLE or FALCON frame grabbers in one computer (multi board operation), you have to decide during initialization of the handle which board is to be initialized. The Board ID is fixed in the EEPROM (see also is_GetBoardInfo()). If a special board is to be addressed, you have to initialize the handle hf with the relevant Board-ID of this board.
If you don’t want multi board operation, handle hf must be initialized with the value zero before calling function is_InitBoard(). Here the value zero means, that the first not used frame grabber will be used.
Parameters
phf |
Pointer to the frame grabber handle. The values have the following meaning: •0: use first unused board •1-254: use board with this board ID |
hWnd |
Handle to the window in which the image is to be displayed (NULL is allowed) |
Return value
IS_SUCCESS, Fehlercode (siehe Header-Datei)