Last change
on this file since 164 was 164, checked in by sandervl, 24 years ago |
header update
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
916 bytes
|
Line | |
---|
1 | /* $Id: daudio.h 164 2001-03-22 18:10:44Z sandervl $ */
|
---|
2 | #ifndef __DAUDIO_H__
|
---|
3 | #define __DAUDIO_H__
|
---|
4 |
|
---|
5 | #define DAUDIO_IOCTL_CAT 0x91
|
---|
6 |
|
---|
7 | #define DAUDIO_OPEN 0x40
|
---|
8 | #define DAUDIO_CLOSE 0x41
|
---|
9 | #define DAUDIO_QUERYFORMAT 0x42
|
---|
10 | #define DAUDIO_SETVOLUME 0x43
|
---|
11 | #define DAUDIO_GETVOLUME 0x44
|
---|
12 | #define DAUDIO_START 0x45
|
---|
13 | #define DAUDIO_STOP 0x46
|
---|
14 | #define DAUDIO_PAUSE 0x47
|
---|
15 | #define DAUDIO_RESUME 0x48
|
---|
16 | #define DAUDIO_GETPOS 0x49
|
---|
17 | #define DAUDIO_ADDBUFFER 0x4A
|
---|
18 | #define DAUDIO_REGISTER_THREAD 0x4B
|
---|
19 | #define DAUDIO_DEREGISTER_THREAD 0x4C
|
---|
20 |
|
---|
21 | typedef struct {
|
---|
22 | union
|
---|
23 | {
|
---|
24 | struct
|
---|
25 | {
|
---|
26 | ULONG Volume; // left & right volume (high/low word)
|
---|
27 | } Vol;
|
---|
28 | struct
|
---|
29 | {
|
---|
30 | ULONG lpBuffer;
|
---|
31 | ULONG ulBufferLength;
|
---|
32 | } Buffer;
|
---|
33 | struct
|
---|
34 | {
|
---|
35 | ULONG ulCurrentPos;
|
---|
36 | } Pos;
|
---|
37 | struct
|
---|
38 | {
|
---|
39 | ULONG hSemaphore;
|
---|
40 | } Thread;
|
---|
41 | };
|
---|
42 |
|
---|
43 | } DAUDIO_CMD, FAR *LPDAUDIO_CMD;
|
---|
44 |
|
---|
45 | #endif //__DAUDIO_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.