Share via


Windows Media Player 11 SDK IWMPMedia::get_imageSourceHeight 

Windows Media Player SDK banner art

Previous Next

IWMPMedia::get_imageSourceHeight

The get_imageSourceHeight method retrieves the height of the current media item in pixels.

Syntax

  

Parameters

pHeight

[out]  Pointer to a long that specifies the height.

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

If the media item is not the current one, this property returns zero.

Before calling this method, you must have read access to the library. For more information, see Library Access.

Requirements

Version: Windows Media Player 9 Series or later.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next