For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
warning C6329: Return value for a call to <function> should not be checked against <number>
The program is comparing a number against the return value from a call to
CreateFile succeeds, it returns an open handle to the object. If it fails, it returns
This code could cause the warning:
This code corrects the error: