How to get a file HWND

I'm trying to figure out how I can get the handle of a file from location?


GetHandle("C://Temp/file.txt");
Last edited on
Haven't programmed for Windows in years, so forgive me, but isn't it just CreateFile()?
https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-createfilea
Last edited on
Ahhh.. I see now it Create or Opens a file.. Okay thankyou that what I needed.
Topic archived. No new replies allowed.