I am developping a small program based on the .Net framework 4 and by using the C# language.
I am using a .Net library which itself uses functions from the AVIFile Windows API.
I have got an error when using the AVIStreamRead function.
Here is the MSDN documentation for the AVIStreamRead function :
http://msdn.microsoft.com/en-us/library/windows/desktop/dd756849(v=vs.85).aspx
I want to get more information about my error from the result integer value.
The documentation page lists the three following return codes :
- AVIERR_BUFFERTOOSMALL
- AVIERR_MEMORY
- AVIERR_FILEREAD
But where do I get the corresponding integer values ?
Yo can get them from Vfw.h.
To convert SCODE to error code you can use