Type Function
Header mvnc.h
Return mvncStatus
Version 1.09
See also mvncGlobalOptions, mvncGetGlobalOption


This function sets an option that is global for an application using the SDK. The available options can be found in the mvncGlobalOptions enumeration.


mvncStatus mvncSetGlobalOption(int option, const void *data, unsigned int datalength);


Name Type Description
option int A value from the mvncGlobalOptions enumeration that specifies which option will be set.
data const void* Pointer to the data for the new value for the option. The type of data this points to depends on the option that is being set. Check mvncGlobalOptions for the data types that each option requires.
dataLength unsigned int An unsigned int that contains the length, in bytes, of the buffer that the data parameter points to.


This function returns an appropriate value from the mvncStatus enumeration.

Known Issues


int logLevel = 3;
retCode = mvncSetGlobalOption(MVNC_LOGLEVEL, &logLevel, sizeof(int));