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
WINAPI CM_Get_Resource_Conflict_Count(
  _In_  CONFLICT_LIST clConflictList,
  _Out_ PULONG        pulCount
);

Parameters

clConflictList [in]

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

pulCount [out]

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

Target platform

Desktop

Version

Available in Microsoft Windows 2000 and later versions of Windows.

Header

Cfgmgr32.h (include Cfgmgr32.h)

Library

Cfgmgr32.lib

DLL

Cfgmgr32.dll

 

 

Send comments about this topic to Microsoft

Show: