CONFIGMG_Set_HW_Prof


CONFIGRET CONFIGMG_Set_HW_Prof(ULONG ulConfig, ULONG ulFlags)

Set the current Hardware Profile.

ulConfig

The current hardware profile number.

ulFlags

Must be zero.

This function updates the HKEY_CURRENT_CONFIG predefined key in the registry, broadcasts a DBT_CONFIGCHANGED message, and reenumerates the Root devnode. It should only be called by the configuration manager and the control panel.

See also CONFIGMG_Recompute_HW_Prof