...or maybe this macro could become the "standard"?
At least, as Scronty says but starting from library, so in case of only one section:
Same inc valid also for:
gen_api.inc:
At least, as Scronty says but starting from library, so in case of only one section:
data import
include '..\..\inc\gen_api.inc'
end data
Same inc valid also for:
section '.idata' import data readable
include '..\..\inc\gen_api.inc'
gen_api.inc:
; GENERAL PURPOSE API CALLS
library kernel,'KERNEL32.DLL',\
user,'USER32.DLL',\
.
.
.
RegCloseKey,'RegCloseKey'
...or maybe this macro could become the "standard"?
I would never make something standard, wich slows down the compilation :/
If we have a complete file, covering almost all API's, Privalov can put it on his
homepage along with a example prog as sort of "addon".
BTW, there are about 1700 API functions included in WinXP :)
You find several lists via google, but no list wich shows the API's for each library...
maybe just write a prog wich scans the export table and prints it to a text file.
(hmm... I have done that before.... *searchs harddisk*)
What about the CVS file in the PSDK?
This is why I call it "general purpose API calls".
Then there will be some specialized incs to be included only when needed.
BTW, I've tested the slowdown time of compiling asmwork.asm with incs of about 1050 api calls and is about 2 secs.
Then there will be some specialized incs to be included only when needed.
BTW, I've tested the slowdown time of compiling asmwork.asm with incs of about 1050 api calls and is about 2 secs.
I take them from Win32Api.xls on Hutch's Masm32 distro.
Before sending them to Privalov, I am formatting it to have:
most used,
gdi,
kernel,
user,
comctl,...
Regards,
Before sending them to Privalov, I am formatting it to have:
most used,
gdi,
kernel,
user,
comctl,...
Regards,
What about the CVS file in the PSDK?
Strange, someone placed a Win32API.csv in my PSDK directory without asking me :grin:
Thanks bitRAKE!
This is a set of include files for API Calls of some libraries that I am using.
Version for unicode in separated files.
Regards,
Version for unicode in separated files.
Regards,
I have made even more extended "invoke" macro, with checking the parameters' count, I've put in the reply for other thread:
http://www.asmcommunity.net/board/showthread.php?s=&postid=49594.msg49594
http://www.asmcommunity.net/board/showthread.php?s=&postid=49594.msg49594
I've completed the set of include files to use with FASM and new macro for parameter count check.
There are 6855 Win32 API calls taken from the Hutch's includes for Masm32.
Regards,
pelaillo
There are 6855 Win32 API calls taken from the Hutch's includes for Masm32.
Regards,
pelaillo