Hi !
I noticed that for me
VixDiskLib_PrepareForAccess
always Returns 1 (FAIL) when called on vcenter and 20 (VIX_E_NOT_SUPPORTED_ON_REMOTE_OBJECT) when called on esxi directly.
It this correct?
I'm not exactly sure what this function actually does. I think basically it disables vmotion. So VIX_E_NOT_SUPPORTED_ON_REMOTE_OBJECT makes somewhat sense for esxi. But FAIL for vcenter? Does it return that if there is no vmotion Operation running right now?
If this is wrong, could I get a complete example of how to fill the VixDiskLibConnectParams structure for calling this method? moRef=XXXX is not clear to me. What should XXXX be? I found various things put in there like the vmname or some number I don't know where to get from. Sometimes it's not moRef= but moid=[number]. Sometimes ist written "moref" and sometimes "moRef".
Thx
intripoon