From 056de6fbcf4d436b00054031346db92f4ebb0233 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 25 Jan 2012 14:35:42 -0800 Subject: [PATCH] setupapi: Add a stub for SetupAddToDiskSpaceListA/W. --- dlls/setupapi/diskspace.c | 24 ++++++++++++++++++++++++ dlls/setupapi/setupapi.spec | 4 ++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/dlls/setupapi/diskspace.c b/dlls/setupapi/diskspace.c index 0a1a5ff7a75..1ca45f96913 100644 --- a/dlls/setupapi/diskspace.c +++ b/dlls/setupapi/diskspace.c @@ -259,3 +259,27 @@ BOOL WINAPI SetupDestroyDiskSpaceList(HDSKSPC DiskSpace) HeapFree(GetProcessHeap(),0,list); return TRUE; } + +/*********************************************************************** +* SetupAddToDiskSpaceListA (SETUPAPI.@) +*/ +BOOL WINAPI SetupAddToDiskSpaceListA(HDSKSPC diskspace, PCSTR targetfile, + LONGLONG filesize, UINT operation, + PVOID reserved1, UINT reserved2) +{ + FIXME(": stub\n"); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} + +/*********************************************************************** +* SetupAddToDiskSpaceListW (SETUPAPI.@) +*/ +BOOL WINAPI SetupAddToDiskSpaceListW(HDSKSPC diskspace, PCWSTR targetfile, + LONGLONG filesize, UINT operation, + PVOID reserved1, UINT reserved2) +{ + FIXME(": stub\n"); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec index d3825d9a2ef..6397ab2d4c9 100644 --- a/dlls/setupapi/setupapi.spec +++ b/dlls/setupapi/setupapi.spec @@ -246,8 +246,8 @@ @ stub SetupAddInstallSectionToDiskSpaceListW @ stub SetupAddSectionToDiskSpaceListA @ stub SetupAddSectionToDiskSpaceListW -@ stub SetupAddToDiskSpaceListA -@ stub SetupAddToDiskSpaceListW +@ stdcall SetupAddToDiskSpaceListA(long str int64 long ptr long) +@ stdcall SetupAddToDiskSpaceListW(long wstr int64 long ptr long) @ stub SetupAddToSourceListA @ stub SetupAddToSourceListW @ stub SetupAdjustDiskSpaceListA