In my programe I need to replace _open and _wopen by windows api function, I think the function OpenFile should be the one.
Are their return values are same indeed, since _open/_wopen return int, while OpenFile return HFILE, and those enum type look confusing.
Can anyone help with it? At least where can I find useful information. Thank you very much