ltmmCaptureCtrl.GetStillDIB Method

Visual Basic Example

Syntax

object.GetStillDIB(TimeOut As Long) As Long

Remarks

Retrieves a device independent bitmap during a ltmmCapture_Mode_Still capture.

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 TimeOut is INFINITE, the method's time-out interval never elapses.

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

Platforms

Win32, x64

See Also

Elements:

ltmmCaptureCtrl.ReadyCapture Method, ltmmCaptureCtrl.StartCapture Method

Topics:

Multimedia Properties, Methods and Events