CONFIGMG_Add_Range
CONFIGRET CONFIGMG_Add_Range(ULONG ulStartValue, ULONG ulEndValue, RANGE_LIST rlh, ULONG ulFlags)
Adds a memory range to a range list.
- Returns CR_SUCCESS if the function is successful. Otherwise, the return value can be CR_FAILURE, CR_INVALID_FLAG, CR_INVALID_RANGE, CR_INVALID_RANGE_LIST or CR_OUT_OF_MEMORY
- ulStartValue
- Low end of the range.
- ulEndValue
- High end of the range.
- rlh
- Handle of a range list.
- ulFlags
- Flags specifying options for memory ranges that conflict with ranges already in the list. This parameter must be one of the following values.
CM_ADD_RANGE_ADDIFCONFLICT |
New range is merged with the ranges it conflicts with. |
CM_ADD_RANGE_DONOTADDIFCONFLICT |
Function returns CR_FAILURE if there is a conflict. |
See Also
CONFIGMG_Delete_Range, CONFIGMG_Delete_Range