共用方式為


IVMRWindowlessControl9::DisplayModeChanged

 
Microsoft DirectShow 9.0

IVMRWindowlessControl9::DisplayModeChanged

The DisplayModeChanged method informs the VMR that a WM_DISPLAYCHANGE message has been received by the application.

Syntax

  HRESULT DisplayModeChanged();

Parameters

This method takes no parameters.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.

Remarks

An application must call this method whenever it receives a WM_DISPLAYCHANGE window message, but only if the VMR is currently in windowless mode.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also