| synopsis || arguments || prev || next |
virtual void detach_from_codestream( int codestream_id, void * thread_handle)
[Declared in "../apps/kdu_server/kdu_serve.h"]
Call this function once you have no further use for the kdu_codestream interface returned via attach_to_codestream. The internal machinery may destroy the code-stream interface, so be sure not to call this function unless you have completely ceased using the code-stream machinery.
It is only necessary to call this function if a previous call to attach_to_codestream with this codestream_id value returned a non-empty interface. However, it is safe to call the function even if the call to attach_to_codestream did return an empty interface.
Must be the same address which was passed into the attach_to_codestream function.