Jump to content
Sign in to follow this  
alexischeng

Want more details for DLLCALL

Recommended Posts

alexischeng

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 Back

swapmouse.au3

Share this post


Link to post
Share on other sites
alexischeng

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?

Share this post


Link to post
Share on other sites
this-is-me

DLLCall("gdi32.dll","long","SetGraphicsMode","long",$hdc, "long", $iMode);


Who else would I be?

Share this post


Link to post
Share on other sites
alexischeng

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 that

we can expand the usage of AU3.

Alexis Cheng

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.