Cab
Joined: 09 Apr 2006 Posts: 1
|
Posted: Sat May 31, 2008 8:07 am Post subject: Re: DllCall |
|
|
Hi,
I think the AutoHotkey help files describe DllCall quite well: http://www.autohotkey.com/docs/commands/DllCall.htm
Take this example: | Code: | | DllCall("MessageBox", "int", "0", "str", "Press Yes or No", "str", "Title of box", "int", 4) |
This calls the MessageBox function inside user32.dll. Some standard DLLs like this are looked in by default, so you don't have to specify them explicitly.
To find out what the arguments mean, check out MSDN (just google MessageBox).
If you want to see what functions a particular DLL provides, you could use a program like Dependency Walker: http://www.dependencywalker.com/
For a screen magnifier that works in a window, you might want to take a look at the StretchBlt function. |
|