Sign in to follow this  
Followers 0

DLL Questions! "iTunesMobileDevice.dll"

40 posts in this topic

Posted (edited)

Hi all! i want to get my version of my iPod Touch with iTunesMobileDevice.dll! and i dont know how :mellow:

i want to do this function: MISProvisioningProfileGetVersion

Here its all possible function: http://theiphonewiki.com/wiki/index.php?title=Itunesmobiledevice.dll

Thanks you !

Edited by jamesstp20

Share this post


Link to post
Share on other sites



Posted (edited)

DllCall("C:\Program Files\Common Files\Apple\Mobile Device Support\bin\ iTunesMobileDevice.dll", return type, "MISProvisioningProfileGetVersion")

I'm not sure what the return type would be...but this should get you started.

Edited by darkjohn20

Share this post


Link to post
Share on other sites

Posted

Thanks i do this:

$test = DllCall("C:\Program Files\Common Files\Apple\Mobile Device Support\bin\iTunesMobileDevice.dll", "return type", "MISProvisioningProfileGetVersion")

MsgBox(0,"Version", $test)

But msgbox say : 0

Thanks for your help :mellow:

Share this post


Link to post
Share on other sites

Posted

You need to change return type to something else. Look at DllCall in the Help File for the possible return types.

Share this post


Link to post
Share on other sites

Posted

Ok i will try all :mellow:

Share this post


Link to post
Share on other sites

Posted (edited)

I tried and mgbox say 0 with : "" "INT_PTR" "LONG_PTR," "LRESULT, LPARAM" "UINT_PTR," "ULONG_PTR," "DWORD_PTR,"

And the other i get nothing

Thanks for your help

Edited by jamesstp20

Share this post


Link to post
Share on other sites

Posted

I'm pretty sure the function takes some parameters and through one of those parameters, returns a structure of some kind. Unless you find a function prototype, you won't be able to successfully call this function.

Share this post


Link to post
Share on other sites

Posted (edited)

Euh.. Im not sure to understood...

But if i try this command AMDeviceEnterRecovery

it supose to put my ipod Touch on Recovery Mode and it do nothing..

Help :mellow:

Edited by jamesstp20

Share this post


Link to post
Share on other sites

Posted (edited)

A C++ Programmor say: You need to create a struct. (He dont know what is Auoit Language)

do you think it can be with this? DllStructCreate

If yes how??????? :mellow:

Thanks

Edited by jamesstp20

Share this post


Link to post
Share on other sites

Posted

Yes, I was about to say what Richard said. You probably need params.

Share this post


Link to post
Share on other sites

Posted

But how.. Im not very good with a dll.. Im trying to use a DLL for the first time :mellow:

Thanks

Share this post


Link to post
Share on other sites

Posted

You need documentation on the dll. Until you get this, don't even bother trying to use it.

Share this post


Link to post
Share on other sites

Posted

Where can i get the documentation?

Can you check here please: http://theiphonewiki.com/wiki/index.php?title=MobileDevice_Library and http://theiphonewiki.com/wiki/index.php?title=Itunesmobiledevice.dll

Its some documentation about iTunesMobileDevice..

Thanks

Share this post


Link to post
Share on other sites

Posted (edited)

That code is quite a mess. It's managed C++ mixed with something that appears to compile on Apple platforms.

Also, that code doesn't document the function in question at all.

Edited by Richard Robertson

Share this post


Link to post
Share on other sites

Posted (edited)

Yes i think its the Mac AppleMobileDevice decompiled. Do you have an idea for use corectly the function?

Edit: If someone want to help me by MSN PM me your adrsse :mellow:

Thanks

Edited by jamesstp20

Share this post


Link to post
Share on other sites

Posted (edited)

No, the code you posted a link for didn't actually include the function you were looking for.

Edited by Richard Robertson

Share this post


Link to post
Share on other sites

Posted

Yeah, I couldn't find the right function as well, but I did see a similar one with buildversions and other stuff. I can't make much sense of it at all, though.

Share this post


Link to post
Share on other sites

Posted (edited)

Do you think its possible to do this in autoit?

If you want to help me on MSN PM your adresse :mellow:

Edited by jamesstp20

Share this post


Link to post
Share on other sites

Posted (edited)

Possible? Yes. Easy? Not one bit. Apple doesn't like anyone except themselves using their devices, so they pretty much lock everything down.

I would just drop this project now.

Why do you want a script to figure the version when you can just read it yourself?

Edited by Richard Robertson

Share this post


Link to post
Share on other sites

Posted

Because when i will able to get the version i will probably able to use the other command with this dll..

Thanks

Share this post


Link to post
Share on other sites

Posted

What other command? This dll isn't meant for public use. Only Apple and hackers will figure it out.

Share this post


Link to post
Share on other sites

Posted

Lol you dont check my Link? Here: http://theiphonewiki.com/wiki/index.php?title=Itunesmobiledevice.dll Its all possible command on this dll

Thanks

Share this post


Link to post
Share on other sites

Posted

I've read that link already. It says ABSOLUTELY nothing about the functions. No return values, no parameters, no name decorations, no calling convention.

Learn how calling dlls works, then try again.

Share this post


Link to post
Share on other sites

Posted

Here: http://theiphonewiki.com/wiki/index.php?title=Itunesmobiledevice.dll Its not the function? :mellow:

Share this post


Link to post
Share on other sites

Posted

...

If you don't understand what I'm saying, it's not worth my saying it.

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  
Followers 0