LScreenCapture::~LScreenCapture

#include "ltwrappr.h"

virtual LScreenCapture::~LScreenCapture()

Destroys the object and frees any resources associated with it.

Returns

None.

Comments

This is the destructor for the LScreenCapture class. You should not destroy any LScreenCapture object from another thread if this object is currently used in a capture operation without first calling LScreenCapture::StopCapture.

Required DLLs and Libraries

LTDIS
LTSCR

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:

LScreenCapture::LScreenCapture, LScreenCapture::StopCapture, Class Members

Example

L_INT LScreenCapture__LScreenCaptureDestructorExample()
{
   LBitmap LeadBitmap;
   // destructor will be called when this variable is out of scope
   LScreenCapture screenCapture(&LeadBitmap);
   //…
   return SUCCESS;
}