Freigeben über


IVMRWindowlessControl9::GetBorderColor

 
Microsoft DirectShow 9.0

IVMRWindowlessControl9::GetBorderColor

The GetBorderColor method retrieves the current border color used by the VMR.

Syntax

  HRESULT GetBorderColor(
  COLORREF*  lpClr
);

Parameters

lpClr

[out]  Pointer to a COLORREF variable that receives the current border color.

Return Values

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

Value Description
S_OK The method succeeded.
VFW_E_WRONG_STATE The VMR is not in windowless mode.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also