OSDN Git Service

#xxxxx DTXViewerのプロジェクトを追加。
[dtxmania/dtxmania.git] / DTXViewerプロジェクト / @FDK10プロジェクト / CMIDIOutput.h
1 #pragma once
2
3 namespace FDK {
4         namespace MIDI {
5
6 class CMIDIOutput
7 {
8 public:
9         bool Init();    // \8f\89\8aú\89»
10         void Term();    // \8fI\97¹\8f\88\97\9d
11         
12         // \83\81\83b\83Z\81[\83W\82Ì\91\97\90M\87@
13         // \81@dwMsg ... data2<<16|data1<<8|status
14         void SendMsg( DWORD dwMsg );
15
16         // Desc: \83\81\83b\83Z\81[\83W\82Ì\91\97\90M\87A
17         void SendMsg( BYTE byState, BYTE byData1, BYTE byData2 );
18
19         CMIDIOutput() {
20                 this->bInit=false;
21         };
22
23 public:
24         HMIDIOUT hMidiOut;
25
26 protected:
27         bool     bInit;                 // \8f\89\8aú\89»\82³\82ê\82Ä\82¢\82ê\82Πtrue
28         int              nDevices;              // MIDI Out \83f\83o\83C\83X\90\94
29 };
30
31         }//MIDI
32 }//FDK
33
34 using namespace FDK::MIDI;