the AgentryUnInitialize method is provided to allow the AgentryClientContext handle object to be properly cleaned up when the external process is exiting. this method should be called as a part of the processes’s shutdown routines. It’s only parameter is the handle, which should be the same as the one passed to a previous call to the AgentryInitialize method.
bool AgentryUnInitialize(AgentryClientContext* pCtx)
The Boolean return value from the method indicates the success or failure of the uninitialize processing.