Viscom Software VideoCap ActiveX Control

DeleteImageHandle Method

Description:   

Delete the HBitmap Handle.  If you call SampleBuffer2HBITMAP or SnapShot2HBITMAP, You should delete the HBitmap handle

Usage:   

VideoCap1.DeleteImageHandle iBitmapHandle

Return Value:

No Return value.

Example:   

This Visual Basic example shows how to delete the HBitmap handle

 

VideoCap1.Device = 0
VideoCap1.Start
bitmaphandle = VideoCap1.SnapShot2HBITMAP
'do something
VideoCap1.DeleteImageHandle bitmpahandle