mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 11:35:58 +00:00
74 lines
1.7 KiB
C
74 lines
1.7 KiB
C
/*
|
|
* New device installer (newdev.dll)
|
|
*
|
|
* Copyright 2005 Hervé 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
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#include "newdev_private.h"
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
BOOL WINAPI
|
|
InstallNewDevice(
|
|
IN HWND hwndParent,
|
|
IN LPGUID ClassGuid OPTIONAL,
|
|
OUT PDWORD Reboot)
|
|
{
|
|
UNIMPLEMENTED;
|
|
SetLastError(ERROR_GEN_FAILURE);
|
|
return FALSE;
|
|
}
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
BOOL WINAPI
|
|
InstallSelectedDriverW(
|
|
IN HWND hwndParent,
|
|
IN HDEVINFO DeviceInfoSet,
|
|
IN LPCWSTR Reserved,
|
|
IN BOOL Backup,
|
|
OUT PDWORD pReboot)
|
|
{
|
|
UNIMPLEMENTED;
|
|
SetLastError(ERROR_GEN_FAILURE);
|
|
return FALSE;
|
|
}
|
|
|
|
/*
|
|
* @unimplemented
|
|
*/
|
|
BOOL WINAPI
|
|
DiShowUpdateDevice(
|
|
IN HWND hwndParent OPTIONAL,
|
|
IN HDEVINFO DeviceInfoSet,
|
|
IN PSP_DEVINFO_DATA DeviceInfoData,
|
|
IN DWORD Flags,
|
|
OUT PBOOL NeedReboot OPTIONAL)
|
|
{
|
|
if (Flags != 0)
|
|
{
|
|
SetLastError(ERROR_INVALID_FLAGS);
|
|
return FALSE;
|
|
}
|
|
|
|
UNIMPLEMENTED;
|
|
SetLastError(ERROR_GEN_FAILURE);
|
|
return FALSE;
|
|
}
|