CONFIGMG_Free_Res_Des
CONFIGRET CONFIGMG_Free_Res_Des(PRES_DES prdResDes, RES_DES rdResDes, ULONG ulFlags)
Destroys a resource descriptor.
- Returns CR_SUCCESS if the function is successful. Otherwise, the return value can be CR_INVALID_FLAG, CR_INVALID_POINTER, CR_INVALID_RES_DES, CR_INVALID_DEVNODE or CR_NO_MORE_RES_DES.
- prdResDes
- Address that receives the handle of the previous resource descriptor. If rdResDes is the handle of the first resource descriptor, this address receives the handle of the logical configuration.
- rdResDes
- Handle of the resource descriptor to be destroyed.
- ulFlags
- Must be zero.
This function returns CR_NO_MORE_RES_DES if rdResDes specifies the last resource descriptor.
See Also
CONFIGMG_Add_Res_Des