NASM - The Netwide Assembler

Related Projects => NASMX => Topic started by: Laocoon on November 18, 2014, 05:44:59 PM

Title: Missing %define's from Win api
Post by: Laocoon on November 18, 2014, 05:44:59 PM
Before I go off writing my own additions to windows.inc, am I just missing definitions somewhere?

Decided get back into assembly, and one of the first winapi's I'm using was VitualAlloc and I did a file contents search, but none of the files seem to define MEM_COMMIT or MEM_RESERVE. Is windows.inc just incomplete or what happened to these? I'm so confused... :D
Title: Re: Missing %define's from Win api
Post by: Rob Neff on November 19, 2014, 02:33:06 PM
Hi, Laocoon.
Yes, windows.inc and many other includes are not complete.  Simply put, no one, including myself, has the time or drive to bring them all up to date.  Subsequently, if you find any missing defines or structs, you should add your own additions.  If you send a patch of things that are missing we can get them into the package for future use.
Title: Re: Missing %define's from Win api
Post by: Laocoon on November 22, 2014, 06:35:47 PM
I see. I thought this was a conversion off of masm's windows.inc file. hah! Well it's an easy enough fix for me as I come across them, I just thought I got a bad package or something. Thank you for clearing this up!
Title: Re: Missing %define's from Win api
Post by: sellero90 on December 10, 2018, 11:56:17 AM
The same thing happened to me as it did to Lacoonte when I joined this post. Thank you for clarifying it as well as I said.