IWMPMedia::get_imageSourceWidth

Other versions of this page are also available for the following:

8/28/2008

The get_imageSourceWidth method retrieves the width of the current media item in pixels.

Syntax

HRESULT get_imageSourceWidth( long* pWidth ); 

Parameters

  • pWidth
    [out]  Pointer to a long that specifies the width.

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 digital media item is not the current one, this property returns zero.

Before calling this method, you must have read access to the library.

See Also

Reference

IWMPMedia Interface