Share via


Windows Media Player 11 SDK IWMPNodeRealEstate::SetRects (deprecated) 

Windows Media Player SDK banner art

IWMPNodeRealEstate::SetRects (deprecated)

This page documents a feature that may be unavailable in future versions of Windows Media Player and the Windows Media Player SDK.

The SetRects method receives information about the rendering area provided by Windows Media Player.

Syntax

  

Parameters

pSrc

[in]  Pointer to a RECT object that represents the portion of the original image that is to be rendered.

pDest

[in]  Pointer to a RECT object that represents stretching/shrinking of the original image as well as positioning relative to the origin of the owner window.

pClip

[in]  Pointer to a RECT object that represents the portion of the destination rectangle that should actually be visible to the user.

Return Values

The method returns an HRESULT.

Remarks

Once the plug-in receives the RECT objects, it can immediately proceed with rendering.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmprealestate.h.

See Also