close
void res_close(const char *res_name, void **attr_val);
You may select any name for the function.
The close field of VCSAgV40EntryPointStruct passed to VCSAgRegisterEPStruct() must be assigned a pointer to this function.
For example:
#include "VCSAgApi.h"
void res_close(const char *res_name,void **attr_val) {
// Resource-specific de-initialization, if needed.
// Unregister for attribute change notification, if any.
}
void VCSAgStartup() {
VCSAgV40EntryPointStruct ep;
...
ep.close = res_close;
...
VCSAgRegisterEPStruct(V40, &ep);
}
|