DirectX SDK

CONST_DIENUMDEVICESFLAGS

Members of the CONST_DIENUMDEVICESFLAGS enumeration are used in the flags parameter of the DirectInput.GetDIEnumDevices method to indicate whether all device, or only attached devices, are to be enumerated.

Enum CONST_DIENUMDEVICESFLAGS
    DIEDFL_ALLDEVICES  = 0
    DIEDFL_ATTACHEDONLY = 1
End Enum
DIEDFL_ALLDEVICES
All installed devices will be enumerated. This is the default behavior.
DIEDFL_ATTACHEDONLY
Only attached and installed devices.