Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ' Declare a new variable for the structure from the pointer
- Dim Intercept As New <Structure>
- ' Get the structure from memory pointer
- Intercept = Runtime.InteropServices.Marshal.PtrToStructure(<poniter>, GetType(<Structure>))
- ' Write the modified structure back to the pointer location in memory
- Runtime.InteropServices.Marshal.StructureToPtr(Intercept, <pointer>, True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement