UID | tech.root | title | ms.date | targetos | description | req.assembly | req.construct-type | req.ddi-compliance | req.dll | req.header | req.idl | req.include-header | req.irql | req.kmdf-ver | req.lib | req.max-support | req.namespace | req.redist | req.target-min-winverclnt | req.target-min-winversvr | req.target-type | req.type-library | req.umdf-ver | req.unicode-ansi | topic_type | api_type | api_location | api_name | f1_keywords | dev_langs | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:cfgmgr32.CM_Get_Resource_Conflict_DetailsA |
devinst |
CM_Get_Resource_Conflict_DetailsA |
04/13/2021 |
Windows |
The CM_Get_Resource_Conflict_Details function obtains the details about one of the resource conflicts in a conflict list. (ANSI) |
function |
cfgmgr32.h |
Cfgmgr32.h |
Cfgmgr32.lib |
Available in Microsoft Windows 2000 and later versions of Windows. |
Desktop |
|
|
|
|
|
|
The CM_Get_Resource_Conflict_Details function obtains the details about one of the resource conflicts in a conflict list.
Caller-supplied handle to a conflict list, obtained by a previous call to CM_Query_Resource_Conflict_List.
Caller-supplied value used as an index into the conflict list. This value can be from zero to one less than the number returned by CM_Get_Resource_Conflict_Count.
Caller-supplied address of a CONFLICT_DETAILS structure to receive conflict details. The caller must supply values for the structure's CD_ulSize and CD_ulMask structures.
If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.
To determine conflicting resource requirements between a specified device and other devices on a machine, use the following steps.
- Call CM_Query_Resource_Conflict_List to obtain a handle to a list of resource conflicts.
- Call CM_Get_Resource_Conflict_Count to determine the number of conflicts contained in the resource conflict list.
- Call CM_Get_Resource_Conflict_Details for each entry in the conflict list.
- If there are multiple conflicts for a resource, and the owners of only some of the conflicts can be determined, the conflicts without identifiable owners are not reported.
- Conflicts that appear to be with the specified device (that is, the device conflicts with itself) are not reported.
- If multiple non-Plug and Play devices use the same driver, resource conflicts among these devices might not be reported.