Changeset 8421 for trunk/src/setupapi/stubs.c
- Timestamp:
- May 15, 2002, 2:39:57 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/setupapi/stubs.c
r8226 r8421 1 /* -*- tab-width: 8; c-basic-offset: 8 -*- */2 1 /* 3 2 * SetupAPI stubs 4 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 5 19 */ 6 20 7 #include " debugtools.h"21 #include "wine/debug.h" 8 22 #include "windef.h" 9 #ifdef __WIN32OS2__10 #include "ole2.h"11 #endif12 23 #include "setupapi.h" 13 24 14 DEFAULT_DEBUG_CHANNEL(setupapi);25 WINE_DEFAULT_DEBUG_CHANNEL(setupapi); 15 26 16 27 17 28 /*********************************************************************** 18 * SetupCloseFileQueue 19 */ 20 BOOL WINAPI SetupCloseFileQueue(HSPFILEQ QueueHandle) 21 { 22 FIXME("not implemented (setupapi.dll) \n"); 23 } 24 25 /*********************************************************************** 26 * SetupCommitFileQueueA 27 */ 28 BOOL WINAPI SetupCommitFileQueueA(HWND Owner, HSPFILEQ QueueHandle, 29 PSP_FILE_CALLBACK_A MsgHandler, 30 PVOID Context) 31 { 32 FIXME("not implemented (setupapi.dll) \n"); 33 return FALSE; 34 } 35 36 /*********************************************************************** 37 * SetupIterateCabinetA 29 * SetupIterateCabinetA (SETUPAPI.@) 38 30 */ 39 31 BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved, … … 45 37 46 38 /*********************************************************************** 47 * SetupIterateCabinetW 39 * SetupIterateCabinetW (SETUPAPI.@) 48 40 */ 49 41 BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved, … … 56 48 57 49 /*********************************************************************** 58 * SetupGetLineTextA50 * TPWriteProfileString (SETUPX.62) 59 51 */ 60 BOOL WINAPI SetupGetLineTextA (const INFCONTEXT *Context, HINF InfHandle, 61 PCSTR Section, PCSTR Key, LPSTR ReturnBuffer, 62 DWORD ReturnBufferSize, PDWORD RequiredSize) 52 BOOL WINAPI TPWriteProfileString16( LPCSTR section, LPCSTR entry, LPCSTR string ) 63 53 { 64 FIXME("not implemented (setupapi.dll) \n"); 65 return 0; 66 } 67 68 /*********************************************************************** 69 * SetupGetStringFieldA 70 */ 71 BOOL WINAPI SetupGetStringFieldA(const INFCONTEXT *Context, DWORD FieldIndex, 72 LPSTR ReturnBuffer, DWORD ReturnBufferSize, 73 PDWORD RequiredSize) 74 { 75 FIXME("not implemented (setupapi.dll) \n"); 76 return 0; 54 FIXME( "%s %s %s: stub\n", debugstr_a(section), debugstr_a(entry), debugstr_a(string) ); 55 return TRUE; 77 56 } 78 57 79 58 80 59 /*********************************************************************** 81 * SetupFindNextLine60 * suErrorToIds (SETUPX.61) 82 61 */ 83 BOOL WINAPI SetupFindNextLine (const INFCONTEXT *ContextIn, PINFCONTEXT ContextOut)62 DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 ) 84 63 { 85 FIXME("not implemented (setupapi.dll) \n");86 64 FIXME( "%x %x: stub\n", w1, w2 ); 65 return 0; 87 66 } 88 89 90 /***********************************************************************91 * SetupInitDefaultQueueCallback92 */93 PVOID WINAPI SetupInitDefaultQueueCallback(HWND OwnerWindow)94 {95 FIXME("not implemented (setupapi.dll) \n");96 return 0;97 }98 99 /***********************************************************************100 * SetupInitDefaultQueueCallbackEx101 */102 PVOID WINAPI SetupInitDefaultQueueCallbackEx(HWND OwnerWindow,103 HWND AlternativeProgressWindow,104 UINT ProgressMessage,105 DWORD res1,106 PVOID res2)107 {108 FIXME("not implemented (setupapi.dll) \n");109 return 0;110 }111 112 /***********************************************************************113 * SetupCloseInfFile114 */115 VOID WINAPI SetupCloseInfFile (HINF InfHandle)116 {117 FIXME("not implemented (setupapi.dll) \n");118 }119 120 121 /***********************************************************************122 * SetupDefaultQueueCallbackA123 */124 UINT WINAPI SetupDefaultQueueCallbackA (PVOID Context, UINT Notification,125 UINT_PTR Param1, UINT_PTR Param2)126 {127 FIXME("not implemented (setupapi.dll) \n");128 return 0;129 }130 131 132 /***********************************************************************133 * SetupFindFirstLineA134 */135 BOOL WINAPI SetupFindFirstLineA (HINF InfHandle, PCSTR Section, PCSTR Key,136 PINFCONTEXT Context)137 {138 FIXME("not implemented (setupapi.dll) \n");139 return 0;140 }141 142 /***********************************************************************143 * SetupGetLineByIndexA144 */145 BOOL WINAPI SetupGetLineByIndexA (HINF InfHandle, PCSTR Section, DWORD Index,146 PINFCONTEXT Context)147 {148 FIXME("not implemented (setupapi.dll) \n");149 return FALSE;150 }151 152 153 /***********************************************************************154 * SetupInstallFromInfSectionA155 */156 BOOL WINAPI SetupInstallFromInfSectionA (HWND Owner, HINF InfHandle, PCSTR SectionName,157 UINT Flags, HKEY RelativeKeyRoot, PCSTR SourceRootPath,158 UINT CopyFlags, PSP_FILE_CALLBACK_A MsgHandler,159 PVOID Context, HDEVINFO DeviceInfoSet,160 PSP_DEVINFO_DATA DeviceInfoData)161 {162 FIXME("not implemented (setupapi.dll) \n");163 return 0;164 }165 166 /***********************************************************************167 * SetupOpenAppendInfFileA168 */169 BOOL WINAPI SetupOpenAppendInfFileA (PCSTR FileName, HINF InfHandle,170 PUINT ErrorLine)171 {172 FIXME("not implemented (setupapi.dll) \n");173 return FALSE;174 }175 176 /***********************************************************************177 * SetupOpenFileQueue178 */179 HSPFILEQ WINAPI SetupOpenFileQueue (VOID)180 {181 FIXME("not implemented (setupapi.dll) \n");182 return (HSPFILEQ) INVALID_HANDLE_VALUE;183 }184 185 /***********************************************************************186 * SetupOpenInfFileA187 */188 HINF WINAPI SetupOpenInfFileA (PCSTR FileName, PCSTR InfClass, DWORD InfStyle,189 PUINT ErrorLine)190 {191 FIXME("not implemented (setupapi.dll) \n");192 return 0;193 }194 195 /***********************************************************************196 * SetupQueueCopyA197 */198 BOOL WINAPI SetupQueueCopyA (HSPFILEQ QueueHandle, PCSTR SourceRootPath, PCSTR SourcePath,199 PCSTR SourceFileName, PCSTR SourceDescription, PCSTR SourceTagFile,200 PCSTR TargetDirectory, PCSTR TargetFileName, DWORD CopyStyle)201 {202 FIXME("not implemented (setupapi.dll) \n");203 return FALSE;204 }205 206 /***********************************************************************207 * SetupSetDirectoryIdA208 */209 BOOL WINAPI SetupSetDirectoryIdA (HINF InfHandle,210 DWORD Id,211 PCSTR Directory)212 {213 FIXME("not implemented (setupapi.dll) \n");214 return FALSE;215 }216 217 218 /***********************************************************************219 * SetupTermDefaultQueueCallback220 */221 VOID WINAPI SetupTermDefaultQueueCallback (PVOID Callback)222 {223 FIXME("not implemented (setupapi.dll) \n");224 }225
Note:
See TracChangeset
for help on using the changeset viewer.