list of dll functions with parameter types for DllCall

Put simple Tips and Tricks that are not entire Tutorials in this forum
User avatar
jeeswg
Posts: 6902
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/librar ... s.85).aspx
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
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] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
just me
Posts: 9442
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
User avatar
jeeswg
Posts: 6902
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.
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA

Return to “Tips and Tricks (v1)”

Who is online

Users browsing this forum: No registered users and 13 guests