summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/sndVol/playSnd.h
blob: b3582c07906cae734ce644eabd6757e741a81f46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <windows.h>
#include <mmsystem.h>
#include <basetsd.h>
#include "dmusicc.h"
#include "dmusici.h"
#include <dxerr8.h>
#include <tchar.h>
#include "DMUtil.h"
#include "DXUtil.h"

//-----------------------------------------------------------------------------
// Defines, constants, and global variables
//-----------------------------------------------------------------------------

namespace playSnd
{
	extern BOOL g_bInOption;

	HRESULT Init();
	void Destroy();
	HRESULT LoadSegmentFile( TCHAR* strFileName );
	BOOL WINAPI PlaySound(char* pszSound, HMODULE hmod, DWORD fdwSound);
	BOOL SetVolume(long Value);
}