Windows Media Player 11 SDK IWMPCdromBurn::getItemInfo 

Windows Media Player SDK banner art

Previous Next

IWMPCdromBurn::getItemInfo

The getItemInfo method retrieves the value of the specified attribute for the CD.

Syntax

  

Parameters

bstrItem

[in]  BSTR that contains one of the following values.

Value Description
AvailableTime Retrieves the time available on the CD, in seconds.
Blank Retrieves a Boolean (represented as a string) indicating whether the CD is blank.
FreeSpace Retrieves the free space on the CD, in bytes.
TotalSpace Retrieves the total space on the CD, in bytes.

pbstrVal

[out]  Pointer to a BSTR that receives the returned value.

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

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

Requirements

Version: Windows Media Player 11.

Header: Include wmp.h.

Library: Use wmp.dll.

See Also

Previous Next