///<summary>The entry point for the application.</summary>
  ///<param name="argv">A list of command line arguments</param>
  public static void Main
  (
   String[] argv
  )
  {
   Boolean                       booleanParseCommandLineArguments  =  false;
   string                        exceptionMessage                  =  null;     
   UtilityWavArgument            utilityWavArgument               =  null;
   
   utilityWavArgument = new UtilityWavArgument();
   
   booleanParseCommandLineArguments =  UtilityParseCommandLineArgument.ParseCommandLineArguments
   ( 
    argv, 
    utilityWavArgument
   );

   if ( booleanParseCommandLineArguments == false )
   {
    // error encountered in arguments. Display usage message
    System.Console.Write
    (
     UtilityParseCommandLineArgument.CommandLineArgumentsUsage( typeof ( UtilityWavArgument ) )
    );
    return;
   }//if ( booleanParseCommandLineArguments  == false )

   Stub
   (
    ref utilityWavArgument,
    ref exceptionMessage
   );
   
  }//static void Main( String[] argv ) 
  }//public static bool PlaySound( ref UtilityWavArgument utilityWavArgument, ref string exceptionMessage )

  ///<summary>PlaySoundW()</summary>
  public static bool PlaySoundW
  (
   ref UtilityWavArgument  utilityWavArgument,
   ref string              exceptionMessage
  )
  {
   bool  playSound  =  false;
   int   flagWav    =  0;
   
   try
   {
    if ( !String.IsNullOrEmpty( utilityWavArgument.flagWav ) )
    {
     flagWav = System.Convert.ToInt32( utilityWavArgument.flagWav, 16 );
    } 
   
    playSound  =  PlaySoundW( utilityWavArgument.filenameWav, flagWav );
    
   }    
   catch ( Exception exception )
   {
   	System.Console.WriteLine("Exception: {0}", exception.Message);
   }//catch ( Exception exception )

   return ( playSound );

  }//public static bool PlaySoundW( ref UtilityWavArgument utilityWavArgument, ref string exceptionMessage )
  }//static void Main( String[] argv ) 

  ///<summary>Stub.</summary>
  public static void Stub
  (
   ref UtilityWavArgument  utilityWavArgument,
   ref string              exceptionMessage
  )
  {
   
   PlaySound
   (
    ref utilityWavArgument,
    ref exceptionMessage
   );

   PlaySoundW
   (
    ref utilityWavArgument,
    ref exceptionMessage
   );
 
  }//public static void Stub()
  }//public static void Stub()

  ///<summary>PlaySound()</summary>
  public static bool PlaySound
  (
   ref UtilityWavArgument  utilityWavArgument,
   ref string              exceptionMessage
  )
  {
   
   bool  playSound  =  false;
   
   
   try
   {
    playSound  =  PlaySound( utilityWavArgument.filenameWav, 0, 1 );
   }//try
   catch ( Exception exception )
   {
   	System.Console.WriteLine("Exception: {0}", exception.Message);
   }//catch ( Exception exception )

   return ( playSound );

  }//public static bool PlaySound( ref UtilityWavArgument utilityWavArgument, ref string exceptionMessage )