Description

Used to get version information of the DLL API. 

Argument

int mainVer_i                 pointer to main version number

int minVer_i                  pointer to minor version number

int build_i                pointer to build number

Return Value

Type: Int


Value

Meaning

1

API call successful


Examples

  • Python

api = DLLInterface()

# Get DLL version

major = (c_int)()

minor = (c_int)()

patch = (c_int)()

return = api.dll.GetCommanderAPIversion(ctypes.byref(major), ctypes.byref(minor), ctypes.byref(patch))

if return:

   print(f"Major: {major}, Minor: {minor}, Patch: {patch}")


V 1.0 Function: GetCommanderHIDversion(int* mainVer, int* minVer, int* build) 


REPOSITORY PLACEHOLDER LINK



< Previous | Topic Home | Home |  Next  >