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