AJA NTV2 SDK  18.1.0.2262
NTV2 SDK 18.1.0.2262
ntv2link.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MIT */
8 #ifndef NTV2LINK_H
9 #define NTV2LINK_H
10 
11 #ifdef __cplusplus
12 extern "C"
13 {
14 #endif
15 
16  bool ntv2card_open(int index, void** card);
17  void ntv2card_close(void* card);
18 
19  bool ntv2card_get_display_name(void* card, char* display, int size);
20  bool ntv2card_get_description(void* card, char* description, int size);
21  bool ntv2card_get_serial_number(void* card, char* serial, int size);
22  bool ntv2card_register_read(void* card, unsigned int reg, unsigned int* data);
23  bool ntv2card_register_write(void* card, unsigned int reg, unsigned int data);
24  bool ntv2card_send_message(void* card, void* data, unsigned int size);
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif