To interpret the error number, you really need to know where the error came from. So your coe should do some local error checking in spots where you think errors may occur. In CVI, go to any source code window, press P to search for a function panel, and enter error in the Find What box. You'll see a bunch of different functions to get the error string or info.
If the error is from the Windows SDK, you can call FormatMessage.
char errorMsg[256];
//...
FormatMessage(
FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
errno,
LANG_NEUTRAL,
errorMsg,
256,
NULL);