Author: ekohl
Date: Wed Aug 16 14:18:42 2017
New Revision: 75568
URL:
http://svn.reactos.org/svn/reactos?rev=75568&view=rev
Log:
[SETUPAPI]
Add stubs for the remaining range list functions.
Modified:
trunk/reactos/dll/win32/setupapi/cfgmgr.c
trunk/reactos/dll/win32/setupapi/setupapi.spec
Modified: trunk/reactos/dll/win32/setupapi/cfgmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/cfgmgr.…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/cfgmgr.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/cfgmgr.c [iso-8859-1] Wed Aug 16 14:18:42 2017
@@ -735,6 +735,23 @@
/***********************************************************************
+ * CM_Add_Range [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Add_Range(
+ _In_ DWORDLONG ullStartValue,
+ _In_ DWORDLONG ullEndValue,
+ _In_ RANGE_LIST rlh,
+ _In_ ULONG ulFlags)
+{
+ FIXME("CM_Add_Range(%I64u %I64u %p %lx)\n",
+ ullStartValue, ullEndValue, rlh, ulFlags);
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
* CM_Add_Res_Des [SETUPAPI.@]
*/
CONFIGRET WINAPI CM_Add_Res_Des(
@@ -1105,6 +1122,23 @@
/***********************************************************************
+ * CM_Delete_Range [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Delete_Range(
+ _In_ DWORDLONG ullStartValue,
+ _In_ DWORDLONG ullEndValue,
+ _In_ RANGE_LIST rlh,
+ _In_ ULONG ulFlags)
+{
+ FIXME("CM_Delete_Range(%I64u %I64u %p %lx)\n",
+ ullStartValue, ullEndValue, rlh, ulFlags);
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
* CM_Disable_DevNode [SETUPAPI.@]
*/
CONFIGRET WINAPI CM_Disable_DevNode(
@@ -1200,6 +1234,22 @@
HeapFree(GetProcessHeap(), 0, pMachine);
return CR_SUCCESS;
+}
+
+
+/***********************************************************************
+ * CM_Dup_Range_List [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Dup_Range_List(
+ _In_ RANGE_LIST rlhOld,
+ _In_ RANGE_LIST rlhNew,
+ _In_ ULONG ulFlags)
+{
+ FIXME("CM_Dup_Range_List(%p %p %lx)\n",
+ rlhOld, rlhNew, ulFlags);
+ return CR_CALL_NOT_IMPLEMENTED;
}
@@ -1466,6 +1516,44 @@
RpcEndExcept;
return ret;
+}
+
+
+/***********************************************************************
+ * CM_Find_Range [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Find_Range(
+ _Out_ PDWORDLONG pullStart,
+ _In_ DWORDLONG ullStart,
+ _In_ ULONG ulLength,
+ _In_ DWORDLONG ullAlignment,
+ _In_ DWORDLONG ullEnd,
+ _In_ RANGE_LIST rlh,
+ _In_ ULONG ulFlags)
+{
+ FIXME("CM_Find_Range(%p %I64u %lu %I64u %I64u %p %lx)\n",
+ pullStart, ullStart, ulLength, ullAlignment, ullEnd, rlh, ulFlags);
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
+ * CM_First_Range [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_First_Range(
+ _In_ RANGE_LIST rlh,
+ _Out_ PDWORDLONG pullStart,
+ _Out_ PDWORDLONG pullEnd,
+ _Out_ PRANGE_ELEMENT preElement,
+ _In_ ULONG ulFlags)
+{
+ FIXME("CM_First_Range(%p %p %p %p %lx)\n",
+ rlh, pullStart, pullEnd, preElement, ulFlags);
+ return CR_CALL_NOT_IMPLEMENTED;
}
@@ -4193,6 +4281,40 @@
/***********************************************************************
+ * CM_Intersect_Range_List [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Intersect_Range_List(
+ _In_ RANGE_LIST rlhOld1,
+ _In_ RANGE_LIST rlhOld2,
+ _In_ RANGE_LIST rlhNew,
+ _In_ ULONG ulFlags)
+{
+ FIXME("CM_Intersect_Range_List(%p %p %p %lx)\n",
+ rlhOld1, rlhOld2, rlhNew, ulFlags);
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
+ * CM_Invert_Range_List [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Invert_Range_List(
+ _In_ RANGE_LIST rlhOld,
+ _In_ RANGE_LIST rlhNew,
+ _In_ DWORDLONG ullMaxValue,
+ _In_ ULONG ulFlags)
+{
+ FIXME("CM_Invert_Range_List(%p %p %I64u %lx)\n",
+ rlhOld, rlhNew, ullMaxValue, ulFlags);
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
* CM_Is_Dock_Station_Present [SETUPAPI.@]
*/
CONFIGRET WINAPI CM_Is_Dock_Station_Present(
@@ -4433,6 +4555,23 @@
/***********************************************************************
+ * CM_Merge_Range_List [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Merge_Range_List(
+ _In_ RANGE_LIST rlhOld1,
+ _In_ RANGE_LIST rlhOld2,
+ _In_ RANGE_LIST rlhNew,
+ _In_ ULONG ulFlags)
+{
+ FIXME("CM_Merge_Range_List(%p %p %p %lx)\n",
+ rlhOld1, rlhOld2, rlhNew, ulFlags);
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
* CM_Modify_Res_Des [SETUPAPI.@]
*/
CONFIGRET WINAPI CM_Modify_Res_Des(
@@ -4534,6 +4673,23 @@
RpcEndExcept;
return ret;
+}
+
+
+/***********************************************************************
+ * CM_Next_Range [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Next_Range(
+ _Inout_ PRANGE_ELEMENT preElement,
+ _Out_ PDWORDLONG pullStart,
+ _Out_ PDWORDLONG pullEnd,
+ _In_ ULONG ulFlags)
+{
+ FIXME("CM_Next_Range(%p %p %p %lx)\n",
+ preElement, pullStart, pullEnd, ulFlags);
+ return CR_CALL_NOT_IMPLEMENTED;
}
@@ -6110,6 +6266,23 @@
/***********************************************************************
+ * CM_Test_Range_Available [SETUPAPI.@]
+ */
+CONFIGRET
+WINAPI
+CM_Test_Range_Available(
+ _In_ DWORDLONG ullStartValue,
+ _In_ DWORDLONG ullEndValue,
+ _In_ RANGE_LIST rlh,
+ _In_ ULONG ulFlags)
+{
+ FIXME("CM_Test_Range_Available(%I64u %I64u %p %lx)\n",
+ ullStartValue, ullEndValue, rlh, ulFlags);
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
* CM_Uninstall_DevNode [SETUPAPI.@]
*/
CONFIGRET WINAPI CM_Uninstall_DevNode(
Modified: trunk/reactos/dll/win32/setupapi/setupapi.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/setupap…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/setupapi.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/setupapi.spec [iso-8859-1] Wed Aug 16 14:18:42 2017
@@ -13,7 +13,7 @@
@ stdcall CM_Add_IDW(ptr wstr long)
@ stdcall CM_Add_ID_ExA(ptr str long ptr)
@ stdcall CM_Add_ID_ExW(ptr wstr long ptr)
-@ stub CM_Add_Range
+@ stdcall CM_Add_Range(int64 int64 ptr long)
@ stdcall CM_Add_Res_Des(ptr ptr long ptr long long)
@ stdcall CM_Add_Res_Des_Ex(ptr ptr long ptr long long long)
@ stdcall CM_Connect_MachineA(str ptr)
@@ -27,13 +27,13 @@
@ stdcall CM_Delete_Class_Key_Ex(ptr long long)
@ stdcall CM_Delete_DevNode_Key(long long long)
@ stdcall CM_Delete_DevNode_Key_Ex(long long long ptr)
-@ stub CM_Delete_Range
+@ stdcall CM_Delete_Range(int64 int64 ptr long)
@ stub CM_Detect_Resource_Conflict
@ stub CM_Detect_Resource_Conflict_Ex
@ stdcall CM_Disable_DevNode(long long)
@ stdcall CM_Disable_DevNode_Ex(long long ptr)
@ stdcall CM_Disconnect_Machine(long)
-@ stub CM_Dup_Range_List
+@ stdcall CM_Dup_Range_List(ptr ptr long)
@ stdcall CM_Enable_DevNode(long long)
@ stdcall CM_Enable_DevNode_Ex(long long ptr)
@ stdcall CM_Enumerate_Classes(long ptr long)
@@ -42,8 +42,8 @@
@ stdcall CM_Enumerate_EnumeratorsW(long wstr ptr long)
@ stdcall CM_Enumerate_Enumerators_ExA(long str ptr long long)
@ stdcall CM_Enumerate_Enumerators_ExW(long wstr ptr long long)
-@ stub CM_Find_Range
-@ stub CM_First_Range
+@ stdcall CM_Find_Range(ptr int64 long int64 int64 ptr long)
+@ stdcall CM_First_Range(ptr ptr ptr ptr long)
@ stdcall CM_Free_Log_Conf(ptr long)
@ stdcall CM_Free_Log_Conf_Ex(ptr long ptr)
@ stdcall CM_Free_Log_Conf_Handle(ptr)
@@ -133,8 +133,8 @@
@ stdcall CM_Get_Sibling_Ex(ptr long long long)
@ stdcall CM_Get_Version()
@ stdcall CM_Get_Version_Ex(long)
-@ stub CM_Intersect_Range_List
-@ stub CM_Invert_Range_List
+@ stdcall CM_Intersect_Range_List(ptr ptr ptr long)
+@ stdcall CM_Invert_Range_List(ptr ptr int64 long)
@ stdcall CM_Is_Dock_Station_Present(ptr)
@ stdcall CM_Is_Dock_Station_Present_Ex(ptr long)
@ stdcall CM_Is_Version_Available(long)
@@ -143,12 +143,12 @@
@ stdcall CM_Locate_DevNodeW(ptr wstr long)
@ stdcall CM_Locate_DevNode_ExA(ptr str long long)
@ stdcall CM_Locate_DevNode_ExW(ptr wstr long long)
-@ stub CM_Merge_Range_List
+@ stdcall CM_Merge_Range_List(ptr ptr ptr long)
@ stdcall CM_Modify_Res_Des(ptr ptr long ptr long long)
@ stdcall CM_Modify_Res_Des_Ex(ptr ptr long ptr long long long)
@ stdcall CM_Move_DevNode(long long long)
@ stdcall CM_Move_DevNode_Ex(long long long long)
-@ stub CM_Next_Range
+@ stdcall CM_Next_Range(ptr ptr ptr long)
@ stdcall CM_Open_Class_KeyA(ptr str long long ptr long)
@ stdcall CM_Open_Class_KeyW(ptr wstr long long ptr long)
@ stdcall CM_Open_Class_Key_ExA(ptr str long long ptr long long)
@@ -200,7 +200,7 @@
@ stdcall CM_Set_HW_Prof_Flags_ExW(wstr long long long long)
@ stdcall CM_Setup_DevNode(long long)
@ stdcall CM_Setup_DevNode_Ex(long long long)
-@ stub CM_Test_Range_Available
+@ stdcall CM_Test_Range_Available(int64 int64 ptr long)
@ stdcall CM_Uninstall_DevNode(long long)
@ stdcall CM_Uninstall_DevNode_Ex(long long long)
@ stdcall CM_Unregister_Device_InterfaceA(str long)