reactos/dll/win32/setupapi/stubs.c
jimtabor 0785633649 [SetupAPI] Sync to wine.
See CORE-16543.
2019-12-09 19:15:49 -06:00

151 lines
4.6 KiB
C

/*
* SetupAPI stubs
*
* Copyright 2000 James Hatheway
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "setupapi_private.h"
/***********************************************************************
* pSetupRegistryDelnode(SETUPAPI.@)
*/
BOOL WINAPI pSetupRegistryDelnode(DWORD x, DWORD y)
{
FIXME("%08x %08x: stub\n", x, y);
return FALSE;
}
/***********************************************************************
* SetupPromptReboot(SETUPAPI.@)
*/
INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only )
{
FIXME("%p, %p, %d\n", file_queue, owner, scan_only);
return 0;
}
/***********************************************************************
* SetupAddToSourceListA (SETUPAPI.@)
*/
BOOL WINAPI SetupAddToSourceListA(DWORD flags, PCSTR source)
{
FIXME("0x%08x %s: stub\n", flags, debugstr_a(source));
return TRUE;
}
/***********************************************************************
* SetupAddToSourceListW (SETUPAPI.@)
*/
BOOL WINAPI SetupAddToSourceListW(DWORD flags, PCWSTR source)
{
FIXME("0x%08x %s: stub\n", flags, debugstr_w(source));
return TRUE;
}
/***********************************************************************
* SetupSetSourceListA (SETUPAPI.@)
*/
BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
{
FIXME("0x%08x %p %d\n", flags, list, count);
return FALSE;
}
/***********************************************************************
* SetupSetSourceListW (SETUPAPI.@)
*/
BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
{
FIXME("0x%08x %p %d\n", flags, list, count);
return FALSE;
}
/***********************************************************************
* SetupDiRemoveDevice(SETUPAPI.@)
*/
BOOL WINAPI
SetupDiRemoveDevice(
IN HDEVINFO DeviceInfoSet,
IN PSP_DEVINFO_DATA DeviceInfoData)
{
FIXME ("Stub %p %p\n", DeviceInfoSet, DeviceInfoData);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* SetupDiUnremoveDevice(SETUPAPI.@)
*/
BOOL WINAPI
SetupDiUnremoveDevice(
IN HDEVINFO DeviceInfoSet,
IN PSP_DEVINFO_DATA DeviceInfoData)
{
FIXME ("Stub %p %p\n", DeviceInfoSet, DeviceInfoData);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* SetupDiRemoveDeviceInterface (SETUPAPI.@)
*/
BOOL WINAPI SetupDiRemoveDeviceInterface(HDEVINFO info, PSP_DEVICE_INTERFACE_DATA data)
{
FIXME("(%p, %p): stub\n", info, data);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
WINSETUPAPI BOOL WINAPI SetupDiGetDeviceInterfaceAlias(IN HDEVINFO DeviceInfoSet, IN PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData, IN CONST GUID *AliasInterfaceClassGuid, OUT PSP_DEVICE_INTERFACE_DATA AliasDeviceInterfaceData)
{
FIXME("%p %p %p %p %p stub\n", DeviceInfoSet, DeviceInterfaceData, AliasInterfaceClassGuid, AliasDeviceInterfaceData);
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
/***********************************************************************
* SetupVerifyInfFileA(SETUPAPI.@)
*/
BOOL WINAPI
SetupVerifyInfFileA(
IN PCSTR InfName,
IN PSP_ALTPLATFORM_INFO AltPlatformInfo,
OUT PSP_INF_SIGNER_INFO_A InfFileName)
{
FIXME ("Stub %s %p %p\n", debugstr_a(InfName), AltPlatformInfo, InfFileName);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* SetupVerifyInfFileW(SETUPAPI.@)
*/
BOOL WINAPI
SetupVerifyInfFileW(
IN PCWSTR InfName,
IN PSP_ALTPLATFORM_INFO AltPlatformInfo,
OUT PSP_INF_SIGNER_INFO_W InfFileName)
{
FIXME ("Stub %s %p %p\n", debugstr_w(InfName), AltPlatformInfo, InfFileName);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}