LBuffer::IsValid

#include "ltwrappr.h"

L_BOOL LBuffer::IsValid(L_VOID)

Determines whether the LBuffer object is valid.

Returns

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

LTDIS

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

Class Members

Example

L_VOID TestValidation()
{
   LBuffer LeadBuffer ;

   if (LeadBuffer.IsValid() == TRUE)
      MessageBox(NULL,TEXT("LBuffer is valid ..."),TEXT("Validation"),MB_OK) ;
}