CM_DEVCAP_SILENTINSTALL

Hi there!
I’m developing a USB HID device, and I would like to know more infos about CM_DEVCAP_SILENTINSTALL flag. I read all the USB documentation and I did not find any information regarding this flag. Does anybody know where in the device descriptor I change this flag

Thank you so much!

Lucas M. Bracher


Answer this question

CM_DEVCAP_SILENTINSTALL

  • Leon Mayne

    The SetupDiGetDeviceRegistryProperty function retrieves a specified Plug and Play device property.- One of it parameter is property(3rd parameter) of SPDRP_CAPABILITIES (The function retrieves a bitwise OR of the following CM_DEVCAP_Xxx flags in a DWORD. The device capabilities that are represented by these flags correspond to the device capabilities that are represented by the members of the DEVICE_CAPABILITIES structure)
    The CM_DEVCAP_Xxx constants are defined in cfgmgr32.h. Also check Declared in setupapi.h

    Furthermore

    A DEVICE_CAPABILITIES structure describes PnP and power capabilities of a device. This structure is returned in response to an IRP_MN_QUERY_CAPABILITIES IRP.

    and CM_DEVCAP_SILENTINSTALL correspond to --

    SilentInstall
    Specifies whether Device Manager should suppress all installation dialog boxes; except required dialog boxes such as "no compatible drivers found."

    Check these 2 links : http://msdn2.microsoft.com/en-us/library/ms792967.aspx

    http://msdn2.microsoft.com/en-us/library/aa491648.aspx



  • CM_DEVCAP_SILENTINSTALL