SafeNet/.svn/pristine/c6/c62268adca087cca44fde96dccb63126f4fc9a85.svn-base
2021-02-24 13:50:23 +02:00

102 lines
2.9 KiB
Plaintext

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