Jump to content
Sign in to follow this  
MajidPasha

Calling DirectInput Dll

Recommended Posts

MajidPasha

Hi All

I have an application which call Dinput.dll (DirectInput) to list connected game controllers on this registry key:

[HKEY_CURRENT_USER\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\DirectInput]

I had used a API monitor on the application and I had found that it uses "DirectInputCreateEx" on Dinput.Dll.

I want to do this call (DirectInputCreateEx) on Dinput.dll via AutoIt if possible. I'm newbie, If it is possible, I'll really appreciate the man who give me the exact script for doing this in AutoIt :graduated:;)

Share this post


Link to post
Share on other sites
Ramzes

To call function in a DLL you must use DLLCall. But if you want to do it correctly you need read some documentation or tutorial about Direct.


Sorry for my bad English but nobody is perfect. [font=arial, helvetica, sans-serif]Ramzes[/font]

Share this post


Link to post
Share on other sites
ProgAndy

If you need some documentation, Microsoft provides it here: http://msdn.microsoft.com/en-us/library/windows/desktop/ee416853%28v=vs.85%29.aspx

Good luck :graduated:

Edit: typo.

Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

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  

×