LBuffer::IsValid

Summary

Determines whether the LBuffer object is valid.

Syntax

#include "ltwrappr.h"

L_BOOL LBuffer::IsValid()

Returns

Value Meaning
TRUE The buffer is allocated and the class object has a valid memory handle.
FALSE Otherwise.

Comments

If the class object does not have a valid memory handle associated with it, the object is considered invalid.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

L_INT LBuffer__IsValidExample() 
{ 
    
   LBuffer LeadBuffer ; 
 
   if (LeadBuffer.IsValid() == TRUE) 
      MessageBox(NULL,TEXT("LBuffer is valid ..."),TEXT("Validation"),MB_OK) ; 
    
   return SUCCESS; 
} 
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.