L_ContainerFree

Summary

Frees the container handle.

Syntax

#include "LtCon.h"

L_LTCON_API L_INT L_ContainerFree(pContainer)

Parameters

pCONTAINERHANDLE pContainer

Pointer to a container handle.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Freeing the container handle will detach it from its owner window.

Required DLLs and Libraries

See Also

Functions

Topics

Example

This example checks the validity of the container handle and then frees it.

L_INT ContainerFreeExample(pCONTAINERHANDLE pContainer) 
{ 
   L_INT nRet = L_ContainerIsValid ( pContainer ); 
   if (SUCCESS == nRet ) /* check the validity of container handle */ 
   { 
       /* Free the container handle */ 
      nRet = L_ContainerFree ( pContainer ) ; 
   } 
   return nRet; 
} 

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Container and Automation C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.