Last change
on this file since 200 was 142, checked in by ktk, 25 years ago |
Import
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.6 KB
|
Line | |
---|
1 | /* $Id: rtmidi.hpp 142 2000-04-23 14:55:46Z ktk $ */
|
---|
2 |
|
---|
3 | /* SCCSID = %W% %E% */
|
---|
4 | /****************************************************************************
|
---|
5 | * *
|
---|
6 | * Copyright (c) IBM Corporation 1994 - 1997. *
|
---|
7 | * *
|
---|
8 | * The following IBM OS/2 source code is provided to you solely for the *
|
---|
9 | * the purpose of assisting you in your development of OS/2 device drivers. *
|
---|
10 | * You may use this code in accordance with the IBM License Agreement *
|
---|
11 | * provided in the IBM Device Driver Source Kit for OS/2. *
|
---|
12 | * *
|
---|
13 | ****************************************************************************/
|
---|
14 | /**@internal %W%
|
---|
15 | * RTMIDI object definition.
|
---|
16 | * @version %I%
|
---|
17 | * @context
|
---|
18 | * Unless otherwise noted, all interfaces are Ring-0, 16-bit, kernel stack.
|
---|
19 | * @notes
|
---|
20 | * @history
|
---|
21 | */
|
---|
22 |
|
---|
23 | #ifndef RTMIDI_INCLUDED
|
---|
24 | #define RTMIDI_INCLUDED
|
---|
25 |
|
---|
26 | #ifndef OS2_INCLUDED
|
---|
27 | #define INCL_NOPMAPI
|
---|
28 | #include <os2.h>
|
---|
29 | #endif
|
---|
30 | #include "..\midi\midi_idc.h" // RTMIDI interfaces
|
---|
31 | #include "maudio.hpp" // MIDIAUDIO
|
---|
32 |
|
---|
33 | class RTMIDI {
|
---|
34 |
|
---|
35 | public:
|
---|
36 | static VOID vConnect ( VOID );
|
---|
37 | static USHORT __far __loadds __cdecl Open(USHORT, USHORT);
|
---|
38 | static USHORT __far __loadds __cdecl Close(USHORT, USHORT);
|
---|
39 | static USHORT __far __loadds __cdecl RecvString(USHORT, BYTE __far *, USHORT);
|
---|
40 | static USHORT __far __loadds __cdecl RecvByte(USHORT, BYTE);
|
---|
41 |
|
---|
42 | private:
|
---|
43 | static BOOL _bIsRTMIDIDevice( MIDIAUDIO* pma );
|
---|
44 |
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.