Please enable JavaScript to view this site.

Coverage Validator Help

Navigation: API

Native API Reference

Scroll Prev Top Next More

Unicode or ANSI?

 

All the API functions are provided in Unicode and ANSI variants where strings are used. We've also provided a character width neutral #define in the same fashion that the Windows.h header files do.

 

For example a function might be provided as functionA(), functionW() with the character width neutral function() mapping to functionW() for unicode and functionA() for ANSI.

 

In this document we're going to use TCHAR like the Window.h header files do.

 

All the API functions are declared as extern "C", so they can be used by C users and C++ users.

 

To use these functions #include svlMVAPI.h into your code.

 

You do not need to link with any libraries to use the Native API.

 

 

Documentation, A or W?

 

Where there are functions that take strings we document the function as cvFunction(), but they will be implemented as cvFunctionA() for ANSI or cvFunctionW() for Unicode, using the same convention that Microsoft uses to document their functions.