alexischeng Posted December 25, 2004 Posted December 25, 2004 Is there any way to get more details on how to use dllcall function? I just found some windows api function and some works on dllcall but some not! Swapmouse buttons 1 to swap left button with right button 0 to restore DLLCall("user32.dll","int","SwapMouseButton","int",1); Swap Button DLLCall("user32.dll","int","SwapMouseButton","int",0);Swap Backswapmouse.au3
this-is-me Posted December 25, 2004 Posted December 25, 2004 Mostly those apis that require structures do not work.I would recommend http://www.mentalis.org/apilist/apilist.php for a list of some of the apis available. Who else would I be?
alexischeng Posted December 25, 2004 Author Posted December 25, 2004 Just like the function below: Private Declare Function SetGraphicsMode Lib "gdi32.dll" (ByVal hdc As Long, ByVal iMode As Long) As Long How to apply it in DLLCALL?
this-is-me Posted December 25, 2004 Posted December 25, 2004 DLLCall("gdi32.dll","long","SetGraphicsMode","long",$hdc, "long", $iMode); Who else would I be?
alexischeng Posted December 25, 2004 Author Posted December 25, 2004 Firstly, do you know what it does?Lar.<{POST_SNAPBACK}>I am not sure but I just try some examples in VB, this function works.What I want is to apply some examples for VB in AU3 so thatwe can expand the usage of AU3.Alexis Cheng
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now