X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fmultimedia%2FEnums.h;fp=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fmultimedia%2FEnums.h;h=0000000000000000000000000000000000000000;hb=d3453b257c2faf4db202d38666a872929ff220cd;hp=3076267975cb4295823cb73031ce0aedeca593db;hpb=1c2eac207d4963c6bc170b3f7fbe0feeffcd17e0;p=dtxmania%2Fdtxmania.git diff --git a/SlimDXc_Jun2010(VC++2008)/source/multimedia/Enums.h b/SlimDXc_Jun2010(VC++2008)/source/multimedia/Enums.h deleted file mode 100644 index 30762679..00000000 --- a/SlimDXc_Jun2010(VC++2008)/source/multimedia/Enums.h +++ /dev/null @@ -1,1104 +0,0 @@ -/* -* Copyright (c) 2007-2010 SlimDX Group -* -* Permission is hereby granted, free of charge, to any person obtaining a copy -* of this software and associated documentation files (the "Software"), to deal -* in the Software without restriction, including without limitation the rights -* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -* copies of the Software, and to permit persons to whom the Software is -* furnished to do so, subject to the following conditions: -* -* The above copyright notice and this permission notice shall be included in -* all copies or substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -* THE SOFTWARE. -*/ -#pragma once - -#include - -namespace SlimDX -{ - namespace Multimedia - { - /// - /// Represents possible usage identifiers for human interface devices. - /// - [System::Flags] - public enum class UsageId : System::Int32 - { - /// - /// Represents a pointer device. - /// - Pointer = 0x01, - - /// - /// Represents a mouse device. - /// - Mouse = 0x02, - - /// - /// Represents a joystick device. - /// - Joystick = 0x04, - - /// - /// Represents a gamepad device. - /// - Gamepad = 0x05, - - /// - /// Represents a keyboard device. - /// - Keyboard = 0x06, - - /// - /// Represents a keypad device. - /// - Keypad = 0x07, - - /// - /// Represents a system control device. - /// - SystemControl = 0x80, - - /// - /// Represents a device that provides X coordinates. - /// - X = 0x30, - - /// - /// Represents a device that provides Y coordinates. - /// - Y = 0x31, - - /// - /// Represents a device that provides Z coordinates. - /// - Z = 0x32, - - /// - /// Represents a device that provides relative X coordinates. - /// - RelativeX = 0x33, - - /// - /// Represents a device that provides relative Y coordinates. - /// - RelativeY = 0x34, - - /// - /// Represents a device that provides relative Z coordinates. - /// - RelativeZ = 0x35, - - /// - /// Represents a device that provides a slider. - /// - Slider = 0x36, - - /// - /// Represents a device that provides a dial. - /// - Dial = 0x37, - - /// - /// Represents a wheel device. - /// - Wheel = 0x38, - - /// - /// Represents a device that provides a hat switch. - /// - HatSwitch = 0x39, - - /// - /// Represents a device that maintains a counted buffer. - /// - CountedBuffer = 0x3A, - - /// - /// Represents a device that maintains a byte count. - /// - ByteCount = 0x3B, - - /// - /// Represents a device that provides wakeup on motion support. - /// - MotionWakeup = 0x3C, - - /// - /// Represents a device that provides VX controls. - /// - VX = 0x40, - - /// - /// Represents a device that provides VY controls. - /// - VY = 0x41, - - /// - /// Represents a device that provides VZ controls. - /// - VZ = 0x42, - - /// - /// Represents a device that provides VBRX controls. - /// - VbrX = 0x43, - - /// - /// Represents a device that provides VBRY controls. - /// - VbrY = 0x44, - - /// - /// Represents a device that provides VBRZ controls. - /// - VbrZ = 0x45, - - /// - /// Represents a device that provides VNO controls. - /// - Vno = 0x46, - - /// - /// Represents a device that controls system power. - /// - SystemControlPower = 0x81, - - /// - /// Represents a device that controls system sleep. - /// - SystemControlSleep = 0x82, - - /// - /// Represents a device that controls system wake. - /// - SystemControlWake = 0x83, - - /// - /// Represents a device that controls system context menus. - /// - SystemControlContextMenu = 0x84, - - /// - /// Represents a device that controls system menus. - /// - SystemControlMainMenu = 0x85, - - /// - /// Represents a device that controls system application menus. - /// - SystemControlApplicationMenu = 0x86, - - /// - /// Represents a device that controls system help menus. - /// - SystemControlHelpMenu = 0x87, - - /// - /// Represents a device that controls menu exit. - /// - SystemControlMenuExit = 0x88, - - /// - /// Represents a device that controls menu select. - /// - SystemControlMenuSelect = 0x89, - - /// - /// Represents a device that controls menu right. - /// - SystemControlMenuRight = 0x8A, - - /// - /// Represents a device that controls menu left. - /// - SystemControlMenuLeft = 0x8B, - - /// - /// Represents a device that controls menu up. - /// - SystemControlMenuUp = 0x8C, - - /// - /// Represents a device that controls menu down. - /// - SystemControlMenuDown = 0x8D, - - /// - /// Represents a device that provides keyboard events. - /// - KeyboardNoEvent = 0x00, - - /// - /// Represents a device that provides keyboard rollover events. - /// - KeyboardRollover = 0x01, - - /// - /// Represents a device that provides keyboard post fail events. - /// - KeyboardPostFail = 0x02, - - /// - /// Represents a device that provides keyboard undefined events. - /// - KeyboardUndefined = 0x03, - - /// - /// Represents a device that provides keyboard alpha events. - /// - KeyboardaA = 0x04, - - /// - /// Represents a device that provides keyboard alpha events. - /// - KeyboardzZ = 0x1D, - - /// - /// Represents a generic keyboard device. - /// - Keyboard1 = 0x1E, - - /// - /// Represents a generic keyboard device. - /// - Keyboard0 = 0x27, - - /// - /// Represents a keyboard that provides a left control key. - /// - KeyboardLeftControl = 0xE0, - - /// - /// Represents a keyboard that provides a left shift key. - /// - KeyboardLeftShift = 0xE1, - - /// - /// Represents a keyboard that provides a left alt key. - /// - KeyboardLeftAlt = 0xE2, - - /// - /// Represents a keyboard that provides a left GUI key. - /// - KeyboardLeftGui = 0xE3, - - /// - /// Represents a keyboard that provides a right control key. - /// - KeyboardRightControl = 0xE4, - - /// - /// Represents a keyboard that provides a right shift key. - /// - KeyboardRightShift = 0xE5, - - /// - /// Represents a keyboard that provides a right alt key. - /// - KeyboardRightAlt = 0xE6, - - /// - /// Represents a keyboard that provides a right GUI key. - /// - KeyboardRightGui = 0xE7, - - /// - /// Represents a keyboard that provides a scroll lock key. - /// - KeyboardScrollLock = 0x47, - - /// - /// Represents a keyboard that provides a number lock key. - /// - KeyboardNumLock = 0x53, - - /// - /// Represents a keyboard that provides a caps lock key. - /// - KeyboardCapsLock = 0x39, - - /// - /// Represents a keyboard that provides an F1 key. - /// - KeyboardF1 = 0x3A, - - /// - /// Represents a keyboard that provides an F12 key. - /// - KeyboardF12 = 0x45, - - /// - /// Represents a keyboard that provides a return key. - /// - KeyboardReturn = 0x28, - - /// - /// Represents a keyboard that provides an escape key. - /// - KeyboardEscape = 0x29, - - /// - /// Represents a keyboard that provides a delete key. - /// - KeyboardDelete = 0x2A, - - /// - /// Represents a keyboard that provides a print screen key. - /// - KeyboardPrintScreen = 0x46, - - /// - /// Represents a number lock LED. - /// - LedNumLock = 0x01, - - /// - /// Represents a number lock LED. - /// - LedCapsLock = 0x02, - - /// - /// Represents a scroll lock LED. - /// - LedScrollLock = 0x03, - - /// - /// Represents a compose LED. - /// - LedCompose = 0x04, - - /// - /// Represents a kana LED. - /// - LedKana = 0x05, - - /// - /// Represents a power LED. - /// - LedPower = 0x06, - - /// - /// Represents a shift LED. - /// - LedShift = 0x07, - - /// - /// Represents a do not disturb LED. - /// - LedDoNotDisturb = 0x08, - - /// - /// Represents a mute LED. - /// - LedMute = 0x09, - - /// - /// Represents a tone enable LED. - /// - LedToneEnable = 0x0A, - - /// - /// Represents a high cut filter LED. - /// - LedHighCutFilter = 0x0B, - - /// - /// Represents a low cut filter LED. - /// - LedLowCutFilter = 0x0C, - - /// - /// Represents an equalizer enable LED. - /// - LedEqualizerEnable = 0x0D, - - /// - /// Represents a sound field on LED. - /// - LedSoundFieldOn = 0x0E, - - /// - /// Represents a surround field on LED. - /// - LedSurroundFieldOn = 0x0F, - - /// - /// Represents a repeat LED. - /// - LedRepeat = 0x10, - - /// - /// Represents a stereo LED. - /// - LedStereo = 0x11, - - /// - /// Represents a direct sampling rate LED. - /// - LedSamplingRateDirect = 0x12, - - /// - /// Represents a spinning LED. - /// - LedSpinning = 0x13, - - /// - /// Represents a CAV LED. - /// - LedCav = 0x14, - - /// - /// Represents a CLV LED. - /// - LedClv = 0x15, - - /// - /// Represents a recording format LED. - /// - LedRecordingFormatDet = 0x16, - - /// - /// Represents an off-the-hook LED. - /// - LedOffHook = 0x17, - - /// - /// Represents a ring LED. - /// - LedRing = 0x18, - - /// - /// Represents a message waiting LED. - /// - LedMessageWaiting = 0x19, - - /// - /// Represents a data mode LED. - /// - LedDataMode = 0x1A, - - /// - /// Represents a battery operation LED. - /// - LedBatteryOperation = 0x1B, - - /// - /// Represents a battery OK LED. - /// - LedBatteryOk = 0x1C, - - /// - /// Represents a battery low LED. - /// - LedBatteryLow = 0x1D, - - /// - /// Represents a speaker LED. - /// - LedSpeaker = 0x1E, - - /// - /// Represents a headset LED. - /// - LedHeadset = 0x1F, - - /// - /// Represents a hold LED. - /// - LedHold = 0x20, - - /// - /// Represents a microphone LED. - /// - LedMicrophone = 0x21, - - /// - /// Represents a coverage LED. - /// - LedCoverage = 0x22, - - /// - /// Represents a night mode LED. - /// - LedNightMode = 0x23, - - /// - /// Represents a send calls LED. - /// - LedSendCalls = 0x24, - - /// - /// Represents a call pickup LED. - /// - LedCallPickup = 0x25, - - /// - /// Represents a conference LED. - /// - LedConference = 0x26, - - /// - /// Represents a standby LED. - /// - LedStandby = 0x27, - - /// - /// Represents a camera on LED. - /// - LedCameraOn = 0x28, - - /// - /// Represents a camera off LED. - /// - LedCameraOff = 0x29, - - /// - /// Represents an onlineLED. - /// - LedOnline = 0x2A, - - /// - /// Represents an offline LED. - /// - LedOffline = 0x2B, - - /// - /// Represents a busy LED. - /// - LedBusy = 0x2C, - - /// - /// Represents a ready LED. - /// - LedReady = 0x2D, - - /// - /// Represents a paper out LED. - /// - LedPaperOut = 0x2E, - - /// - /// Represents a paper jam LED. - /// - LedPaperJam = 0x2F, - - /// - /// Represents a remote LED. - /// - LedRemote = 0x30, - - /// - /// Represents a forward LED. - /// - LedForward = 0x31, - - /// - /// Represents a reverse LED. - /// - LedReverse = 0x32, - - /// - /// Represents a stop LED. - /// - LedStop = 0x33, - - /// - /// Represents a rewind LED. - /// - LedRewind = 0x34, - - /// - /// Represents a fast forward LED. - /// - LedFastForward = 0x35, - - /// - /// Represents a play LED. - /// - LedPlay = 0x36, - - /// - /// Represents a pause LED. - /// - LedPause = 0x37, - - /// - /// Represents a record LED. - /// - LedRecord = 0x38, - - /// - /// Represents an error LED. - /// - LedError = 0x39, - - /// - /// Represents a selected indicator LED. - /// - LedSelectedIndicator = 0x3A, - - /// - /// Represents an in-use indicator LED. - /// - LedInUseIndicator = 0x3B, - - /// - /// Represents a nmultimode indicator LED. - /// - LedMultimodeIndicator = 0x3C, - - /// - /// Represents an indicator on LED. - /// - LedIndicatorOn = 0x3D, - - /// - /// Represents an indicator flash LED. - /// - LedIndicatorFlash = 0x3E, - - /// - /// Represents an indicator slow blink LED. - /// - LedIndicatorSlowBlink = 0x3F, - - /// - /// Represents an indicator fast blink LED. - /// - LedIndicatorFastBlink = 0x40, - - /// - /// Represents an indicator off LED. - /// - LedIndicatorOff = 0x41, - - /// - /// Represents a flash-on-time LED. - /// - LedFlashOnTime = 0x42, - - /// - /// Represents a slow-blink-on-time LED. - /// - LedSlowBlinkOnTime = 0x43, - - /// - /// Represents a slow-blink-off-time LED. - /// - LedSlowBlinkOffTime = 0x44, - - /// - /// Represents a fast-blink-on-time LED. - /// - LedFastBlinkOnTime = 0x45, - - /// - /// Represents a fast-blink-off-time LED. - /// - LedFastBlinkOffTime = 0x46, - - /// - /// Represents an indicator color LED. - /// - LedIndicatorColor = 0x47, - - /// - /// Represents a red LED. - /// - LedRed = 0x48, - - /// - /// Represents a green LED. - /// - LedGreen = 0x49, - - /// - /// Represents an amber LED. - /// - LedAmber = 0x4A, - - /// - /// Represents a generic indicator LED. - /// - LedGenericIndicator = 0x3B, - - /// - /// Represents a phone telephony device. - /// - TelephonyPhone = 0x01, - - /// - /// Represents an answering machine telephony device. - /// - TelephonyAnsweringMachine = 0x02, - - /// - /// Represents message controls for a telephony device. - /// - TelephonyMessageControls = 0x03, - - /// - /// Represents a handset telephony device. - /// - TelephonyHandset = 0x04, - - /// - /// Represents a headset telephony device. - /// - TelephonyHeadset = 0x05, - - /// - /// Represents a keypad telephony device. - /// - TelephonyKeypad = 0x06, - - /// - /// Represents programmable buttons for a telephony device. - /// - TelephonyProgrammableButton = 0x07, - - /// - /// Represents a rudder for a simulation device. - /// - SimulationRudder = 0xBA, - - /// - /// Represents a throttle for a simulation device. - /// - SimulationThrottle = 0xBB - }; - - /// - /// Represents possible usage page identifiers for human interface devices. - /// - public enum class UsagePage : System::Int32 - { - /// - /// Represents undefined devices. - /// - Undefined = 0x00, - - /// - /// Represents generic desktop controls. - /// - Generic = 0x01, - - /// - /// Represents simulation controls. - /// - Simulation = 0x02, - - /// - /// Represents virtual reality controls. - /// - VR = 0x03, - - /// - /// Represents sports controls. - /// - Sport = 0x04, - - /// - /// Represents games controls. - /// - Game = 0x05, - - /// - /// Represents keyboard controls. - /// - Keyboard = 0x07, - - /// - /// Represents LED controls. - /// - Led = 0x08, - - /// - /// Represents button controls. - /// - Button = 0x09, - - /// - /// Represents ordinal controls. - /// - Ordinal = 0x0A, - - /// - /// Represents telephony controls. - /// - Telephony = 0x0B, - - /// - /// Represents consumer controls. - /// - Consumer = 0x0C, - - /// - /// Represents digitizer controls. - /// - Digitizer = 0x0D, - - /// - /// Represents physical interface devices. - /// - Pid = 0x0F, - - /// - /// Represents Unicode devices. - /// - Unicode = 0x10, - - /// - /// Represents alphanumeric displays. - /// - Alphanumeric = 0x14, - - /// - /// Represents medical instruments. - /// - Medical = 0x40, - - /// - /// Represents monitor page 0. - /// - MonitorPage0 = 0x80, - - /// - /// Represents monitor page 1. - /// - MonitorPage1 = 0x81, - - /// - /// Represents monitor page 2. - /// - MonitorPage2 = 0x82, - - /// - /// Represents monitor page 3. - /// - MonitorPage3 = 0x83, - - /// - /// Represents power page 0. - /// - PowerPage0 = 0x84, - - /// - /// Represents power page 1. - /// - PowerPage1 = 0x85, - - /// - /// Represents power page 2. - /// - PowerPage2 = 0x86, - - /// - /// Represents power page 3. - /// - PowerPage3 = 0x87, - - /// - /// Represents bar code scanners. - /// - Barcode = 0x8C, - - /// - /// Represents scale pages. - /// - Scale = 0x8D, - - /// - /// Represents magnetic strip reading devices. - /// - Msr = 0x8E - }; - - /// - /// Specifies possible speaker combinations for audio devices. - /// - [System::Flags] - public enum class Speakers : System::Int32 - { - None = 0, - - /// - /// A front left speaker will be used. - /// - FrontLeft = SPEAKER_FRONT_LEFT, - - /// - /// A front right speaker will be used. - /// - FrontRight = SPEAKER_FRONT_RIGHT, - - /// - /// A front center speaker will be used. - /// - FrontCenter = SPEAKER_FRONT_CENTER, - - /// - /// A low frequency speaker will be used. - /// - LowFrequency = SPEAKER_LOW_FREQUENCY, - - /// - /// A back left speaker will be used. - /// - BackLeft = SPEAKER_BACK_LEFT, - - /// - /// A back right speaker will be used. - /// - BackRight = SPEAKER_BACK_RIGHT, - - /// - /// A front left-of-center speaker will be used. - /// - FrontLeftOfCenter = SPEAKER_FRONT_LEFT_OF_CENTER, - - /// - /// A front right-of-center speaker will be used. - /// - FrontRightOfCenter = SPEAKER_FRONT_RIGHT_OF_CENTER, - - /// - /// A back center speaker will be used. - /// - BackCenter = SPEAKER_BACK_CENTER, - - /// - /// A left side speaker will be used. - /// - SideLeft = SPEAKER_SIDE_LEFT, - - /// - /// A right side speaker will be used. - /// - SideRight = SPEAKER_SIDE_RIGHT, - - /// - /// A top center speaker will be used. - /// - TopCenter = SPEAKER_TOP_CENTER, - - /// - /// A top front left speaker will be used. - /// - TopFrontLeft = SPEAKER_TOP_FRONT_LEFT, - - /// - /// A top front center speaker will be used. - /// - TopFrontCenter = SPEAKER_TOP_FRONT_CENTER, - - /// - /// A top front right speaker will be used. - /// - TopFrontRight = SPEAKER_TOP_FRONT_RIGHT, - - /// - /// A top back left speaker will be used. - /// - TopBackLeft = SPEAKER_TOP_BACK_LEFT, - - /// - /// A top back center speaker will be used. - /// - TopBackCenter = SPEAKER_TOP_BACK_CENTER, - - /// - /// A top back right speaker will be used. - /// - TopBackRight = SPEAKER_TOP_BACK_RIGHT, - - /// - /// A reserved speaker will be used. - /// - Reserved = SPEAKER_RESERVED, - - #pragma warning(disable: 4369) - /// - /// All possible speakers will be used. - /// - All = SPEAKER_ALL, - #pragma warning(default: 4369) - - /// - /// A single speaker will be used. - /// - Mono = SPEAKER_MONO, - - /// - /// Two or more speakers will be used. - /// - Stereo = SPEAKER_STEREO, - - /// - /// A combination of speakers will be used that provides 2.1 sound output. - /// - TwoPointOne = SPEAKER_2POINT1, - - /// - /// A combination of speakers will be used that provides surround sound output. - /// - Surround = SPEAKER_SURROUND, - - /// - /// A combination of speakers will be used that provides quadrophonic sound output. - /// - Quadrophonic = SPEAKER_QUAD, - - /// - /// A combination of speakers will be used that provides 4.1 sound output. - /// - FourPointOne = SPEAKER_4POINT1, - - /// - /// A combination of speakers will be used that provides 5.1 sound output. - /// - FivePointOne = SPEAKER_5POINT1, - - /// - /// A combination of speakers will be used that provides 7.1 sound output. - /// - SevenPointOne = SPEAKER_7POINT1, - - /// - /// A combination of speakers will be used that provides 5.1 surround sound output. - /// - FivePointOneSurround = SPEAKER_5POINT1_SURROUND, - - /// - /// A combination of speakers will be used that provides 7.1 surround sound output. - /// - SevenPointOneSurround = SPEAKER_7POINT1_SURROUND, - }; - - #pragma warning(disable: 4369) - public enum class WaveFormatTag : System::Int32 - { - Pcm = WAVE_FORMAT_PCM, - AdPcm = WAVE_FORMAT_ADPCM, - IeeeFloat = WAVE_FORMAT_IEEE_FLOAT, - MpegLayer3 = WAVE_FORMAT_MPEGLAYER3, - DolbyAC3Spdif = WAVE_FORMAT_DOLBY_AC3_SPDIF, - WMAudio2 = WAVE_FORMAT_WMAUDIO2, - WMAudio3 = WAVE_FORMAT_WMAUDIO3, - WmaSpdif = WAVE_FORMAT_WMASPDIF, - Extensible = WAVE_FORMAT_EXTENSIBLE, - }; - #pragma warning(default: 4369) - } -} \ No newline at end of file