diff --git a/dlls/cfgmgr32/cfgmgr32.spec b/dlls/cfgmgr32/cfgmgr32.spec index 3db32c0ad5d..4d3b3b344a9 100644 --- a/dlls/cfgmgr32/cfgmgr32.spec +++ b/dlls/cfgmgr32/cfgmgr32.spec @@ -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 diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index d08b4d30d77..2d062000e12 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -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 diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c index 9a56fd0c8dd..e4defc53bb1 100644 --- a/dlls/setupapi/stubs.c +++ b/dlls/setupapi/stubs.c @@ -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.@) */