The application is requesting an exclusive access to the device. If the exclusive access is authorized, no other instance of the device can get an exclusive access to the device while it is acquired. Note that non-exclusive access to the input device is always authorized, even when another application has an exclusive access. In exclusive mode, an application that acquires the mouse or keyboard device must unacquire the input device when it receives a windows event message WM_ENTERSIZEMOVE or WM_ENTERMENULOOP. Otherwise, the user won't be able to access to the menu or move and resize the window. The application is requesting a non-exclusive access to the device. There is no interference even if another application is using the same device. The application is requesting a foreground access to the device. If the foreground access is authorized and the associated window moves to the background, the device is automatically unacquired. The application is requesting a background access to the device. If background access is authorized, the device can be acquired even when the associated window is not the active window. The application is requesting to disable the Windows logo key effect. When this flag is set, the user cannot perturbate the application. However, when the default action mapping UI is displayed, the Windows logo key is operating as long as that UI is opened. Consequently, this flag has no effect in this situation. Requests the cooperative level for this instance of the inpute device. The cooperative level determines how this instance of the device interacts with other instances of the device and the rest of the system. Window handle to be associated with the device. This parameter must be a valid top-level window handle that belongs to the process. The window associated with the device must not be destroyed while it is still active in a DirectInput device.Flags that specify the cooperative level to associate with the input device.If the method succeeds, the return value is . If the method fails, a is raised with the following error code values: , , . Applications cannot specify and at the same time. This apply as well to and . When the mouse is acquired with exclusive access, the mouse pointer is removed from the screen until the device is unacquired. Applications that select the background exclusive mode cooperative level are not guaranteed to retain access to the device if another application requests exclusive access. When a background exclusive mode application loses access, calls to DirectInput device methods will fail and return . The application can regain access to the device by manually unacquiring the device and reaquiring it. Applications must call this method before acquiring the device by using the method. Flags that specify the cooperative level to associate with the input device. This flag is used by method. Flags describing other attributes of the . Flags describing other attributes of the data format. The axes are specified in relative mode. Specifying this flag in equals to manually setting the axis mode property using the property on the . Usage of this flag is exclusive with flag. The axes are specified in absolute mode. Specifying this flag in equals to manually setting the axis mode property, using the property on the . xUsage of this flag is exclusive with flag. Device Axis mode. This flag is used by the property on the . The axes are specified in absolute mode for the whole device. The axes are specified in relative mode for the whole device. Device class filter used by method. All devices. All devices that do not fall into another class. All devices of type and . All keyboards. Equivalent to . All game controllers. Flags that refine the scope of the enumeration used by and methods. All installed devices are enumerated. This is the default behavior. Only attached and installed devices. Only devices that support force feedback. Include devices that are aliases for other devices. Include hidden devices. For more information about hidden devices, see . Include phantom (placeholder) devices. Flags associated with the device. Fictitious device created by a device driver so that it can generate keyboard and mouse events. Such devices are not normally returned by . The device is a alias to another DirectInput device. Alias devices are by default not returned by . The device supports deadband for at least one force-feedback condition. Placeholder. Phantom devices are by default not enumerated by . At least one object on the device is polled, rather than interrupt-driven. For these objects, the application must explicitly call the Interface method to obtain data. HID devices can contain a mixture of polled and nonpolled objects. The device is physically attached to the user's computer. If this flag is set, the data is coming from a user mode device interface, such as a Human Interface Device (human interface device), or by some other ring 3 means. If it is not set, the data is coming directly from a kernel mode driver. At least one object in the current data format is polled, rather than interrupt-driven. For these objects, the application must explicitly call the Interface method to obtain data. The device supports force feedback. The force-feedback system supports the attack parameter for at least one effect. If the device does not support attack, the attack level and attack time members of the structure are ignored by the device. After a call to the method, an individual effect sets the flag if attack is supported for that effect. The force-feedback system supports the fade parameter for at least one effect. If the device does not support fade, the fade level and fade time members of the structure are ignored by the device. After a call to the method, an individual effect sets the flag if fade is supported for that effect. The force-feedback system supports two coefficient values for conditions (one for the positive displacement of the axis and one for the negative displacement of the axis) for at least one condition. If the device does not support both coefficients, the negative coefficient in the structure is ignored. After a call to the method, an individual condition sets the flag if separate positive and negative coefficients are supported for that condition. The force-feedback system supports a maximum saturation for both positive and negative force output for at least one condition. If the device does not support both saturation values, the negative saturation in the structure is ignored. After a call to the IDirectInputDevice8::GetEffectInfo method, an individual condition sets the flag if separate positive and negative saturation are supported for that condition. The force-feedback system supports the saturation of condition effects for at least one condition. If the device does not support saturation, the force generated by a condition is limited only by the maximum force that the device can generate. After a call to the method, an individual condition sets the flag if saturation is supported for that condition. The force-feedback system supports the start delay parameter for at least one effect. If the device does not support start delays, the member of the structure is ignored. An absolute axis. Controls identified by a Human Interface Device alias. This flag applies only to HID-compliant USB devices. All objects. An axis, either absolute or relative. A push button or a toggle button. An object that contains a force-feedback actuator. In other words, forces can be applied to this object. A HID link collection. HID link collections do not generate data of their own. An object that can be used to trigger force-feedback effects. A point-of-view controller. An object that does not generate any data. An object that supports output. Not supported. A push button. A push button is reported as down when the user presses it, and as up when the user releases it. A relative axis. A toggle button. A toggle button is reported as down when the user presses it and remains so until the user presses the button a second time. Specify that this type is optional. An object of a type defined by the manufacturer. Any instance mask. First-person action game device. The following subtypes are defined.