Share via


Windows Media Player 11 SDK Error.errorCountĀ 

Windows Media Player SDK banner art

Previous Next

Error.errorCount

The errorCount property retrieves the number of errors in the error queue.

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 Error.errorCount in an event handler to alert the user about the most recent error in the error queue. 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