Re: list of dll functions with parameter types for DllCall
Posted: 10 Sep 2017, 12:05
by jeeswg
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
Re: list of dll functions with parameter types for DllCall
Posted: 11 Sep 2017, 00:39
by jNizM
Api-ms-win-core-version-l1-1-0.dll is still a call to
version.dll -> eg
GetFileVersionInfo(FileName) (GitHub)
Re: list of dll functions with parameter types for DllCall
Posted: 11 Sep 2017, 03:04
by just me
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
Re: list of dll functions with parameter types for DllCall
Posted: 17 Oct 2017, 21:42
by jeeswg
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.