of_playsound


pfcapsrv.pbl   >   pfc_n_cst_platformhpux   >   of_playsound   

Full name pfc_n_cst_platformhpux.of_playsound
Access public
Extend of integer
Return value integer
Prototype public function integer of_playsound(string)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_playsound (string as_file);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_PlaySound
//
//	Access:  public
//
//	Arguments: as_file - sound file to play
//
//
//	Returns:  integer
//
//	Description:  Play a sound file
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
//ulong lul_numdevs


//lul_numdevs = WaveOutGetNumDevs() 
//If lul_numdevs > 0 Then 
If	sndPlaySoundA(as_file, 1) Then
	return 1
Else
	return -1
End If

end function

     
Name Owner
No Data

     
Name Owner
pfc_n_cst_platformhpux.sndPlaySoundA pfc_n_cst_platformhpux

     
Full name
No Data

     
Name Scope
No Data