Jump to content

Recommended Posts

Posted

How do get the dllstruct(inside another) that was altered by a dll call? i don't know how to say it much better but the code will explain...(psuedocode)

$innerstruct = DllStructCreate("byte;long");data we want to retrieve
$mainstruct = DllStructCreate("long;ptr")
DllStructSetData($mainstruct, 2, DllStructGetPtr($innerstruct))
DllCall($dllname,"long",$function,"ptr",$mainstruct);alters $mainstruct and $innerstruct values

now how would i retrieve the "byte" part of $innerstruct?

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
×
×
  • Create New...