list of dll functions with parameter types for DllCall

Helpful script writing tricks and HowTo's
User avatar
jeeswg
Posts: 2635
Joined: 19 Dec 2016, 01:58
Location: UK

Re: list of dll functions with parameter types for DllCall

10 Sep 2017, 12:05

Cheers SKAN. It's odd how dlls change. I think on MSDN, dbghelp was listed for certain functions and then imagehlp, I could be wrong on this.

And I'm seeing this dll nowadays which I never noticed before: Api-ms-win-core-version-l1-1-0.dll, e.g.:
GetFileVersionInfo function (Windows)
https://msdn.microsoft.com/en-us/library/windows/desktop/ms647003(v=vs.85).aspx
User avatar
jNizM
Posts: 2290
Joined: 30 Sep 2013, 01:33
GitHub: jNizM
Contact:

Re: list of dll functions with parameter types for DllCall

11 Sep 2017, 00:39

Api-ms-win-core-version-l1-1-0.dll is still a call to version.dll -> eg GetFileVersionInfo(FileName) (GitHub)
[AHK] 1.1.26.01 x64 Unicode | [WIN] 10 Pro (Version 1703) x64
My GitHub Profile | Donations are appreciated if I could help you
just me
Posts: 4780
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: list of dll functions with parameter types for DllCall

11 Sep 2017, 03:04

:arrow: About Side-by-Side Assemblies

You can find all the different DLL versions in the %A_WinDir%\WinSxS folder.

Edit: ... and for Api-ms-win-... DLLs also in System32/SysWOW64\downlevel
Remaining with AHK 1.1.25.02 until v2 will become beta.
User avatar
jeeswg
Posts: 2635
Joined: 19 Dec 2016, 01:58
Location: UK

Re: list of dll functions with parameter types for DllCall

17 Oct 2017, 21:42

Thanks very much jNizM and just me.

Two queries:
- Enum. From what I've heard enum is typically Int or UInt, (and can't be bigger than Int/UInt, but may be smaller?) and if any of the items in the enum are negative, then it must be of a signed type. I also hear that the system(?) decides what type it is. I intend to regard enum as 'Int' by default, unless anyone has anything to say on the matter.
- If possible, how do you use the MonthCal_SetSelRange macro via DllCall? I was able to use the PostMessage/SendMessage equivalent.

Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 3 guests