using System;
using System.Collections.Generic;
using System.Text;
namespace LumiSoft.Media.Wave.Native
{
///
/// This class holds MMSYSERR errors.
///
internal class MMSYSERR
{
///
/// Success.
///
public const int NOERROR = 0;
///
/// Unspecified error.
///
public const int ERROR = 1;
///
/// Device ID out of range.
///
public const int BADDEVICEID = 2;
///
/// Driver failed enable.
///
public const int NOTENABLED = 3;
///
/// Device already allocated.
///
public const int ALLOCATED = 4;
///
/// Device handle is invalid.
///
public const int INVALHANDLE = 5;
///
/// No device driver present.
///
public const int NODRIVER = 6;
///
/// Memory allocation error.
///
public const int NOMEM = 7;
///
/// Function isn't supported.
///
public const int NOTSUPPORTED = 8;
///
/// Error value out of range.
///
public const int BADERRNUM = 9;
///
/// Invalid flag passed.
///
public const int INVALFLAG = 1;
///
/// Invalid parameter passed.
///
public const int INVALPARAM = 11;
///
/// Handle being used simultaneously on another thread (eg callback).
///
public const int HANDLEBUSY = 12;
///
/// Specified alias not found.
///
public const int INVALIDALIAS = 13;
///
/// Bad registry database.
///
public const int BADDB = 14;
///
/// Registry key not found.
///
public const int KEYNOTFOUND = 15;
///
/// Registry read error.
///
public const int READERROR = 16;
///
/// Registry write error.
///
public const int WRITEERROR = 17;
///
/// Eegistry delete error.
///
public const int DELETEERROR = 18;
///
/// Registry value not found.
///
public const int VALNOTFOUND = 19;
///
/// Driver does not call DriverCallback.
///
public const int NODRIVERCB = 20;
///
/// Last error in range.
///
public const int LASTERROR = 20;
}
}