-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCreateThread.h
More file actions
36 lines (33 loc) · 756 Bytes
/
CreateThread.h
File metadata and controls
36 lines (33 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#pragma once
#include "logwindow.h"
#include "DirStructure.h"
class CCreateThread
{
public:
CCreateThread(void);
~CCreateThread(void);
CLogWindow* m_LogWnd;
LPCSTR m_FileName;
CListCtrl* m_TrackList;
CDirStructure* m_Dir;
CWnd* m_ParentWnd;
void StartThread(void);
void StopThread(void);
bool m_StopFlag;
bool m_Success;
protected:
HANDLE m_hThread;
DWORD m_ThreadID;
void CreateFileName(void);
bool CreateIso(void);
CString m_ImgPath;
CString m_CuePath;
LPCSTR m_ImgFileName;
LPCSTR m_CueFileName;
DWORD m_TotalFrames;
public:
DWORD ThreadFunction(void);
LPCSTR m_VolumeLabel;
bool CreateCueSheet(CString& CueSheet);
bool SkipAudioHeader(HANDLE hFile);
};