1 /* 2 * SetupAPI stubs 3 * 4 * Copyright 2000 James Hatheway 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 19 */ 20 21 #include "setupapi_private.h" 22 23 /*********************************************************************** 24 * pSetupRegistryDelnode(SETUPAPI.@) 25 */ 26 BOOL WINAPI pSetupRegistryDelnode(DWORD x, DWORD y) 27 { 28 FIXME("%08x %08x: stub\n", x, y); 29 return FALSE; 30 } 31 32 /*********************************************************************** 33 * SetupPromptReboot(SETUPAPI.@) 34 */ 35 INT WINAPI SetupPromptReboot( HSPFILEQ file_queue, HWND owner, BOOL scan_only ) 36 { 37 FIXME("%p, %p, %d\n", file_queue, owner, scan_only); 38 return 0; 39 } 40 41 /*********************************************************************** 42 * SetupSetSourceListA (SETUPAPI.@) 43 */ 44 BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count) 45 { 46 FIXME("0x%08x %p %d\n", flags, list, count); 47 return FALSE; 48 } 49 50 /*********************************************************************** 51 * SetupSetSourceListW (SETUPAPI.@) 52 */ 53 BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count) 54 { 55 FIXME("0x%08x %p %d\n", flags, list, count); 56 return FALSE; 57 } 58 59 60 /*********************************************************************** 61 * SetupDiRemoveDevice(SETUPAPI.@) 62 */ 63 BOOL WINAPI 64 SetupDiRemoveDevice( 65 IN HDEVINFO DeviceInfoSet, 66 IN PSP_DEVINFO_DATA DeviceInfoData) 67 { 68 FIXME ("Stub %p %p\n", DeviceInfoSet, DeviceInfoData); 69 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 70 return FALSE; 71 } 72 73 74 /*********************************************************************** 75 * SetupDiUnremoveDevice(SETUPAPI.@) 76 */ 77 BOOL WINAPI 78 SetupDiUnremoveDevice( 79 IN HDEVINFO DeviceInfoSet, 80 IN PSP_DEVINFO_DATA DeviceInfoData) 81 { 82 FIXME ("Stub %p %p\n", DeviceInfoSet, DeviceInfoData); 83 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 84 return FALSE; 85 } 86 87 88 /*********************************************************************** 89 * SetupDiRemoveDeviceInterface (SETUPAPI.@) 90 */ 91 BOOL WINAPI SetupDiRemoveDeviceInterface(HDEVINFO info, PSP_DEVICE_INTERFACE_DATA data) 92 { 93 FIXME("(%p, %p): stub\n", info, data); 94 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 95 return FALSE; 96 } 97 98 99 WINSETUPAPI BOOL WINAPI SetupDiGetDeviceInterfaceAlias(IN HDEVINFO DeviceInfoSet, IN PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData, IN CONST GUID *AliasInterfaceClassGuid, OUT PSP_DEVICE_INTERFACE_DATA AliasDeviceInterfaceData) 100 { 101 FIXME("%p %p %p %p %p stub\n", DeviceInfoSet, DeviceInterfaceData, AliasInterfaceClassGuid, AliasDeviceInterfaceData); 102 SetLastError(ERROR_INVALID_PARAMETER); 103 return FALSE; 104 } 105 106 /*********************************************************************** 107 * SetupVerifyInfFileA(SETUPAPI.@) 108 */ 109 BOOL WINAPI 110 SetupVerifyInfFileA( 111 IN PCSTR InfName, 112 IN PSP_ALTPLATFORM_INFO AltPlatformInfo, 113 OUT PSP_INF_SIGNER_INFO_A InfFileName) 114 { 115 FIXME ("Stub %s %p %p\n", debugstr_a(InfName), AltPlatformInfo, InfFileName); 116 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 117 return FALSE; 118 } 119 120 /*********************************************************************** 121 * SetupVerifyInfFileW(SETUPAPI.@) 122 */ 123 BOOL WINAPI 124 SetupVerifyInfFileW( 125 IN PCWSTR InfName, 126 IN PSP_ALTPLATFORM_INFO AltPlatformInfo, 127 OUT PSP_INF_SIGNER_INFO_W InfFileName) 128 { 129 FIXME ("Stub %s %p %p\n", debugstr_w(InfName), AltPlatformInfo, InfFileName); 130 SetLastError(ERROR_CALL_NOT_IMPLEMENTED); 131 return FALSE; 132 } 133 134