source: cmedia/trunk/Drv16/rtmidi.hpp@ 354

Last change on this file since 354 was 354, checked in by stevenhl, 17 years ago

Import untested baseline cmedia sources, work products and binaries
Binaries and work products should be deleted from repository.
once new builds are verified to work.

File size: 1.7 KB
Line 
1/* $Id: rtmidi.hpp,v 1.1 2000/04/23 14:55:20 ktk Exp $ */
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
33class RTMIDI {
34
35public:
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
42private:
43 static BOOL _bIsRTMIDIDevice( MIDIAUDIO* pma );
44
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.