Microsoft DirectX 9.0

IDrawVideoImage::DrawVideoImageDraw

The DrawVideoImageDraw method draws the specified source rectangle to the specified destination rectangle in the specified GDI device context.

Syntax

HRESULT DrawVideoImageDraw(
  HDC  hdc,
  LPRECT  lprcSrc,
  LPRECT  lprcDst
);

Parameters

hdc

[in]  Specifies the device context.

lprcSrc

[in]  Pointer to a RECT structure that specifies the source rectangle, as a subrectangle of the current video frame.

lprcDst

[in]  Pointer to a RECT structure that specifies the destination rectangle in the device context.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Values Description
S_OK The method succeeded.

See Also