共用方式為


IFullScreenVideoEx::CountModes

 
Microsoft DirectShow 9.0

IFullScreenVideoEx::CountModes

The CountModes method retrieves the number of display modes that the Full Screen Renderer supports.

Syntax

  HRESULT CountModes(
  long *pModes
);

Parameters

pModes

[out] Pointer to the returned mode count.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument.
S_OK Success.

Requirements

Header: Declared in Amvideo.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also