Module: wine Branch: master Commit: 3dcac86e5341849f85c3ba22b0786a994fb9f388 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3dcac86e5341849f85c3ba22b0...
Author: Andrew Nguyen arethusa26@gmail.com Date: Mon Dec 29 11:43:00 2008 -0600
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 3db32c0..4d3b3b3 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 d08b4d3..2d06200 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 9a56fd0..e4defc5 100644 --- a/dlls/setupapi/stubs.c +++ b/dlls/setupapi/stubs.c @@ -52,6 +52,15 @@ DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 ) }
/*********************************************************************** + * 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.@) */ CONFIGRET WINAPI CM_Connect_MachineW(PCWSTR name, PHMACHINE machine)