Toolkit Reference |
This Toolkit context function releases memory previously allocated to the Vtk_CtxtOption structure with the Vtk_CtxtGetOption function. Once this function completes successfully, the Vtk_CtxtOption structure becomes invalid. Other resources allocated to the structure are not released.
data | Pointer to the Vtk_CtxtOption structure for which memory and resources are to be released. |
VTK_OK | The function has completed successfully and the context option structure has been deleted. |
error code | The function has failed. For information about possible error values, refer to Appendix |
![]() |
Only the context option data contained within the structure is released. The application must call this function for each context option structure returned from the Vtk_CtxtGetOption function. If the application does not call Vtk_CtxtOptionDeleteContent, memory leaks and other problems can occur. For more information about the Toolkit memory model, see
Toolkit Memory Model. |
ValiCert, Inc. http://www.valicert.com Voice: +1.650.567.5469 Fax: (+1.650.254.2148 support@valicert.com |