2006-02-17 00:04:10 +00:00
|
|
|
|
/*
|
|
|
|
|
* New device installer (newdev.dll)
|
|
|
|
|
*
|
|
|
|
|
* Copyright 2005 Herv<EFBFBD> Poussineau (hpoussin@reactos.org)
|
|
|
|
|
*
|
|
|
|
|
* 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
|
2009-10-27 10:34:16 +00:00
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2006-02-17 00:04:10 +00:00
|
|
|
|
*/
|
|
|
|
|
|
2006-05-28 21:24:28 +00:00
|
|
|
|
#include "newdev_private.h"
|
2006-02-17 00:04:10 +00:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* @unimplemented
|
|
|
|
|
*/
|
|
|
|
|
BOOL WINAPI
|
|
|
|
|
InstallNewDevice(
|
2013-11-16 17:19:18 +00:00
|
|
|
|
IN HWND hwndParent,
|
|
|
|
|
IN LPGUID ClassGuid OPTIONAL,
|
|
|
|
|
OUT PDWORD Reboot)
|
2006-02-17 00:04:10 +00:00
|
|
|
|
{
|
2013-11-16 17:19:18 +00:00
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
|
SetLastError(ERROR_GEN_FAILURE);
|
|
|
|
|
return FALSE;
|
2006-02-17 00:04:10 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* @unimplemented
|
|
|
|
|
*/
|
|
|
|
|
BOOL WINAPI
|
|
|
|
|
InstallSelectedDriverW(
|
2013-11-16 17:19:18 +00:00
|
|
|
|
IN HWND hwndParent,
|
|
|
|
|
IN HDEVINFO DeviceInfoSet,
|
|
|
|
|
IN LPCWSTR Reserved,
|
|
|
|
|
IN BOOL Backup,
|
|
|
|
|
OUT PDWORD pReboot)
|
2006-02-17 00:04:10 +00:00
|
|
|
|
{
|
2013-11-16 17:19:18 +00:00
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
|
SetLastError(ERROR_GEN_FAILURE);
|
|
|
|
|
return FALSE;
|
2006-02-17 00:04:10 +00:00
|
|
|
|
}
|
2013-05-27 17:35:15 +00:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* @unimplemented
|
|
|
|
|
*/
|
|
|
|
|
BOOL WINAPI
|
|
|
|
|
DiShowUpdateDevice(
|
2013-05-27 18:33:18 +00:00
|
|
|
|
IN HWND hwndParent OPTIONAL,
|
|
|
|
|
IN HDEVINFO DeviceInfoSet,
|
|
|
|
|
IN PSP_DEVINFO_DATA DeviceInfoData,
|
|
|
|
|
IN DWORD Flags,
|
|
|
|
|
OUT PBOOL NeedReboot OPTIONAL)
|
2013-05-27 17:35:15 +00:00
|
|
|
|
{
|
2013-05-27 18:33:18 +00:00
|
|
|
|
if (Flags != 0)
|
|
|
|
|
{
|
|
|
|
|
SetLastError(ERROR_INVALID_FLAGS);
|
|
|
|
|
return FALSE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
UNIMPLEMENTED;
|
|
|
|
|
SetLastError(ERROR_GEN_FAILURE);
|
|
|
|
|
return FALSE;
|
2013-05-27 17:35:15 +00:00
|
|
|
|
}
|