cryptnet: Uniform return value that is the same as _wfsopen. INVALID_HANDLE_VALUE is non-zero, and the caller may fail to handle the error.