From 3dcac86e5341849f85c3ba22b0786a994fb9f388 Mon Sep 17 00:00:00 2001 From: Andrew Nguyen Date: Mon, 29 Dec 2008 11:43:00 -0600 Subject: [PATCH] cfgmgr32: Forward and stub CM_Connect_MachineA. --- dlls/cfgmgr32/cfgmgr32.spec | 2 +- dlls/setupapi/setupapi.spec | 2 +- dlls/setupapi/stubs.c | 9 +++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/dlls/cfgmgr32/cfgmgr32.spec b/dlls/cfgmgr32/cfgmgr32.spec index 3db32c0ad5..4d3b3b344a 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 d08b4d30d7..2d062000e1 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 9a56fd0c8d..e4defc53bb 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.@) */ -- 2.32.0.93.g670b81a890