Windows Media Player 11 SDK IWMPPlugin::GetCaps 

Windows Media Player SDK banner art

Previous Next

IWMPPlugin::GetCaps

The IWMPPlugin::GetCaps method returns a flag that specifies whether the plug-in can convert between an input format and an output format.

Syntax

  
    HRESULT GetCaps(
  DWORD*  
    pdwFlags
);

Parameters

pdwFlags

[out]  Pointer to a variable that specifies whether the plug-in can convert formats. The specified value is a bitwise combination of zero or more flags from the WMPPlugin_Caps enumeration.

Return Values

The method returns an HRESULT.

Remarks

There are currently two possible [out] values that the plug-in may specify: zero to indicate that the plug-in can convert formats, or WMPPlugin_Caps_CannotConvertFormats, which forces Windows Media Player to handle any necessary format conversion.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmprealestate.h.

See Also

Previous Next