ltmmPlayCtrl.GetStillDIB Method

Visual Basic Example

Syntax

object.GetStillDIB(TimeOut As Long) As Long

Remarks

Retrieves a device independent bitmap. If the method succeeds, the caller must free the returned HDIB by calling the GlobalFree method.

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 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, Mobile

See Also

Elements:

ltmmPlayCtrl.GetStillPicture Method

Topics:

Multimedia Properties, Methods and Events