https://git.reactos.org/?p=reactos.git;a=commitdiff;h=d1c376f37d5263743f4e1…
commit d1c376f37d5263743f4e1e6052af1fd143defb0e
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun May 20 11:35:43 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun May 20 11:48:39 2018 +0200
[SETUPAPI] Implement CM_Get_Resource_Conflict_Count and add stubs for
CM_Get_Resource_Conflict_DetailsA/W
---
dll/win32/setupapi/cfgmgr.c | 61 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
diff --git a/dll/win32/setupapi/cfgmgr.c b/dll/win32/setupapi/cfgmgr.c
index 80b87e902d..5d2f8cda45 100644
--- a/dll/win32/setupapi/cfgmgr.c
+++ b/dll/win32/setupapi/cfgmgr.c
@@ -5157,6 +5157,67 @@ CM_Get_Res_Des_Data_Size_Ex(
}
+/***********************************************************************
+ * CM_Get_Resource_Conflict_Count [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Get_Resource_Conflict_Count(
+ _In_ CONFLICT_LIST clConflictList,
+ _Out_ PULONG pulCount)
+{
+ PCONFLICT_DATA pConflictData;
+
+ FIXME("CM_Get_Resource_Conflict_Count(%p %p)\n",
+ clConflictList, pulCount);
+
+ pConflictData = (PCONFLICT_DATA)clConflictList;
+ if (!IsValidConflictData(pConflictData))
+ return CR_INVALID_CONFLICT_LIST;
+
+ if (pulCount == NULL)
+ return CR_INVALID_POINTER;
+
+ *pulCount = pConflictData->pConflictList->ConflictsListed;
+
+ return CR_SUCCESS;
+}
+
+
+/***********************************************************************
+ * CM_Get_Resource_Conflict_DetailsA [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Get_Resource_Conflict_DetailsA(
+ _In_ CONFLICT_LIST clConflictList,
+ _In_ ULONG ulIndex,
+ _Inout_ PCONFLICT_DETAILS_A pConflictDetails)
+{
+ FIXME("CM_Get_Resource_Conflict_CountA(%p %lu %p)\n",
+ clConflictList, ulIndex, pConflictDetails);
+
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
+ * CM_Get_Resource_Conflict_DetailsW [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Get_Resource_Conflict_DetailsW(
+ _In_ CONFLICT_LIST clConflictList,
+ _In_ ULONG ulIndex,
+ _Inout_ PCONFLICT_DETAILS_W pConflictDetails)
+{
+ FIXME("CM_Get_Resource_Conflict_CountW(%p %lu %p)\n",
+ clConflictList, ulIndex, pConflictDetails);
+
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
/***********************************************************************
* CM_Get_Sibling [SETUPAPI.@]
*/