Share via


Windows Media Player 11 SDK IWMPGraphCreation::GetGraphCreationFlags 

Windows Media Player SDK banner art

Previous Next

IWMPGraphCreation::GetGraphCreationFlags

One of the flags documented on this page is available in Windows Media Player 10 and Windows Media Player 11 running on Microsoft Windows XP. It might not be available in subsequent versions.

The GetGraphCreationFlags method is called by Windows Media Player to retrieve a value that represents the graph creation preferences.

Syntax

  

Parameters

pdwFlags

[out]  Address of a DWORD variable that receives a value that represents one or more graph creation flags combined by using binary OR operations.

Return Values

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

Value Description
S_OK The method succeeded.

Remarks

The following table describes the graph creation flags.

Flag Value Description
WMPGC_FLAGS_ALLOW_PREROLL 0x1 Windows Media Player will build the filter graph for the next media item before the current media item finishes playing.
WMPGC_FLAGS_SUPPRESS_DIALOGS 0x2 Windows Media Player will not display warning dialog boxes when errors occur.
WMPGC_FLAGS_IGNORE_AV_SYNC 0x4 Windows Media Player will not require audio and video to be synchronized when playing Windows Media-based content (.asf, .wma, or .wmv). Windows Media Player will attempt to play every frame of video. This occurs even when video data is arriving more slowly than audio data.

Note   This flag is supported only in Windows Media Player 10 or 11 running on Microsoft Windows XP.

WMPGC_FLAGS_DISABLE_PLUGINS 0x8 Disables all plug-ins for the current instance of the Windows Media Player control. This includes plug-ins native to Windows Media Player. For example, visualizations will not work when this flag is set.

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

Requirements

Version: Windows Media Player 10 or later.

Header: Include wmpservices.h.

Library: Use wmp.dll.

See Also

Previous Next