Export (0) Print
Expand All

IEVRTrustedVideoPlugin::SetConstriction method

Limits the effective video resolution.

Syntax


HRESULT SetConstriction(
  [in]  DWORD dwKPix
);

Parameters

dwKPix [in]

Maximum number of source pixels that may appear in the final video image, in thousands of pixels. If the value is zero, the video is disabled. If the value is MAXDWORD (0xFFFFFFFF), video constriction is removed and the video may be rendered at full resolution.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

 

Remarks

This method limits the effective resolution of the video image. The actual resolution on the target device might be higher, due to stretching the image.

The EVR might call this method at any time if the IEVRTrustedVideoPlugin::CanConstrict method returns TRUE.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Evr.h

Library

Mfuuid.lib

See also

Enhanced Video Renderer
Protected Media Path
IEVRTrustedVideoPlugin

 

 

Community Additions

ADD
Show:
© 2014 Microsoft