次の方法で共有


CBaseControlVideo::GetCurrentImage (Compact 2013)

3/26/2014

Retrieves a copy of the current image at the renderer.

Syntax

HRESULT GetCurrentImage(
  long* pBufferSize,
  long* pVideoImage
);

Parameters

  • pBufferSize
    Size of the output buffer.
  • pVideoImage
    Pointer to the output buffer for the image.

Return Value

Returns an HRESULT value.

Remarks

This member function retrieves the image from the sample and copies it into the output buffer.

The section of video copied into the output buffer reflects the source rectangle set through the IBasicVideo interface. It does not reflect the destination rectangle.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlVideo Class