CONFIGMG_Recompute_HW_Prof
CONFIGRET CONFIGMG_Recompute_HW_Prof(ULONG ulDock, ULONG ulSerialNo, ULONG ulFlags)
Calculate the current Hardware Profile based on the Docking Station Identifier and the Docking Station Serial ID.
- Returns CR_SUCCESS if the function is successful. Otherwise, the return value can be CR_INVALID_FLAG, CR_FAILURE, CR_NOT_SYSTEM_VM or CR_REGISTRY_ERROR.
- ulDock
- The Docking Station Identifier if the computer is docked, 0 if the computer is undocked.
- ulSerialNo
- The Docking Station Serial Number if the computer is docked, 0 if the computer is undocked.
- ulFlags
- Must be one of the following.
| CM_HW_PROF_UNDOCK |
The computer is undocked. |
| CM_HW_PROF_DOCK |
The computer is docked. |
This function should only be called by a Plug and Play BIOS Enumerator, after a successful dock change.
See Also
CONFIGMG_Set_HW_Prof