I've not the faintest what it does, but these might help :

http://rookscape.com/vbgaming/tutAS.html
http://www.crosswinds.net/~ancientcode/Tut_DD_Mem.html


I got it from :
http://www.google.com/search?q=GetLockedArray