Quantcast
Viewing all articles
Browse latest Browse all 230302

Where to put VixDiskLib_Cleanup ?

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 230302

Trending Articles