Try
Code:
set getLocalFixedDrives = LocalFixedDrivesColl
Because it's an object (rather than a regular variable) you need to use set when assigning it to something.
You might also want to tell the function what kind of value it's going to return
as in
Code:
Function myfunction() as MyClass