Export (0) Print
Expand All

IWMPCdromBurn::getItemInfo method

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

Syntax


HRESULT getItemInfo(
  [in]   BSTR bstrItem,
  [out]  BSTR *pbstrVal
);

Parameters

bstrItem [in]

BSTR that contains one of the following values.

Value Description
AvailableTimeRetrieves the time available on the CD, in seconds.
BlankRetrieves a Boolean (represented as a string) indicating whether the CD is blank.
FreeSpaceRetrieves the free space on the CD, in bytes.
TotalSpaceRetrieves the total space on the CD, in bytes.

 

pbstrVal [out]

Pointer to a BSTR that receives the returned value.

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

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

Requirements

Version

Windows Media Player 11.

Header

Wmp.h

DLL

Wmp.dll

See also

IWMPCdromBurn Interface

 

 

Community Additions

ADD
Show:
© 2015 Microsoft