NASM - The Netwide Assembler
NASM Forum => Programming with NASM => Topic started by: nikipa on September 11, 2015, 06:53:54 PM
-
Hello,
I am trying to learn the win32 api.My question is, how can i make a handle in nasm?To be more specific, lets say that i want to call the ReadFile function, how can i pass the first argument which asks a handle from the CreateFile function?
Thank you
-
Handle is just a pointer, in 32 bit systems 32 bit, in 64 - 64. I Think.
So, DWORD or QWORD, define in data section.