Author Topic: WinAPI with NASM?  (Read 16313 times)

nobody

  • Guest
WinAPI with NASM?
« on: July 18, 2007, 02:15:29 PM »
Hi @ all,
Can i use WinAPIs with NASM?
If yes, how can i do it?

sry for my bad english

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: WinAPI with NASM?
« Reply #1 on: July 18, 2007, 10:56:14 PM »
Sure. Push the parameters, and call the API. It's a "stdcall" convention, so parameters are pushed right to left, and callee cleans up stack.

Best,
Frank