ReactOS 0.4.15-dev-5667-ged97270
property.h
Go to the documentation of this file.
1/*
2Copyright (c) 2006-2008 dogbert <dogber1@gmail.com>
3All rights reserved.
4
5Redistribution and use in source and binary forms, with or without
6modification, are permitted provided that the following conditions
7are met:
81. Redistributions of source code must retain the above copyright
9 notice, this list of conditions and the following disclaimer.
102. 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.
133. 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
16THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25THIS 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}
35DEFINE_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
62typedef struct
63{
64 char driverVersion[32];
84} CMIDATA;
85
86#endif //_PROPERTY_H_
USHORT UInt16
Definition: chm_lib.c:102
DWORD UInt32
Definition: chm_lib.c:104
#define DEFINE_GUIDSTRUCT(guid, name)
Definition: ks.h:98
#define KSPROPSETID_CMI
Definition: property.h:36
UInt32 enableBass2Line
Definition: property.h:71
int hardwareRevision
Definition: property.h:65
UInt32 loopSPDI
Definition: property.h:81
UInt32 enableSPDO5V
Definition: property.h:76
UInt32 enableCenter2Line
Definition: property.h:72
UInt32 enableSPDIMonitor
Definition: property.h:69
UInt32 enableRear2Line
Definition: property.h:73
UInt32 enableCenter2Mic
Definition: property.h:74
UInt16 IOBase
Definition: property.h:66
UInt32 select2ndSPDI
Definition: property.h:78
UInt32 invertPhaseSPDI
Definition: property.h:79
UInt32 formatMask
Definition: property.h:82
UInt32 enableSPDI
Definition: property.h:83
UInt32 enableSPDOCopyright
Definition: property.h:77
UInt32 exchangeFrontBack
Definition: property.h:70
UInt16 MPUBase
Definition: property.h:67
UInt32 invertValidBitSPDI
Definition: property.h:80
UInt32 enableSPDO
Definition: property.h:75
UInt32 maxChannels
Definition: property.h:68