ltmmCaptureCtrl.CaptureDIB Method

Visual Basic Example

Syntax

object.CaptureDIB() As Long

Remarks

Captures a device independent bitmap.

This method will capture a single device independent bitmap.

Note: The frame data is retrieved from the underlying graph after the processing filters. If the capture needs to occur before the processing is completed, use the LeadVideoCallBackFilter and place it first in the collection of processing filters.

If the method succeeds, the caller must free the returned HDIB by calling the GlobalFree method.

If the method fails, an error is raised. For more information, refer to the Error Codes.

Platforms

Win32, x64

See Also

Elements:

ltmmCaptureCtrl.CapturePicture Method, ltmmCaptureCtrl.GetStillDIB Method, ltmmCaptureCtrl.GetStillPicture Method

Topics:

Multimedia Properties, Methods and Events