Author Topic: win32 handle  (Read 9135 times)

Offline nikipa

  • Jr. Member
  • *
  • Posts: 7
win32 handle
« 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

Offline encryptor256

  • Full Member
  • **
  • Posts: 250
  • Country: lv
  • Win64 .
    • On Youtube: encryptor256
Re: win32 handle
« Reply #1 on: January 01, 2016, 01:37:18 PM »
Handle is just a pointer, in 32 bit systems 32 bit, in 64 - 64. I Think.
So, DWORD or QWORD, define in data section.
Encryptor256's Investigation \ Research Department.