From 5eb88a08a2a053e9a2cc78e3b0e179d43d39d05a Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Wed, 2 Apr 2003 23:19:14 +0000 Subject: [PATCH] Added some stubs. --- dlls/setupapi/setupapi.spec | 3 ++- dlls/setupapi/stubs.c | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index 4985032b26e..28e6e1bbcf0 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -27,7 +27,7 @@ @ stub GetSetFileTimestamp @ stub GetVersionInfoFromImage @ stub InfIsFromOemLocation -@ stub InstallHinfSection +@ stdcall InstallHinfSection(long long str long) @ stub InstallHinfSectionA @ stub InstallHinfSectionW @ stub InstallStop @@ -68,6 +68,7 @@ @ stdcall SetupCommitFileQueueW(long long ptr ptr) @ stub SetupCopyErrorA @ stub SetupCopyErrorW +@ stdcall SetupCopyOEMInfA(str str long long ptr long ptr ptr) @ stub SetupCopyOEMInfW @ stub SetupCreateDiskSpaceListA @ stub SetupCreateDiskSpaceListW diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c index 4cd9710c8a1..7619f526699 100644 --- a/dlls/setupapi/stubs.c +++ b/dlls/setupapi/stubs.c @@ -161,3 +161,23 @@ DWORD WINAPI CM_Disconnect_Machine(DWORD handle) return CR_SUCCESS; } + +/*********************************************************************** + * SetupCopyOEMInfA (SETUPAPI.@) + */ +BOOL WINAPI SetupCopyOEMInfA(LPCSTR sourceinffile, LPCSTR sourcemedialoc, + DWORD mediatype, DWORD copystyle, LPSTR destinfname, + DWORD destnamesize, PDWORD required, + LPSTR destinfnamecomponent) +{ + FIXME("stub: source %s location %s ...\n",sourceinffile, sourcemedialoc); + return FALSE; +} + +/*********************************************************************** + * InstallHinfSection (SETUPAPI.@) + */ +void WINAPI InstallHinfSection(HWND hwnd, HINSTANCE handle, LPCSTR cmdline, INT show) +{ + FIXME("stub, hwnd %p, handle %p, cmdline %s\n", hwnd, handle, debugstr_a(cmdline)); +}