Skip to content

Latest commit

 

History

History
104 lines (82 loc) · 3.47 KB

nf-cfgmgr32-cm_get_resource_conflict_detailsa.md

File metadata and controls

104 lines (82 loc) · 3.47 KB
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
apiref
DllExport
Cfgmgr32.lib
Cfgmgr32.dll
CM_Get_Resource_Conflict_DetailsA
CM_Get_Resource_Conflict_Details
CM_Get_Resource_Conflict_DetailsA
cfgmgr32/CM_Get_Resource_Conflict_DetailsA
CM_Get_Resource_Conflict_Details
cfgmgr32/CM_Get_Resource_Conflict_Details
c++

CM_Get_Resource_Conflict_DetailsA function

-description

The CM_Get_Resource_Conflict_Details function obtains the details about one of the resource conflicts in a conflict list.

-parameters

-param clConflictList [in]

Caller-supplied handle to a conflict list, obtained by a previous call to CM_Query_Resource_Conflict_List.

-param ulIndex [in]

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.

-param pConflictDetails [in, out]

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.

-returns

If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.

-remarks

To determine conflicting resource requirements between a specified device and other devices on a machine, use the following steps.

  1. Call CM_Query_Resource_Conflict_List to obtain a handle to a list of resource conflicts.
  2. Call CM_Get_Resource_Conflict_Count to determine the number of conflicts contained in the resource conflict list.
  3. Call CM_Get_Resource_Conflict_Details for each entry in the conflict list.
The following conflicts are typically not reported:
  • 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.
Sometimes, resources assigned to the HAL might be reported as either conflicting with the HAL or not available.