summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/sndVol/playSnd.h
blob: f9a6c3299f5ca2a83b24a05641d7f321367e961e (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);
}