A typical VDK call
declare handles and arguments
VdkCollection collection = NULL;
VdkCollectionOpenArgRec collopen;
Fill the “arg rec”
VdkStructInit(&collopen);
collopen.path = collectionPathname;
collopen.serviceLevel = VdkServiceType_Search;
Make the call
VdkCollectionOpen(session, &collection, &collopen)