Skip to content

TOnFrameOverlayUsingDC

type

TOnFrameOverlayUsingDC = procedure (Sender: TObject; Dc: LongInt; FrameNumber: LongWord_; FrameTime: LargeInteger; FrameId: LongInt) of object;

Type of the OnFrameOverlayUsingDC event.

Dc is the current device context of the current video frame.

FrameId must be passed to GetFrameInfo to retrieve information about the current frame.

Use the Dc device context to draw objects over video frames by using GDI functions.