Share via


Windows Media Player 11 SDK ErrorItem.errorCodeĀ 

Windows Media Player SDK banner art

Previous Next

ErrorItem.errorCode

The errorCode property retrieves the current error code.

Syntax

  

Possible Values

This property is a read-only Number (long).

Remarks

You should set Settings.enableErrorDialogs to false if you choose to display custom error messages.

Example Code

The following JScript example uses ErrorItem.errorCode in an event handler to display the error code to the user. The Player object was created with ID = "Player".

  

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

Previous Next