version.h

Reference Documentation

product_line_custom
Napatech SmartNIC
category
Reference Information

Go to the documentation of this file.

1/* 2 * %NT_SOFTWARE_LICENSE% 3 */ 4 5/** 6 * @file 7 * 8 * This is the header file of the NTAPI_VERSION define. 9 */ 10#ifndef __VERSION_H__ 11#define __VERSION_H__ 12 13/** 14 * This define is used to ensure that applications can control 15 * what API version should be supported by the NTAPI library. 16 * The NTAPI library will via NT_Init, check if backward compatibility 17 * to NTAPI_VERSION can be ensured and convert all return structures 18 * to this version if possible. If it is not possible, NT_Init() will fail. 19 */ 20#define NTAPI_VERSION (2) 21 22/** 23 * Defines the NTAPI level 24 * With introduction of new NTAPI functions the NTAPI level will change. 25 * This is mostly used for internal documentation purposes. 26 */ 27#define NTAPI_LEVEL (4) 28 29#endif