Following are some VB functions which returns address of memory
- VarPtr - Returns the address of a variable.
- VarPtrArray - Returns the address of an array.
- StrPtr - Returns the address of the UNICODE string buffer.
- VarPtrStringArray - Returns the address of an array of strings.
- ObjPtr - Returns the pointer to the interface referenced by an object variable.
You can find more information on this here.....