Click here to Skip to main content
15,880,608 members
Articles / Programming Languages / C#

C Sharp Ripper

Rate me:
Please Sign up or sign in to vote.
4.89/5 (58 votes)
13 Jan 20045 min read 447K   9.7K   214  
C# code to handle CDROM drives and read CD tracks
//
//
//  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
//  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
//  PURPOSE. IT CAN BE DISTRIBUTED FREE OF CHARGE AS LONG AS THIS HEADER 
//  REMAINS UNCHANGED.
//
//  Email:  yetiicb@hotmail.com
//
//  Copyright (C) 2002-2003 Idael Cardoso. 
//

using System;
using System.Runtime.InteropServices;

namespace Yeti.Sys
{
  public enum BeepType
  {
    SimpleBeep = -1,
    SystemAsterisk = 0x00000040,
    SystemExclamation = 0x00000030,
    SystemHand = 0x00000010,
    SystemQuestion = 0x00000020,
    SystemDefault = 0
  }
  /// <summary>
	/// Win32 API functions
	/// </summary>
  public sealed class Win32
  {
    [DllImport("User32.dll", SetLastError=true)]
    public static extern bool MessageBeep(BeepType Type);
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
France France
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions