Windows Media Player 11 SDK IWMPCdromBurn::isAvailable 

Windows Media Player SDK banner art

Previous Next

IWMPCdromBurn::isAvailable

The isAvailable method provides information about the CD drive and media.

Syntax

  

Parameters

bstrItem

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

Value Description
Burn The drive is a CD burner.
Disc There is a CD in the drive.
Erase The CD can be erased.
Write The CD can be written to.

pIsAvailable

[out]  Pointer to a VARIANT_BOOL that indicates the result.

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