Share via


Windows Media Player 11 SDK IWMPRenderConfig::put_inProcOnly 

Windows Media Player SDK banner art

Previous Next

IWMPRenderConfig::put_inProcOnly

The put_inProcOnly method specifies a value indicating whether playback is restricted to the current process.

Syntax

  

Parameters

fInProc

[in]  BOOL, TRUE specifying that playback is restricted to the current process.

Return Values

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

Return code Description
S_OK The method succeeded.

Remarks

Using this method with protected content is not supported.

This method can be helpful when debugging. If your program works with the Media Foundation topology directly (for example, specifying an EVR presenter by using the IWMPVideoRenderConfig interface), it might be easier to debug your code when the presenter is in the same process.

This method might also be useful if your Media Foundation components are designed to run in the main program's process.

Note that DirectShow graphs in Windows Media Player always run in the main process.

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Version: Windows Media Player 11.

Header: Include wmprealestate.h.

Library: Use wmp.dll.

See Also

Previous Next