Export (0) Print
Expand All

IWMPMedia::get_imageSourceHeight method

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

Syntax


HRESULT get_imageSourceHeight(
  [out]  long *pHeight
);

Parameters

pHeight [out]

Pointer to a long that specifies the height.

Return value

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

Return codeDescription
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

Wmp.h

DLL

Wmp.dll

See also

IWMPMedia Interface

 

 

Community Additions

ADD
Show:
© 2014 Microsoft