IWMPCore::close method

The close method releases Windows Media Player resources.

Syntax


HRESULT close();

Parameters

This method has no parameters.

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

This method closes the current digital media file, not Windows Media Player.

Requirements

Version

Windows Media Player 9 Series or later.

Header

Wmp.h

DLL

Wmp.dll

See also

IWMPCore Interface

 

 

Show: