ReactOS  0.4.15-dev-1397-g19779b3
property.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2006-2008 dogbert <dogber1@gmail.com>
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions
7 are met:
8 1. Redistributions of source code must retain the above copyright
9  notice, this list of conditions and the following disclaimer.
10 2. Redistributions in binary form must reproduce the above copyright
11  notice, this list of conditions and the following disclaimer in the
12  documentation and/or other materials provided with the distribution.
13 3. The name of the author may not be used to endorse or promote products
14  derived from this software without specific prior written permission.
15 
16 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27 
28 #ifndef _PROPERTY_H_
29 #define _PROPERTY_H_
30 
31 //GUID for the private property
32 // {2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFF}
33 #define STATIC_KSPROPSETID_CMI \
34  0x2B81CDBB, 0xEE6C, 0x4ECC, {0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xFF}
35 DEFINE_GUIDSTRUCT("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFF", KSPROPSETID_CMI);
36 #define KSPROPSETID_CMI DEFINE_GUIDNAMED(KSPROPSETID_CMI)
37 
38 //methods
39 #define KSPROPERTY_CMI_GET 1
40 #define KSPROPERTY_CMI_SET 2
41 
42 #define FMT_441_PCM 0x00000001
43 #define FMT_480_PCM 0x00000002
44 #define FMT_882_PCM 0x00000004
45 #define FMT_960_PCM 0x00000008
46 #define FMT_441_MULTI_PCM 0x00000010
47 #define FMT_480_MULTI_PCM 0x00000020
48 #define FMT_882_MULTI_PCM 0x00000040
49 #define FMT_960_MULTI_PCM 0x00000080
50 #define FMT_441_DOLBY 0x00000100
51 #define FMT_480_DOLBY 0x00000200
52 #define FMT_882_DOLBY 0x00000400
53 #define FMT_960_DOLBY 0x00000800
54 
55 #ifndef UInt32
56 #define UInt32 ULONG
57 #define UInt16 USHORT
58 #define UInt8 BYTE
59 #define Int32 LONG
60 #endif
61 
62 typedef struct
63 {
64  char driverVersion[32];
84 } CMIDATA;
85 
86 #endif //_PROPERTY_H_
UInt32 invertPhaseSPDI
Definition: property.h:79
UInt32 maxChannels
Definition: property.h:68
UInt32 enableSPDIMonitor
Definition: property.h:69
UInt32 enableSPDI
Definition: property.h:83
int hardwareRevision
Definition: property.h:65
UInt32 formatMask
Definition: property.h:82
DWORD UInt32
Definition: chm_lib.c:104
UInt32 loopSPDI
Definition: property.h:81
UInt32 invertValidBitSPDI
Definition: property.h:80
USHORT UInt16
Definition: chm_lib.c:102
UInt32 enableCenter2Mic
Definition: property.h:74
UInt32 enableSPDOCopyright
Definition: property.h:77
UInt32 enableCenter2Line
Definition: property.h:72
UInt16 MPUBase
Definition: property.h:67
UInt32 enableSPDO5V
Definition: property.h:76
#define KSPROPSETID_CMI
Definition: property.h:36
UInt32 enableSPDO
Definition: property.h:75
UInt32 exchangeFrontBack
Definition: property.h:70
UInt32 enableRear2Line
Definition: property.h:73
UInt16 IOBase
Definition: property.h:66
UInt32 enableBass2Line
Definition: property.h:71
DEFINE_GUIDSTRUCT("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFF", KSPROPSETID_CMI)
UInt32 select2ndSPDI
Definition: property.h:78