About IWMPNodeRealEstate (deprecated)
This page documents a feature that may be unavailable in future versions of Windows Media Player and the Windows Media Player SDK.
The IWMPNodeRealEstate interface handles the rendering region negotiation between Windows Media Player and the plug-in. IWMPNodeRealEstate::GetDesiredSize, when called, requests a particular size rendering region from Windows Media Player. The Player will not necessarily provide a region of the requested size, but will attempt to do so. The actual rendering region available is conveyed to the plug-in in IWMPNodeRealEstate::SetRects in the form of three RECT structures: a source RECT, a destination RECT, and a clipping RECT. Using these three RECTs, the plug-in can calculate its own RECT for rendering.
IWMPNodeRealEstate::SetWindowless notifies the plug-in about the current rendering mode of the Player: windowed or windowless. Each of these modes requires a different method of initiating a repainting of the rendering region. Similarly, IWMPNodeRealEstate::SetFullScreen notifies the plug-in when the Player transitions to full screen mode.