cfgmgr32: Forward and stub CM_Connect_MachineA.
authorAndrew Nguyen <arethusa26@gmail.com>
Mon, 29 Dec 2008 17:43:00 +0000 (11:43 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 30 Dec 2008 10:37:03 +0000 (11:37 +0100)
dlls/cfgmgr32/cfgmgr32.spec
dlls/setupapi/setupapi.spec
dlls/setupapi/stubs.c

index 3db32c0ad5d8a63ea8d0b68cd7c77b07f9be172c..4d3b3b344a9cb7cac8ae8a4d73a39a66f2410f2d 100644 (file)
@@ -7,7 +7,7 @@
 @ stub CM_Add_Range
 @ stub CM_Add_Res_Des
 @ stub CM_Add_Res_Des_Ex
-@ stub CM_Connect_MachineA
+@ stdcall CM_Connect_MachineA(str ptr) setupapi.CM_Connect_MachineA
 @ stdcall CM_Connect_MachineW(wstr ptr) setupapi.CM_Connect_MachineW
 @ stub CM_Create_DevNodeA
 @ stub CM_Create_DevNodeW
index d08b4d30d7768863794cf387cc645d9478eb1e66..2d062000e123d8272a649df7093f52fb4070aa25 100644 (file)
@@ -18,7 +18,7 @@
 @ stub CM_Add_Range
 @ stub CM_Add_Res_Des
 @ stub CM_Add_Res_Des_Ex
-@ stub CM_Connect_MachineA
+@ stdcall CM_Connect_MachineA(str ptr)
 @ stdcall CM_Connect_MachineW(wstr ptr)
 @ stub CM_Create_DevNodeA
 @ stub CM_Create_DevNodeW
index 9a56fd0c8ddf59d0c8299ddc952a72b8f914cdab..e4defc53bb1b19a0dfda9a405f7c0a9b9e13d429 100644 (file)
@@ -51,6 +51,15 @@ DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
     return 0;
 }
 
+/***********************************************************************
+ *              CM_Connect_MachineA  (SETUPAPI.@)
+ */
+CONFIGRET WINAPI CM_Connect_MachineA(PCSTR name, PHMACHINE machine)
+{
+  FIXME("(%s %p) stub\n", name, machine);
+  return CR_ACCESS_DENIED;
+}
+
 /***********************************************************************
  *             CM_Connect_MachineW  (SETUPAPI.@)
  */