-
-
Save piotrflorczyk/444563feacbccabdad352e4f336dae91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function GetUint32(addr) | |
Dim value | |
resueObjectA_arr.mem(some_memory+8)=addr+4 ' set value as BSTR ptr + 4 (BSTR obj: [len][addr+4], LenB will read from [len] == [addr] | |
resueObjectA_arr.mem(some_memory)=8 ' set type to VT_BSTR | |
value=resueObjectA_arr.ReadBstrValll | |
resueObjectA_arr.mem(some_memory)=2 ' set type to original VT_I2 | |
GetUint32=value | |
End Function | |
Function ReadBstrValll | |
ReadBstrValll=LenB(mem(some_memory+8)) | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment