[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SndPlayRes( uSndName, nMode )-> <lSuccess>
------------------------------------------------------------------------------


 PARAMETER:

  <uSndName>    Specifies the resource name or number of the sound to play. 
                To store a wave inside a resource, you have to define a new
                resource type called "WAVE" :


               +--------------------------------------------------+
               |  /* MYAPP.RC */                                  |               |                                                              |
               |                                                  |
               |  OKSOUND WAVE "OkSound.wav"                      |
               |  100     WAVE "TestSound.wav"                    |
               +--------------------------------------------------+


  <nMode>       Are the options flags that specify how the sound is being 
                played, please look up SndPlaySound for a description


 RETURNS:

  <lSuccess> is TRUE if the function is successful


 DESCRIPTION:

  This function let you play a .wav sound from a resource, if the target
  systems has a sound card installed.


 SOURCE:

  SOURCE\WINAPI\SOUND.C



See Also: SndPlaySound MessageBeep MsgBeep
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson