IWMPCdromBurn::getItemInfo method

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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

Syntax

public System.String getItemInfo(
  System.String bstrItem
);

Public Function getItemInfo( _
  ByVal bstrItem As System.String _
) As System.String
Implements IWMPCdromBurn.getItemInfo

Parameters

bstrItem [in]

A System.String that contains one of the following values.

Value Description
AvailableTime Retrieves the time available on the CD, in seconds.
Blank Retrieves a System.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.

Return value

A System.String that is the value of the specified attribute.

Requirements

Requirement Value
Version
Windows Media Player 11
Namespace
WMPLib
Assembly
Interop.WMPLib.dll (Interop.WMPLib.dll.dll)

See also

IWMPCdromBurn Interface (VB and C#)