I use GetDriveType in my program to do automatic redirection, documented here. I expected it to return 6, which means DRIVE_RAMDISK, but what I get is 3, which means DRIVE_FIXED, which I obviously didn't expect.
I don't know why, but I suppose it has something to do with how the disk is created. What should I use to verify that R:\ is indeed a RAM disk? I use C++.