CM_Get_Resource_Conflict_Count function

The CM_Get_Resource_Conflict_Count function obtains the number of conflicts contained in a specified resource conflict list.

Syntax

CMAPI CONFIGRET CM_Get_Resource_Conflict_Count(
  CONFLICT_LIST clConflictList,
  PULONG        pulCount
);

Parameters

clConflictList

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

pulCount

Caller-supplied address of a location to receive the conflict count.

Return Value

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

Remarks

The count value obtained by calling CM_Get_Resource_Conflict_Count can be used to determine the number of times to call CM_Get_Resource_Conflict_Details, which supplies information about each conflict.

If there are no entries in the conflict list, the location supplied by pulCount will receive zero.

Requirements

   
Minimum supported client Available in Microsoft Windows 2000 and later versions of Windows.
Target Platform Desktop
Header cfgmgr32.h (include Cfgmgr32.h)
Library Cfgmgr32.lib
DLL Cfgmgr32.dll