|
// WriteSound.h: interface for the WriteSound class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_WRITESOUND_H__34AE8561_55E6_11D6_8886_801253C10001__INCLUDED_)
#define AFX_WRITESOUND_H__34AE8561_55E6_11D6_8886_801253C10001__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WM_WRITESOUND_CREATEFILE WM_USER+701
#define WM_WRITESOUND_WRITEDATA WM_USER+702
#define WM_WRITESOUND_CLOSEFILE WM_USER+703
#define WM_WRITESOUND_ENDTHREAD WM_USER+704
#define SAMPLEWSEC 8000
class WriteSound : public CWinThread
{
DECLARE_DYNCREATE(WriteSound);
public:
MMCKINFO riffblock,fmtblock,datablock;
HMMIO m_hwrite;
WAVEFORMATEX waveformat;
CStdioFile log;
WriteSound();
virtual ~WriteSound();
BOOL InitInstance();
int ExitInstance();
afx_msg LRESULT OnCreateFile(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnWriteData(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnCloseFile(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnEndThread(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
#endif // !defined(AFX_WRITESOUND_H__34AE8561_55E6_11D6_8886_801253C10001__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Nagareshwar is a security enthusiastic person involved in reverse engineering, vulnerability research, coding security tools etc. He spend most of the time in uncovering the secrets of computer world.
He holds 'Bachelor of Engineering' degree from National Institute of Technology of Karnataka, India. He had professional experience of 2.5 years in Novell. At Novell he was working on various security products including 'Novell Secure Login' and CASA.
For more details visit his website
http://securityxploded.com