Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBuffer::GetHandle

Show in webframe

#include "ltwrappr.h"

HGLOBAL LBuffer::GetHandle()

Gets an HGLOBAL memory handle to a copy of the allocated global buffer handle of the class object.

Returns

>0

Global memory handle to a copy of the objects internal buffer.

0

An error occurred.

Comments

The returned handle is a handle to a copy of the objects internal buffer, and you are responsible for freeing this handle.

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.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Example

L_INT LBuffer__GetHandleExample()
{
   
   LBuffer LeadBuffer(1024) ;
   HGLOBAL hGlobal=LeadBuffer.GetHandle() ;
   GlobalFree(hGlobal);
   return SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.