I'm starting to use the API for the first time and need a little help.

I want to use the GetFileSize function, but do not know how to obtain the handle to the file.

How do you go about obtaining handles in general?

Thanks in advance