Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230200

Where to put VixDiskLib_Cleanup ?

$
0
0

Hi !

 

The docu says, I should always call VixDiskLib_Cleanup to cleanup some state in some case. I'm wondering where to put it exactly. I checked the vixDiskLibSample - it doesn't call it at all.

 

Right now I do it like this

 

 

VixDiskLib_Disconnect(srcConnection);

VixDiskLib_EndAccess(&connectParams, "MyApp");

VixDiskLib_Cleanup(&connectParams, &numcleanedup, &numremaining);

VixDiskLib_Exit();

 

Maybe I should put it before EndAccess() ? Maybe behind Exit() ? I have no idea.

 

Thx

    intripoon



Viewing all articles
Browse latest Browse all 230200

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>