Author: ekohl
Date: Sat Feb 12 23:59:12 2011
New Revision: 50678
URL:
http://svn.reactos.org/svn/reactos?rev=50678&view=rev
Log:
[SETUPAPI]
Add resource descriptor function stubs.
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] Sat Feb 12 23:59:12 2011
@@ -414,6 +414,34 @@
/***********************************************************************
+ * CM_Add_Res_Des [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Add_Res_Des(
+ PRES_DES prdResDes, LOG_CONF lcLogConf, RESOURCEID ResourceID,
+ PCVOID ResourceData, ULONG ResourceLen, ULONG ulFlags)
+{
+ TRACE("%p %p %lu %p %lu %lx\n", prdResDes, lcLogConf, ResourceID,
+ ResourceData, ResourceLen, ulFlags);
+ return CM_Add_Res_Des_Ex(prdResDes, lcLogConf, ResourceID, ResourceData,
+ ResourceLen, ulFlags, NULL);
+}
+
+
+/***********************************************************************
+ * CM_Add_Res_Des_Ex [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Add_Res_Des_Ex(
+ PRES_DES prdResDes, LOG_CONF lcLogConf, RESOURCEID ResourceID,
+ PCVOID ResourceData, ULONG ResourceLen, ULONG ulFlags, HMACHINE hMachine)
+{
+ FIXME("%p %p %lu %p %lu %lx %p\n", prdResDes, lcLogConf, ResourceID,
+ ResourceData, ResourceLen, ulFlags, hMachine);
+
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
* CM_Connect_MachineA [SETUPAPI.@]
*/
CONFIGRET WINAPI CM_Connect_MachineA(
@@ -1169,6 +1197,42 @@
HeapFree(GetProcessHeap(), 0, pLogConfInfo);
return CR_SUCCESS;
+}
+
+
+/***********************************************************************
+ * CM_Free_Res_Des [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Free_Res_Des(
+ PRES_DES prdResDes, RES_DES rdResDes, ULONG ulFlags)
+{
+ TRACE("%p %p %lx\n", prdResDes, rdResDes, ulFlags);
+ return CM_Free_Res_Des_Ex(prdResDes, rdResDes, ulFlags, NULL);
+}
+
+
+/***********************************************************************
+ * CM_Free_Res_Des_Ex [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Free_Res_Des_Ex(
+ PRES_DES prdResDes, RES_DES rdResDes, ULONG ulFlags,
+ HMACHINE hMachine)
+{
+ FIXME("%p %p %lx %lx\n", prdResDes, rdResDes, ulFlags, hMachine);
+
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
+ * CM_Free_Res_Des_Handle [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Free_Res_Des_Handle(
+ RES_DES rdResDes)
+{
+ FIXME("%p\n", rdResDes);
+
+ return CR_CALL_NOT_IMPLEMENTED;
}
@@ -2641,6 +2705,34 @@
/***********************************************************************
+ * CM_Get_Next_Re_Des [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Get_Next_Res_Des(
+ PRES_DES prdResDes, RES_DES rdResDes, RESOURCEID ForResource,
+ PRESOURCEID pResourceID, ULONG ulFlags)
+{
+ TRACE("%p %p %lu %p %lx\n", prdResDes, rdResDes, ForResource,
+ pResourceID, ulFlags);
+ return CM_Get_Next_Res_Des_Ex(prdResDes, rdResDes, ForResource,
+ pResourceID, ulFlags, NULL);
+}
+
+
+/***********************************************************************
+ * CM_Get_Next_Re_Des_Ex [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Get_Next_Res_Des_Ex(
+ PRES_DES prdResDes, RES_DES rdResDes, RESOURCEID ForResource,
+ PRESOURCEID pResourceID, ULONG ulFlags, HMACHINE hMachine)
+{
+ FIXME("%p %p %lu %p %lx %lx\n", prdResDes, rdResDes, ForResource,
+ pResourceID, ulFlags, hMachine);
+
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
* CM_Get_Parent [SETUPAPI.@]
*/
CONFIGRET WINAPI CM_Get_Parent(
@@ -2724,6 +2816,51 @@
*pdnDevInst = dwIndex;
return CR_SUCCESS;
+}
+
+
+/***********************************************************************
+ * CM_Get_Res_Des_Data [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Get_Res_Des_Data(
+ RES_DES rdResDes, PVOID Buffer, ULONG BufferLen, ULONG ulFlags)
+{
+ TRACE("%p %p %l %lx\n", rdResDes, Buffer, BufferLen, ulFlags);
+ return CM_Get_Res_Des_Data_Ex(rdResDes, Buffer, BufferLen, ulFlags, NULL);
+}
+
+
+/***********************************************************************
+ * CM_Get_Res_Des_Data_Ex [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Get_Res_Des_Data_Ex(
+ RES_DES rdResDes, PVOID Buffer, ULONG BufferLen, ULONG ulFlags,
+ HMACHINE hMachine)
+{
+ FIXME("%p %p %l %lx %lx\n", rdResDes, Buffer, BufferLen, ulFlags,
hMachine);
+ return CR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
+ * CM_Get_Res_Des_Size [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Get_Res_Des_Data_Size(
+ PULONG pulSize, RES_DES rdResDes, ULONG ulFlags)
+{
+ TRACE("%p %p %lx\n", pulSize, rdResDes, ulFlags);
+ return CM_Get_Res_Des_Data_Size_Ex(pulSize, rdResDes, ulFlags, NULL);
+}
+
+
+/***********************************************************************
+ * CM_Get_Res_Des_Size_Ex [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Get_Res_Des_Data_Size_Ex(
+ PULONG pulSize, RES_DES rdResDes, ULONG ulFlags, HMACHINE hMachine)
+{
+ TRACE("%p %p %lx %lx\n", pulSize, rdResDes, ulFlags, hMachine);
+ return CR_CALL_NOT_IMPLEMENTED;
}
@@ -3101,6 +3238,33 @@
}
return ret;
+}
+
+
+/***********************************************************************
+ * CM_Modify_Res_Des [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Modify_Res_Des(
+ PRES_DES prdResDes, RES_DES rdResDes, RESOURCEID ResourceID,
+ PCVOID ResourceData, ULONG ResourceLen, ULONG ulFlags)
+{
+ TRACE("%p %p %lx %p %lu %lx", prdResDes, rdResDes, ResourceID,
ResourceData,
+ ResourceLen, ulFlags);
+ return CM_Modify_Res_Des_Ex(prdResDes, rdResDes, ResourceID, ResourceData,
+ ResourceLen, ulFlags, NULL);
+}
+
+
+/***********************************************************************
+ * CM_Modify_Res_Des_Ex [SETUPAPI.@]
+ */
+CONFIGRET WINAPI CM_Modify_Res_Des_Ex(
+ PRES_DES prdResDes, RES_DES rdResDes, RESOURCEID ResourceID, PCVOID ResourceData,
+ ULONG ResourceLen, ULONG ulFlags, HMACHINE hMachine)
+{
+ FIXME("%p %p %lx %p %lu %lx %lx", prdResDes, rdResDes, ResourceID,
ResourceData,
+ ResourceLen, ulFlags, hMachine);
+ return CR_CALL_NOT_IMPLEMENTED;
}
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] Sat Feb 12 23:59:12 2011
@@ -14,8 +14,8 @@
@ stdcall CM_Add_ID_ExA(ptr str long ptr)
@ stdcall CM_Add_ID_ExW(ptr wstr long ptr)
@ stub CM_Add_Range
-@ stub CM_Add_Res_Des
-@ stub CM_Add_Res_Des_Ex
+@ 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)
@ stdcall CM_Connect_MachineW(wstr ptr)
@ stdcall CM_Create_DevNodeA(ptr str long long)
@@ -48,9 +48,9 @@
@ stdcall CM_Free_Log_Conf_Ex(ptr long ptr)
@ stdcall CM_Free_Log_Conf_Handle(ptr)
@ stub CM_Free_Range_List
-@ stub CM_Free_Res_Des
-@ stub CM_Free_Res_Des_Ex
-@ stub CM_Free_Res_Des_Handle
+@ stdcall CM_Free_Res_Des(ptr ptr long)
+@ stdcall CM_Free_Res_Des_Ex(ptr ptr long long)
+@ stdcall CM_Free_Res_Des_Handle(ptr)
@ stub CM_Free_Resource_Conflict_Handle
@ stdcall CM_Get_Child(ptr long long)
@ stdcall CM_Get_Child_Ex(ptr long long long)
@@ -118,14 +118,14 @@
@ stdcall CM_Get_Log_Conf_Priority_Ex(ptr ptr long long)
@ stdcall CM_Get_Next_Log_Conf(ptr ptr long)
@ stdcall CM_Get_Next_Log_Conf_Ex(ptr ptr long long)
-@ stub CM_Get_Next_Res_Des
-@ stub CM_Get_Next_Res_Des_Ex
+@ stdcall CM_Get_Next_Res_Des(ptr ptr long ptr long)
+@ stdcall CM_Get_Next_Res_Des_Ex(ptr ptr long ptr long long)
@ stdcall CM_Get_Parent(ptr long long)
@ stdcall CM_Get_Parent_Ex(ptr long long long)
-@ stub CM_Get_Res_Des_Data
-@ stub CM_Get_Res_Des_Data_Ex
-@ stub CM_Get_Res_Des_Data_Size
-@ stub CM_Get_Res_Des_Data_Size_Ex
+@ stdcall CM_Get_Res_Des_Data(ptr ptr long long)
+@ stdcall CM_Get_Res_Des_Data_Ex(ptr ptr long long long)
+@ stdcall CM_Get_Res_Des_Data_Size(ptr ptr long)
+@ stdcall CM_Get_Res_Des_Data_Size_Ex(ptr ptr long long)
@ stub CM_Get_Resource_Conflict_Count
@ stub CM_Get_Resource_Conflict_DetailsA
@ stub CM_Get_Resource_Conflict_DetailsW
@@ -144,8 +144,8 @@
@ stdcall CM_Locate_DevNode_ExA(ptr str long long)
@ stdcall CM_Locate_DevNode_ExW(ptr wstr long long)
@ stub CM_Merge_Range_List
-@ stub CM_Modify_Res_Des
-@ stub CM_Modify_Res_Des_Ex
+@ 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