ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

property.h
Go to the documentation of this file.
00001 /*
00002 Copyright (c) 2006-2007 dogbert <dogber1@gmail.com>
00003 All rights reserved.
00004 
00005 Redistribution and use in source and binary forms, with or without
00006 modification, are permitted provided that the following conditions
00007 are met:
00008 1. Redistributions of source code must retain the above copyright
00009    notice, this list of conditions and the following disclaimer.
00010 2. Redistributions in binary form must reproduce the above copyright
00011    notice, this list of conditions and the following disclaimer in the
00012    documentation and/or other materials provided with the distribution.
00013 3. The name of the author may not be used to endorse or promote products
00014    derived from this software without specific prior written permission.
00015 
00016 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
00017 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
00018 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
00019 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
00020 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
00021 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
00022 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
00023 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00024 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
00025 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00026 */
00027 
00028 #pragma once
00029 
00030 //GUID for the private property
00031 // {2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFF}
00032 
00033 #define STATIC_KSPROPSETID_CMI \
00034     0x2B81CDBB, 0xEE6C, 0x4ECC, 0x8A, 0xA5, 0x9A, 0x18, 0x8B, 0x02, 0x3D, 0xFF
00035 DEFINE_GUIDSTRUCT("2B81CDBB-EE6C-4ECC-8AA5-9A188B023DFF", KSPROPSETID_CMI);
00036 #define KSPROPSETID_CMI DEFINE_GUIDNAMED(KSPROPSETID_CMI)
00037 
00038 
00039 //methods
00040 #define KSPROPERTY_CMI_GET  1
00041 #define KSPROPERTY_CMI_SET  2
00042 
00043 #define FMT_441_PCM       0x00000001
00044 #define FMT_480_PCM       0x00000002
00045 #define FMT_882_PCM       0x00000004
00046 #define FMT_960_PCM       0x00000008
00047 #define FMT_441_MULTI_PCM 0x00000010
00048 #define FMT_480_MULTI_PCM 0x00000020
00049 #define FMT_882_MULTI_PCM 0x00000040
00050 #define FMT_960_MULTI_PCM 0x00000080
00051 #define FMT_441_DOLBY     0x00000100
00052 #define FMT_480_DOLBY     0x00000200
00053 #define FMT_882_DOLBY     0x00000400
00054 #define FMT_960_DOLBY     0x00000800
00055 
00056 #ifndef UInt32
00057 #define UInt32  ULONG
00058 #define UInt16  USHORT
00059 #define UInt8   BYTE
00060 #define Int32   LONG
00061 #endif
00062 
00063 typedef struct
00064 {
00065     char    driverVersion[32];
00066     int     hardwareRevision;
00067     UInt16  IOBase;
00068     UInt16  MPUBase;
00069     UInt32  maxChannels;
00070     UInt32  enablePCMDAC;
00071     UInt32  exchangeFrontBack;
00072     UInt32  enableBass2Line;
00073     UInt32  enableCenter2Line;
00074     UInt32  enableRear2Line;
00075     UInt32  enableCenter2Mic;
00076     UInt32  enableSPDO;
00077     UInt32  enableSPDO5V;
00078     UInt32  enableSPDOCopyright;
00079     UInt32  select2ndSPDI;
00080     UInt32  invertPhaseSPDI;
00081     UInt32  invertValidBitSPDI;
00082     UInt32  loopSPDI;
00083     UInt32  formatMask;
00084     UInt32  enableSPDI;
00085 } CMIDATA;

Generated on Sun May 27 2012 04:28:39 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.