Jump to content
Codefuser

[SOLVED]Help with a Structure

Recommended Posts

Codefuser

How do I process this type of structure? I have never seen anything like this before :blink:

Also how do I create a structure like this in AutoIt using DllStructCreate? I need to create one in order to call ReadProcessMemory to copy a remote structure that's like this into my own process.

Edited by Codefuser

Share this post


Link to post
Share on other sites
j0kky

They are two pointers, so you process it with DllStructCreate in this way:

DllStructCreate("ptr Flink; ptr Blink")

As msdn page says:

Quote

For more information about how to use LIST_ENTRY structures to implement a doubly linked list, see Singly and Doubly Linked Lists.

 

Edited by j0kky
  • Like 1

Share this post


Link to post
Share on other sites
Codefuser

Thanks for your help, I was confused by the self-referencing in the structure ^_^

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

×