次の方法で共有


CBaseControlVideo::GetVideoSize (Compact 2013)

3/26/2014

Retrieves the native video's width and height.

Syntax

HRESULT GetVideoSize(
  long* pWidth,
  long* pHeight
);

Parameters

  • pWidth
    Video width.
  • pHeight
    Video height.

Return Value

Returns an HRESULT value.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseControlVideo Class