https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e5870819a3d6ffac7095d…
commit e5870819a3d6ffac7095d4ceac1eb0587bbf7cf6
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Feb 4 21:02:20 2018 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Feb 4 22:03:17 2018 +0100
[SETUPAPI] Machine handles are pointers.
---
dll/win32/setupapi/setupapi.spec | 136 +++++++++++++++++++--------------------
1 file changed, 68 insertions(+), 68 deletions(-)
diff --git a/dll/win32/setupapi/setupapi.spec b/dll/win32/setupapi/setupapi.spec
index 350df6c76d..a3dab530a7 100644
--- a/dll/win32/setupapi/setupapi.spec
+++ b/dll/win32/setupapi/setupapi.spec
@@ -15,16 +15,16 @@
@ stdcall CM_Add_ID_ExW(ptr wstr long ptr)
@ 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_Add_Res_Des_Ex(ptr ptr long ptr long long ptr)
@ stdcall CM_Connect_MachineA(str ptr)
@ stdcall CM_Connect_MachineW(wstr ptr)
@ stdcall CM_Create_DevNodeA(ptr str long long)
@ stdcall CM_Create_DevNodeW(ptr wstr long long)
-@ stdcall CM_Create_DevNode_ExA(ptr str long long long)
-@ stdcall CM_Create_DevNode_ExW(ptr wstr long long long)
+@ stdcall CM_Create_DevNode_ExA(ptr str long long ptr)
+@ stdcall CM_Create_DevNode_ExW(ptr wstr long long ptr)
@ stdcall CM_Create_Range_List(ptr long)
@ stdcall CM_Delete_Class_Key(ptr long)
-@ stdcall CM_Delete_Class_Key_Ex(ptr long long)
+@ stdcall CM_Delete_Class_Key_Ex(ptr long ptr)
@ stdcall CM_Delete_DevNode_Key(long long long)
@ stdcall CM_Delete_DevNode_Key_Ex(long long long ptr)
@ stdcall CM_Delete_Range(int64 int64 ptr long)
@@ -32,7 +32,7 @@
@ 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)
+@ stdcall CM_Disconnect_Machine(ptr)
@ stdcall CM_Dup_Range_List(ptr ptr long)
@ stdcall CM_Enable_DevNode(long long)
@ stdcall CM_Enable_DevNode_Ex(long long ptr)
@@ -40,8 +40,8 @@
@ stdcall CM_Enumerate_Classes_Ex(long ptr long ptr)
@ stdcall CM_Enumerate_EnumeratorsA(long str ptr long)
@ 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)
+@ stdcall CM_Enumerate_Enumerators_ExA(long str ptr long ptr)
+@ stdcall CM_Enumerate_Enumerators_ExW(long wstr ptr long ptr)
@ 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)
@@ -49,51 +49,51 @@
@ stdcall CM_Free_Log_Conf_Handle(ptr)
@ stdcall CM_Free_Range_List(ptr long)
@ stdcall CM_Free_Res_Des(ptr ptr long)
-@ stdcall CM_Free_Res_Des_Ex(ptr ptr long long)
+@ stdcall CM_Free_Res_Des_Ex(ptr ptr long ptr)
@ 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)
+@ stdcall CM_Get_Child_Ex(ptr long long ptr)
@ stdcall CM_Get_Class_Key_NameA(ptr str ptr long)
@ stdcall CM_Get_Class_Key_NameW(ptr wstr ptr long)
-@ stdcall CM_Get_Class_Key_Name_ExA(ptr str ptr long long)
-@ stdcall CM_Get_Class_Key_Name_ExW(ptr wstr ptr long long)
+@ stdcall CM_Get_Class_Key_Name_ExA(ptr str ptr long ptr)
+@ stdcall CM_Get_Class_Key_Name_ExW(ptr wstr ptr long ptr)
@ stdcall CM_Get_Class_NameA(ptr str ptr long)
@ stdcall CM_Get_Class_NameW(ptr wstr ptr long)
-@ stdcall CM_Get_Class_Name_ExA(ptr str ptr long long)
-@ stdcall CM_Get_Class_Name_ExW(ptr wstr ptr long long)
+@ stdcall CM_Get_Class_Name_ExA(ptr str ptr long ptr)
+@ stdcall CM_Get_Class_Name_ExW(ptr wstr ptr long ptr)
@ stdcall CM_Get_Class_Registry_PropertyA(ptr long ptr ptr ptr long ptr)
@ stdcall CM_Get_Class_Registry_PropertyW(ptr long ptr ptr ptr long ptr)
@ stdcall CM_Get_Depth(ptr long long)
-@ stdcall CM_Get_Depth_Ex(ptr long long long)
+@ stdcall CM_Get_Depth_Ex(ptr long long ptr)
@ stdcall CM_Get_DevNode_Custom_PropertyA(long str ptr ptr ptr long)
@ stdcall CM_Get_DevNode_Custom_PropertyW(long wstr ptr ptr ptr long)
@ stdcall CM_Get_DevNode_Custom_Property_ExA(long str ptr ptr ptr long ptr)
@ stdcall CM_Get_DevNode_Custom_Property_ExW(long wstr ptr ptr ptr long ptr)
@ stdcall CM_Get_DevNode_Registry_PropertyA(long long ptr ptr ptr long)
@ stdcall CM_Get_DevNode_Registry_PropertyW(long long ptr ptr ptr long)
-@ stdcall CM_Get_DevNode_Registry_Property_ExA(long long ptr ptr ptr long long)
-@ stdcall CM_Get_DevNode_Registry_Property_ExW(long long ptr ptr ptr long long)
+@ stdcall CM_Get_DevNode_Registry_Property_ExA(long long ptr ptr ptr long ptr)
+@ stdcall CM_Get_DevNode_Registry_Property_ExW(long long ptr ptr ptr long ptr)
@ stdcall CM_Get_DevNode_Status(ptr ptr long long)
-@ stdcall CM_Get_DevNode_Status_Ex(ptr ptr long long long)
+@ stdcall CM_Get_DevNode_Status_Ex(ptr ptr long long ptr)
@ stdcall CM_Get_Device_IDA(long str long long)
@ stdcall CM_Get_Device_IDW(long wstr long long)
-@ stdcall CM_Get_Device_ID_ExA(long str long long long)
-@ stdcall CM_Get_Device_ID_ExW(long wstr long long long)
+@ stdcall CM_Get_Device_ID_ExA(long str long long ptr)
+@ stdcall CM_Get_Device_ID_ExW(long wstr long long ptr)
@ stdcall CM_Get_Device_ID_ListA(str str long long)
@ stdcall CM_Get_Device_ID_ListW(wstr wstr long long)
-@ stdcall CM_Get_Device_ID_List_ExA(str str long long long)
-@ stdcall CM_Get_Device_ID_List_ExW(wstr wstr long long long)
+@ stdcall CM_Get_Device_ID_List_ExA(str str long long ptr)
+@ stdcall CM_Get_Device_ID_List_ExW(wstr wstr long long ptr)
@ stdcall CM_Get_Device_ID_List_SizeA(ptr str long)
@ stdcall CM_Get_Device_ID_List_SizeW(ptr wstr long)
-@ stdcall CM_Get_Device_ID_List_Size_ExA(ptr str long long)
-@ stdcall CM_Get_Device_ID_List_Size_ExW(ptr wstr long long)
+@ stdcall CM_Get_Device_ID_List_Size_ExA(ptr str long ptr)
+@ stdcall CM_Get_Device_ID_List_Size_ExW(ptr wstr long ptr)
@ stdcall CM_Get_Device_ID_Size(ptr long long)
-@ stdcall CM_Get_Device_ID_Size_Ex(ptr long long long)
+@ stdcall CM_Get_Device_ID_Size_Ex(ptr long long ptr)
@ stdcall CM_Get_Device_Interface_AliasA(str ptr str ptr long)
@ stdcall CM_Get_Device_Interface_AliasW(wstr ptr wstr ptr long)
-@ stdcall CM_Get_Device_Interface_Alias_ExA(str ptr str ptr long long)
-@ stdcall CM_Get_Device_Interface_Alias_ExW(wstr ptr wstr ptr long long)
+@ stdcall CM_Get_Device_Interface_Alias_ExA(str ptr str ptr long ptr)
+@ stdcall CM_Get_Device_Interface_Alias_ExW(wstr ptr wstr ptr long ptr)
@ stdcall CM_Get_Device_Interface_ListA(ptr str str long long)
@ stdcall CM_Get_Device_Interface_ListW(ptr wstr wstr long long)
@ stdcall CM_Get_Device_Interface_List_ExA(ptr str str long long ptr)
@@ -108,105 +108,105 @@
@ stdcall CM_Get_Global_State_Ex(ptr long long)
@ stdcall CM_Get_HW_Prof_FlagsA(str long ptr long)
@ stdcall CM_Get_HW_Prof_FlagsW(wstr long ptr long)
-@ stdcall CM_Get_HW_Prof_Flags_ExA(str long ptr long long)
-@ stdcall CM_Get_HW_Prof_Flags_ExW(wstr long ptr long long)
+@ stdcall CM_Get_HW_Prof_Flags_ExA(str long ptr long ptr)
+@ stdcall CM_Get_HW_Prof_Flags_ExW(wstr long ptr long ptr)
@ stdcall CM_Get_Hardware_Profile_InfoA(long ptr long)
@ stdcall CM_Get_Hardware_Profile_InfoW(long ptr long)
-@ stdcall CM_Get_Hardware_Profile_Info_ExA(long ptr long long)
-@ stdcall CM_Get_Hardware_Profile_Info_ExW(long ptr long long)
+@ stdcall CM_Get_Hardware_Profile_Info_ExA(long ptr long ptr)
+@ stdcall CM_Get_Hardware_Profile_Info_ExW(long ptr long ptr)
@ stdcall CM_Get_Log_Conf_Priority(ptr ptr long)
-@ stdcall CM_Get_Log_Conf_Priority_Ex(ptr ptr long long)
+@ stdcall CM_Get_Log_Conf_Priority_Ex(ptr ptr long ptr)
@ stdcall CM_Get_Next_Log_Conf(ptr ptr long)
-@ stdcall CM_Get_Next_Log_Conf_Ex(ptr ptr long long)
+@ stdcall CM_Get_Next_Log_Conf_Ex(ptr ptr long ptr)
@ 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_Next_Res_Des_Ex(ptr ptr long ptr long ptr)
@ stdcall CM_Get_Parent(ptr long long)
-@ stdcall CM_Get_Parent_Ex(ptr long long long)
+@ stdcall CM_Get_Parent_Ex(ptr long long ptr)
@ 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_Ex(ptr ptr long long ptr)
@ stdcall CM_Get_Res_Des_Data_Size(ptr ptr long)
-@ stdcall CM_Get_Res_Des_Data_Size_Ex(ptr ptr long long)
+@ stdcall CM_Get_Res_Des_Data_Size_Ex(ptr ptr long ptr)
@ stub CM_Get_Resource_Conflict_Count
@ stub CM_Get_Resource_Conflict_DetailsA
@ stub CM_Get_Resource_Conflict_DetailsW
@ stdcall CM_Get_Sibling(ptr long long)
-@ stdcall CM_Get_Sibling_Ex(ptr long long long)
+@ stdcall CM_Get_Sibling_Ex(ptr long long ptr)
@ stdcall CM_Get_Version()
-@ stdcall CM_Get_Version_Ex(long)
+@ stdcall CM_Get_Version_Ex(ptr)
@ 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_Dock_Station_Present_Ex(ptr ptr)
@ stdcall CM_Is_Version_Available(long)
-@ stdcall CM_Is_Version_Available_Ex(long long)
+@ stdcall CM_Is_Version_Available_Ex(long ptr)
@ stdcall CM_Locate_DevNodeA(ptr str long)
@ 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)
+@ stdcall CM_Locate_DevNode_ExA(ptr str long ptr)
+@ stdcall CM_Locate_DevNode_ExW(ptr wstr long ptr)
@ 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_Modify_Res_Des_Ex(ptr ptr long ptr long long ptr)
@ stdcall CM_Move_DevNode(long long long)
-@ stdcall CM_Move_DevNode_Ex(long long long long)
+@ stdcall CM_Move_DevNode_Ex(long long long ptr)
@ 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)
-@ stdcall CM_Open_Class_Key_ExW(ptr wstr long long ptr long long)
+@ stdcall CM_Open_Class_Key_ExA(ptr str long long ptr long ptr)
+@ stdcall CM_Open_Class_Key_ExW(ptr wstr long long ptr long ptr)
@ stdcall CM_Open_DevNode_Key(ptr long long long ptr long)
-@ stdcall CM_Open_DevNode_Key_Ex(ptr long long long ptr long long)
+@ stdcall CM_Open_DevNode_Key_Ex(ptr long long long ptr long ptr)
@ stdcall CM_Query_And_Remove_SubTreeA(long ptr str long long)
@ stdcall CM_Query_And_Remove_SubTreeW(long ptr wstr long long)
-@ stdcall CM_Query_And_Remove_SubTree_ExA(long ptr str long long long)
-@ stdcall CM_Query_And_Remove_SubTree_ExW(long ptr wstr long long long)
+@ stdcall CM_Query_And_Remove_SubTree_ExA(long ptr str long long ptr)
+@ stdcall CM_Query_And_Remove_SubTree_ExW(long ptr wstr long long ptr)
@ stdcall CM_Query_Arbitrator_Free_Data(ptr long long long long)
@ stdcall CM_Query_Arbitrator_Free_Data_Ex(ptr long long long long ptr)
@ stdcall CM_Query_Arbitrator_Free_Size(ptr long long long)
@ stdcall CM_Query_Arbitrator_Free_Size_Ex(ptr long long long ptr)
@ stdcall CM_Query_Remove_SubTree(long long)
-@ stdcall CM_Query_Remove_SubTree_Ex(long long long)
+@ stdcall CM_Query_Remove_SubTree_Ex(long long ptr)
@ stub CM_Query_Resource_Conflict_List
@ stdcall CM_Reenumerate_DevNode(long long)
-@ stdcall CM_Reenumerate_DevNode_Ex(long long long)
+@ stdcall CM_Reenumerate_DevNode_Ex(long long ptr)
@ stdcall CM_Register_Device_Driver(long long)
@ stdcall CM_Register_Device_Driver_Ex(long long ptr)
@ stdcall CM_Register_Device_InterfaceA(long ptr str str ptr long)
@ stdcall CM_Register_Device_InterfaceW(long ptr wstr wstr ptr long)
-@ stdcall CM_Register_Device_Interface_ExA(long ptr str str ptr long long)
-@ stdcall CM_Register_Device_Interface_ExW(long ptr wstr wstr ptr long long)
+@ stdcall CM_Register_Device_Interface_ExA(long ptr str str ptr long ptr)
+@ stdcall CM_Register_Device_Interface_ExW(long ptr wstr wstr ptr long ptr)
@ stdcall CM_Remove_SubTree(long long)
-@ stdcall CM_Remove_SubTree_Ex(long long long)
+@ stdcall CM_Remove_SubTree_Ex(long long ptr)
@ stdcall CM_Request_Device_EjectA(long ptr str long long)
@ stdcall CM_Request_Device_EjectW(long ptr wstr long long)
-@ stdcall CM_Request_Device_Eject_ExA(long ptr str long long long)
-@ stdcall CM_Request_Device_Eject_ExW(long ptr wstr long long long)
+@ stdcall CM_Request_Device_Eject_ExA(long ptr str long long ptr)
+@ stdcall CM_Request_Device_Eject_ExW(long ptr wstr long long ptr)
@ stdcall CM_Request_Eject_PC()
-@ stdcall CM_Request_Eject_PC_Ex(long)
+@ stdcall CM_Request_Eject_PC_Ex(ptr)
@ stdcall CM_Run_Detection(long)
-@ stdcall CM_Run_Detection_Ex(long long)
+@ stdcall CM_Run_Detection_Ex(long ptr)
@ stdcall CM_Set_Class_Registry_PropertyA(ptr long ptr long long ptr)
@ stdcall CM_Set_Class_Registry_PropertyW(ptr long ptr long long ptr)
@ stdcall CM_Set_DevNode_Problem(long long long)
-@ stdcall CM_Set_DevNode_Problem_Ex(long long long long)
+@ stdcall CM_Set_DevNode_Problem_Ex(long long long ptr)
@ stdcall CM_Set_DevNode_Registry_PropertyA(long long ptr long long)
@ stdcall CM_Set_DevNode_Registry_PropertyW(long long ptr long long)
-@ stdcall CM_Set_DevNode_Registry_Property_ExA(long long ptr long long long)
-@ stdcall CM_Set_DevNode_Registry_Property_ExW(long long ptr long long long)
+@ stdcall CM_Set_DevNode_Registry_Property_ExA(long long ptr long long ptr)
+@ stdcall CM_Set_DevNode_Registry_Property_ExW(long long ptr long long ptr)
@ stdcall CM_Set_HW_Prof(long long)
-@ stdcall CM_Set_HW_Prof_Ex(long long long)
+@ stdcall CM_Set_HW_Prof_Ex(long long ptr)
@ stdcall CM_Set_HW_Prof_FlagsA(str long long long)
@ stdcall CM_Set_HW_Prof_FlagsW(wstr long long long)
-@ stdcall CM_Set_HW_Prof_Flags_ExA(str long long long long)
-@ stdcall CM_Set_HW_Prof_Flags_ExW(wstr long long long long)
+@ stdcall CM_Set_HW_Prof_Flags_ExA(str long long long ptr)
+@ stdcall CM_Set_HW_Prof_Flags_ExW(wstr long long long ptr)
@ stdcall CM_Setup_DevNode(long long)
-@ stdcall CM_Setup_DevNode_Ex(long long long)
+@ stdcall CM_Setup_DevNode_Ex(long long ptr)
@ 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_Uninstall_DevNode_Ex(long long ptr)
@ stdcall CM_Unregister_Device_InterfaceA(str long)
@ stdcall CM_Unregister_Device_InterfaceW(wstr long)
-@ stdcall CM_Unregister_Device_Interface_ExA(str long long)
-@ stdcall CM_Unregister_Device_Interface_ExW(wstr long long)
+@ stdcall CM_Unregister_Device_Interface_ExA(str long ptr)
+@ stdcall CM_Unregister_Device_Interface_ExW(wstr long ptr)
@ stdcall DoesUserHavePrivilege(wstr)
@ stub ExtensionPropSheetPageProc
@ stdcall InstallCatalog(str str ptr)