Changeset 8667
- Timestamp:
- Jun 15, 2002, 12:44:06 PM (23 years ago)
- Location:
- trunk/src/setupapi
- Files:
-
- 1 added
- 1 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/setupapi/devinst.c ¶
r8421 r8667 23 23 #include "setupx16.h" 24 24 #include "wine/debug.h" 25 #include "setupapi.h" 25 26 26 27 WINE_DEFAULT_DEBUG_CHANNEL(setupapi); … … 43 44 return OK; 44 45 } 46 47 /*********************************************************************** 48 * SetupDiGetDeviceInterfaceDetailA (SETUPAPI.@) 49 */ 50 BOOL WINAPI SetupDiGetDeviceInterfaceDetailA( 51 HDEVINFO DeviceInfoSet, 52 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData, 53 PSP_DEVICE_INTERFACE_DETAIL_DATAA DeviceInterfaceDetailData, 54 DWORD DeviceInterfaceDetailDataSize, 55 PDWORD RequiredSize, 56 PSP_DEVINFO_DATA DeviceInfoData ) 57 { 58 FIXME("\n"); 59 return FALSE; 60 } 61 62 /*********************************************************************** 63 * SetupDiGetDeviceInterfaceDetailW (SETUPAPI.@) 64 */ 65 BOOL WINAPI SetupDiGetDeviceInterfaceDetailW( 66 HDEVINFO DeviceInfoSet, 67 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData, 68 PSP_DEVICE_INTERFACE_DETAIL_DATAW DeviceInterfaceDetailData, 69 DWORD DeviceInterfaceDetailDataSize, 70 PDWORD RequiredSize, 71 PSP_DEVINFO_DATA DeviceInfoData ) 72 { 73 FIXME("\n"); 74 return FALSE; 75 } 76 77 /*********************************************************************** 78 * SetupDiEnumDeviceInterfaces (SETUPAPI.@) 79 */ 80 BOOL WINAPI SetupDiEnumDeviceInterfaces( 81 HDEVINFO DeviceInfoSet, 82 PSP_DEVINFO_DATA DeviceInfoData, 83 CONST GUID * InterfaceClassGuid, 84 DWORD MemberIndex, 85 PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData) 86 { 87 FIXME("\n"); 88 return FALSE; 89 } 90 91 /*********************************************************************** 92 * SetupDiGetClassDevsA (SETUPAPI.@) 93 */ 94 HDEVINFO WINAPI SetupDiGetClassDevsA( 95 CONST GUID *class, 96 LPCSTR enumstr, 97 HWND parent, 98 DWORD flags) 99 { 100 FIXME("%s %s %04x %08lx\n",debugstr_guid(class),enumstr,parent,flags); 101 102 return NULL; 103 } 104 105 /*********************************************************************** 106 * SetupDiEnumDeviceInfo (SETUPAPI.@) 107 */ 108 BOOL WINAPI SetupDiEnumDeviceInfo( 109 HDEVINFO devinfo, 110 DWORD index, 111 PSP_DEVINFO_DATA info) 112 { 113 FIXME("%p %ld %p\n", devinfo, index, info ); 114 115 if(info==NULL) 116 return FALSE; 117 if(info->cbSize < sizeof *info) 118 return FALSE; 119 120 return FALSE; 121 } 122 123 /*********************************************************************** 124 * SetupDiDestroyDeviceInfoList (SETUPAPI.@) 125 */ 126 BOOL WINAPI SetupDiDestroyDeviceInfoList( HDEVINFO devinfo ) 127 { 128 FIXME("%04lx\n", (DWORD)devinfo); 129 return FALSE; 130 } 131 132 /*********************************************************************** 133 * SetupDiGetDeviceRegistryPropertyA (SETUPAPI.@) 134 */ 135 BOOL WINAPI SetupDiGetDeviceRegistryPropertyA( 136 HDEVINFO devinfo, 137 PSP_DEVINFO_DATA DeviceInfoData, 138 DWORD Property, 139 PDWORD PropertyRegDataType, 140 PBYTE PropertyBuffer, 141 DWORD PropertyBufferSize, 142 PDWORD RequiredSize) 143 { 144 FIXME("%04lx %p %ld %p %p %ld %p\n", (DWORD)devinfo, DeviceInfoData, 145 Property, PropertyRegDataType, PropertyBuffer, PropertyBufferSize, 146 RequiredSize); 147 return FALSE; 148 } 149 -
TabularUnified trunk/src/setupapi/infparse.c ¶
r8421 r8667 209 209 return FALSE; 210 210 } 211 211 212 212 213 213 LPCSTR IP_GetFileName(HINF16 hInf) -
TabularUnified trunk/src/setupapi/install.c ¶
r8421 r8667 316 316 if (type == REG_DWORD) 317 317 { 318 DWORD dw = str ? wcstol( str, NULL, 16 ) : 0;318 DWORD dw = str ? strtolW( str, NULL, 16 ) : 0; 319 319 TRACE( "setting dword %s to %lx\n", debugstr_w(value), dw ); 320 320 RegSetValueExW( hkey, value, 0, type, (BYTE *)&dw, sizeof(dw) ); … … 417 417 static BOOL update_ini_callback( HINF hinf, PCWSTR field, void *arg ) 418 418 { 419 FIXME( "should update ini %s\n", debugstr_w(field) ); 419 INFCONTEXT context; 420 421 BOOL ok = SetupFindFirstLineW( hinf, field, NULL, &context ); 422 423 for (; ok; ok = SetupFindNextLine( &context, &context )) 424 { 425 WCHAR buffer[MAX_INF_STRING_LENGTH]; 426 WCHAR filename[MAX_INF_STRING_LENGTH]; 427 WCHAR section[MAX_INF_STRING_LENGTH]; 428 WCHAR entry[MAX_INF_STRING_LENGTH]; 429 WCHAR string[MAX_INF_STRING_LENGTH]; 430 LPWSTR divider; 431 432 if (!SetupGetStringFieldW( &context, 1, filename, 433 sizeof(filename)/sizeof(WCHAR), NULL )) 434 continue; 435 436 if (!SetupGetStringFieldW( &context, 2, section, 437 sizeof(section)/sizeof(WCHAR), NULL )) 438 continue; 439 440 if (!SetupGetStringFieldW( &context, 4, buffer, 441 sizeof(buffer)/sizeof(WCHAR), NULL )) 442 continue; 443 444 divider = strchrW(buffer,'='); 445 if (divider) 446 { 447 *divider = 0; 448 strcpyW(entry,buffer); 449 divider++; 450 strcpyW(string,divider); 451 } 452 else 453 { 454 strcpyW(entry,buffer); 455 string[0]=0; 456 } 457 458 TRACE("Writing %s = %s in %s of file %s\n",debugstr_w(entry), 459 debugstr_w(string),debugstr_w(section),debugstr_w(filename)); 460 WritePrivateProfileStringW(section,entry,string,filename); 461 462 } 420 463 return TRUE; 421 464 } … … 611 654 612 655 info.default_root = key_root; 656 info.delete = TRUE; 657 if (!iterate_section_fields( hinf, section, DelReg, registry_callback, &info )) 658 return FALSE; 613 659 info.delete = FALSE; 614 660 if (!iterate_section_fields( hinf, section, AddReg, registry_callback, &info )) 615 661 return FALSE; 616 info.delete = TRUE;617 if (!iterate_section_fields( hinf, section, DelReg, registry_callback, &info ))618 return FALSE;619 662 } 620 663 if (flags & (SPINST_BITREG|SPINST_REGSVR|SPINST_UNREGSVR|SPINST_PROFILEITEMS|SPINST_COPYINF)) -
TabularUnified trunk/src/setupapi/parser.c ¶
r8421 r8667 19 19 */ 20 20 21 #include "config.h" 22 #include "wine/port.h" 23 21 24 #include <assert.h> 22 25 #include <limits.h> … … 325 328 memcpy( dirid_str, str, *len * sizeof(WCHAR) ); 326 329 dirid_str[*len] = 0; 327 dirid = wcstol( dirid_str, &end, 10 );330 dirid = strtolW( dirid_str, &end, 10 ); 328 331 if (!*end) ret = get_dirid_subst( dirid, len ); 329 332 HeapFree( GetProcessHeap(), 0, dirid_str ); … … 535 538 536 539 540 /* close the current line and prepare for parsing a new one */ 541 static void close_current_line( struct parser *parser ) 542 { 543 struct line *cur_line = parser->line; 544 545 if (cur_line) 546 { 547 /* if line has a single field and no key, the field is the key too */ 548 if (cur_line->nb_fields == 1 && cur_line->key_field == -1) 549 cur_line->key_field = cur_line->first_field; 550 } 551 parser->line = NULL; 552 } 553 554 537 555 /* handler for parser LINE_START state */ 538 556 static const WCHAR *line_start_state( struct parser *parser, const WCHAR *pos ) … … 546 564 case '\n': 547 565 parser->line_pos++; 548 parser->line = NULL; /* start a new line */566 close_current_line( parser ); 549 567 break; 550 568 case ';': … … 566 584 } 567 585 } 586 close_current_line( parser ); 568 587 return NULL; 569 588 } -
TabularUnified trunk/src/setupapi/queue.c ¶
r8421 r8667 116 116 static void free_file_op_queue( struct file_op_queue *queue ) 117 117 { 118 struct file_op * op;119 120 for (op = queue->head; op; op = op->next)118 struct file_op *t, *op = queue->head; 119 120 while( op ) 121 121 { 122 122 HeapFree( GetProcessHeap(), 0, op->src_root ); … … 127 127 HeapFree( GetProcessHeap(), 0, op->dst_path ); 128 128 if (op->dst_file != op->src_file) HeapFree( GetProcessHeap(), 0, op->dst_file ); 129 t = op; 130 op = op->next; 131 HeapFree( GetProcessHeap(), 0, t ); 129 132 } 130 133 } -
TabularUnified trunk/src/setupapi/setupapi.def ¶
r4989 r8667 20 20 ; 58 stdcall SetupCommitFileQueue() SetupCommitFileQueue 21 21 SetupCommitFileQueueA = _SetupCommitFileQueueA@16 @59 22 ; 60 stdcall SetupCommitFileQueueW() SetupCommitFileQueueW 22 SetupCommitFileQueueW = _SetupCommitFileQueueW@16 @60 23 23 ; 61 stdcall SetupCopyErrorA() SetupCopyErrorA 24 24 ; 62 stdcall SetupCopyErrorW() SetupCopyErrorW … … 29 29 ; 67 stdcall SetupDefaultQueueCallback() SetupDefaultQueueCallback 30 30 SetupDefaultQueueCallbackA = _SetupDefaultQueueCallbackA@16 @68 31 ; 69 stdcall SetupDefaultQueueCallbackW() SetupDefaultQueueCallbackW 31 SetupDefaultQueueCallbackW = _SetupDefaultQueueCallbackW@16 @69 32 32 ; 70 stdcall SetupDeleteErrorA() SetupDeleteErrorA 33 33 ; 71 stdcall SetupDeleteErrorW() SetupDeleteErrorW … … 51 51 ; 89 stdcall SetupDiDeleteDeviceInfo() SetupDiDeleteDeviceInfo 52 52 ; 90 stdcall SetupDiDestroyClassImageList() SetupDiDestroyClassImageList 53 ; 91 stdcall SetupDiDestroyDeviceInfoList() SetupDiDestroyDeviceInfoList 54 ; 92 stdcall SetupDiDestroyDriverInfoList () SetupDiDestroyDriverInfoList53 SetupDiDestroyDeviceInfoList = _SetupDiDestroyDeviceInfoList@4 @91 54 ; 92 stdcall SetupDiDestroyDriverInfoList 55 55 ; 93 stdcall SetupDiDrawMiniIcon() SetupDiDrawMiniIcon 56 ; 94 stdcall SetupDiEnumDeviceInfo() SetupDiEnumDeviceInfo 56 SetupDiEnumDeviceInfo = _SetupDiEnumDeviceInfo@12 @94 57 SetupDiEnumDeviceInterfaces = _SetupDiEnumDeviceInterfaces@20 @95 57 58 ; 95 stdcall SetupDiEnumDriverInfoA() SetupDiEnumDriverInfoA 58 59 ; 96 stdcall SetupDiEnumDriverInfoW() SetupDiEnumDriverInfoW … … 64 65 ;102 stdcall SetupDiGetClassDevPropertySheetsA() SetupDiGetClassDevPropertySheetsA 65 66 ;103 stdcall SetupDiGetClassDevPropertySheetsW() SetupDiGetClassDevPropertySheetsW 66 ;104 stdcall SetupDiGetClassDevsA() SetupDiGetClassDevsA 67 SetupDiGetClassDevsA = _SetupDiGetClassDevsA@16 @103 67 68 ;105 stdcall SetupDiGetClassDevsW() SetupDiGetClassDevsW 68 69 ;106 stdcall SetupDiGetClassImageIndex() SetupDiGetClassImageIndex … … 75 76 ;113 stdcall SetupDiGetDeviceInstanceIdA() SetupDiGetDeviceInstanceIdA 76 77 ;114 stdcall SetupDiGetDeviceInstanceIdW() SetupDiGetDeviceInstanceIdW 77 ;115 stdcall SetupDiGetDeviceRegistryPropertyA() SetupDiGetDeviceRegistryPropertyA 78 SetupDiGetDeviceRegistryPropertyA = _SetupDiGetDeviceRegistryPropertyA@28 @115 78 79 ;116 stdcall SetupDiGetDeviceRegistryPropertyW() SetupDiGetDeviceRegistryPropertyW 79 ; 117 stdcall SetupDiGetDriverInfoDetailA() SetupDiGetDriverInfoDetailA80 ; 118 stdcall SetupDiGetDriverInfoDetailW() SetupDiGetDriverInfoDetailW80 ; SetupDiGetDriverInfoDetailA = _SetupDiGetDriverInfoDetailA@24 @117 81 ; SetupDiGetDriverInfoDetailW = _SetupDiGetDriverInfoDetailW@24 @118 81 82 ;119 stdcall SetupDiGetDriverInstallParamsA() SetupDiGetDriverInstallParamsA 82 83 ;120 stdcall SetupDiGetDriverInstallParamsW() SetupDiGetDriverInstallParamsW 84 SetupDiGetDeviceInterfaceDetailA = _SetupDiGetDeviceInterfaceDetailA@24 @121 85 SetupDiGetDeviceInterfaceDetailW = _SetupDiGetDeviceInterfaceDetailW@24 @122 83 86 ;121 stdcall SetupDiGetHwProfileFriendlyNameA() SetupDiGetHwProfileFriendlyNameA 84 87 ;122 stdcall SetupDiGetHwProfileFriendlyNameW() SetupDiGetHwProfileFriendlyNameW … … 118 121 ;156 stdcall SetupDuplicateDiskSpaceListW() SetupDuplicateDiskSpaceListW 119 122 SetupFindFirstLineA = _SetupFindFirstLineA@16 @157 120 ;158 stdcall SetupFindFirstLineW() SetupFindFirstLineW 123 SetupFindFirstLineW = _SetupFindFirstLineW@16 @158 121 124 SetupFindNextLine = _SetupFindNextLine@8 @159 122 ;160 stdcall SetupFindNextMatchLineA() SetupFindNextMatchLineA 123 ;161 stdcall SetupFindNextMatchLineW() SetupFindNextMatchLineW 125 SetupFindNextMatchLineA = _SetupFindNextMatchLineA@12 @160 126 SetupFindNextMatchLineW = _SetupFindNextMatchLineW@12 @161 124 127 ;162 stdcall SetupFreeSourceListA() SetupFreeSourceListA 125 128 ;163 stdcall SetupFreeSourceListW() SetupFreeSourceListW 126 ;164 stdcall SetupGetBinaryField() SetupGetBinaryField 127 ;165 stdcall SetupGetFieldCount() SetupGetFieldCount 129 SetupGetBinaryField = _SetupGetBinaryField@20 @164 130 SetupGetFieldCount = _SetupGetFieldCount@4 @165 128 131 ;166 stdcall SetupGetFileCompressionInfoA() SetupGetFileCompressionInfoA 129 132 ;167 stdcall SetupGetFileCompressionInfoW() SetupGetFileCompressionInfoW 133 SetupGetFileQueueCount = _SetupGetFileQueueCount@12 @168 134 SetupGetFileQueueFlags = _SetupGetFileQueueFlags@8 @169 130 135 ;168 stdcall SetupGetInfFileListA() SetupGetInfFileListA 131 136 ;169 stdcall SetupGetInfFileListW() SetupGetInfFileListW 132 137 ;170 stdcall SetupGetInfInformationA() SetupGetInfInformationA 133 138 ;171 stdcall SetupGetInfInformationW() SetupGetInfInformationW 134 ;172 stdcall SetupGetIntField() SetupGetIntField 139 SetupGetIntField = _SetupGetIntField@12 @172 135 140 SetupGetLineByIndexA = _SetupGetLineByIndexA@16 @173 136 ;174 stdcall SetupGetLineByIndexW() SetupGetLineByIndexW 137 ;175 stdcall SetupGetLineCountA() SetupGetLineCountA 138 ;176 stdcall SetupGetLineCountW() SetupGetLineCountW 141 SetupGetLineByIndexW = _SetupGetLineByIndexW@16 @174 142 SetupGetLineCountA = _SetupGetLineCountA@8 @175 143 SetupGetLineCountW = _SetupGetLineCountW@8 @176 139 144 SetupGetLineTextA = _SetupGetLineTextA@28 @177 140 ;178 stdcall SetupGetLineTextW() SetupGetLineTextW 141 ;179 stdcall SetupGetMultiSzFieldA() SetupGetMultiSzFieldA 142 ;180 stdcall SetupGetMultiSzFieldW() SetupGetMultiSzFieldW 145 SetupGetLineTextW = _SetupGetLineTextW@28 @178 146 SetupGetMultiSzFieldA = _SetupGetMultiSzFieldA@20 @179 147 SetupGetMultiSzFieldW = _SetupGetMultiSzFieldW@20 @180 143 148 ;181 stdcall SetupGetSourceFileLocationA() SetupGetSourceFileLocationA 144 149 ;182 stdcall SetupGetSourceFileLocationW() SetupGetSourceFileLocationW … … 148 153 ;186 stdcall SetupGetSourceInfoW() SetupGetSourceInfoW 149 154 SetupGetStringFieldA = _SetupGetStringFieldA@20 @187 150 ;188 stdcall SetupGetStringFieldW() SetupGetStringFieldW 155 SetupGetStringFieldW = _SetupGetStringFieldW@20 @188 151 156 ;189 stdcall SetupGetTargetPathA() SetupGetTargetPathA 152 157 ;190 stdcall SetupGetTargetPathW() SetupGetTargetPathW 153 SetupInitDefaultQueueCallback = _SetupInitDefaultQueueCallback@4 @191158 SetupInitDefaultQueueCallback = _SetupInitDefaultQueueCallback@4 @191 154 159 SetupInitDefaultQueueCallbackEx = _SetupInitDefaultQueueCallbackEx@20 @192 155 160 ;193 stdcall SetupInitializeFileLogA() SetupInitializeFileLogA … … 159 164 ;197 stdcall SetupInstallFileExW() SetupInstallFileExW 160 165 ;198 stdcall SetupInstallFileW() SetupInstallFileW 161 ;199 stdcall SetupInstallFilesFromInfSectionA() SetupInstallFilesFromInfSectionA 162 ;200 stdcall SetupInstallFilesFromInfSectionW() SetupInstallFilesFromInfSectionW 163 SetupInstallFromInfSectionA = _SetupInstallFromInfSectionA@44 @201164 ;202 stdcall SetupInstallFromInfSectionW() SetupInstallFromInfSectionW 166 SetupInstallFilesFromInfSectionA = _SetupInstallFilesFromInfSectionA@24 @199 167 SetupInstallFilesFromInfSectionW = _SetupInstallFilesFromInfSectionW@24 @200 168 SetupInstallFromInfSectionA = _SetupInstallFromInfSectionA@44 @201 169 SetupInstallFromInfSectionW = _SetupInstallFromInfSectionW@44 @202 165 170 ;203 stdcall SetupInstallServicesFromInfSectionA() SetupInstallServicesFromInfSectionA 166 171 ;204 stdcall SetupInstallServicesFromInfSectionW() SetupInstallServicesFromInfSectionW … … 170 175 ;208 stdcall SetupLogFileW() SetupLogFileW 171 176 SetupOpenAppendInfFileA = _SetupOpenAppendInfFileA@12 @209 172 ;210 stdcall SetupOpenAppendInfFileW() SetupOpenAppendInfFileW 177 SetupOpenAppendInfFileW = _SetupOpenAppendInfFileW@12 @210 173 178 SetupOpenFileQueue = _SetupOpenFileQueue@0 @211 174 179 SetupOpenInfFileA = _SetupOpenInfFileA@16 @212 175 ;213 stdcall SetupOpenInfFileW() SetupOpenInfFileW 180 SetupOpenInfFileW = _SetupOpenInfFileW@16 @213 176 181 ;214 stdcall SetupOpenMasterInf() SetupOpenMasterInf 177 182 ;215 stdcall SetupPromptForDiskA() SetupPromptForDiskA … … 190 195 ;228 stdcall SetupQuerySpaceRequiredOnDriveA() SetupQuerySpaceRequiredOnDriveA 191 196 ;229 stdcall SetupQuerySpaceRequiredOnDriveW() SetupQuerySpaceRequiredOnDriveW 192 SetupQueueCopyA = _SetupQueueCopyA@36 @230 193 ;231 stdcall SetupQueueCopySectionA() SetupQueueCopySectionA 194 ;232 stdcall SetupQueueCopySectionW() SetupQueueCopySectionW 195 ;233 stdcall SetupQueueCopyW() SetupQueueCopyW 196 ;234 stdcall SetupQueueDefaultCopyA() SetupQueueDefaultCopyA 197 ;235 stdcall SetupQueueDefaultCopyW() SetupQueueDefaultCopyW 198 ;236 stdcall SetupQueueDeleteA() SetupQueueDeleteA 199 ;237 stdcall SetupQueueDeleteSectionA() SetupQueueDeleteSectionA 200 ;238 stdcall SetupQueueDeleteSectionW() SetupQueueDeleteSectionW 201 ;239 stdcall SetupQueueDeleteW() SetupQueueDeleteW 202 ;240 stdcall SetupQueueRenameA() SetupQueueRenameA 203 ;241 stdcall SetupQueueRenameSectionA() SetupQueueRenameSectionA 204 ;242 stdcall SetupQueueRenameSectionW() SetupQueueRenameSectionW 205 ;243 stdcall SetupQueueRenameW() SetupQueueRenameW 197 SetupQueueCopyA = _SetupQueueCopyA@36 @230 198 SetupQueueCopyIndirectA = _SetupQueueCopyIndirectA@4 @231 199 SetupQueueCopyIndirectW = _SetupQueueCopyIndirectW@4 @232 200 SetupQueueCopySectionA = _SetupQueueCopySectionA@24 @233 201 SetupQueueCopySectionW = _SetupQueueCopySectionW@24 @234 202 SetupQueueCopyW = _SetupQueueCopyW@36 @235 203 SetupQueueDefaultCopyA = _SetupQueueDefaultCopyA@24 @236 204 SetupQueueDefaultCopyW = _SetupQueueDefaultCopyW@24 @237 205 SetupQueueDeleteA = _SetupQueueDeleteA@12 @238 206 SetupQueueDeleteSectionA = _SetupQueueDeleteSectionA@16 @239 207 SetupQueueDeleteSectionW = _SetupQueueDeleteSectionW@16 @240 208 SetupQueueDeleteW = _SetupQueueDeleteW@12 @241 209 SetupQueueRenameA = _SetupQueueRenameA@20 @242 210 SetupQueueRenameSectionA = _SetupQueueRenameSectionA@16 @243 211 SetupQueueRenameSectionW = _SetupQueueRenameSectionW@16 @244 212 SetupQueueRenameW = _SetupQueueRenameW@20 @245 206 213 ;244 stdcall SetupRemoveFileLogEntryA() SetupRemoveFileLogEntryA 207 214 ;245 stdcall SetupRemoveFileLogEntryW() SetupRemoveFileLogEntryW … … 217 224 ;255 stdcall SetupRenameErrorW() SetupRenameErrorW 218 225 ;256 stdcall SetupScanFileQueue() SetupScanFileQueue 219 ;257 stdcall SetupScanFileQueueA() SetupScanFileQueueA 220 ;258 stdcall SetupScanFileQueueW() SetupScanFileQueueW 226 SetupScanFileQueueA = _SetupScanFileQueueA@24 @257 227 SetupScanFileQueueW = _SetupScanFileQueueW@24 @258 221 228 SetupSetDirectoryIdA = _SetupSetDirectoryIdA@12 @259 222 229 ;260 stdcall SetupSetDirectoryIdExA(long long str long long ptr) SetupSetDirectoryIdExA 223 230 ;261 stdcall SetupSetDirectoryIdExW(long long wstr long long ptr) SetupSetDirectoryIdExW 224 ;262 stdcall SetupSetDirectoryIdW(long long wstr) SetupSetDirectoryIdW 231 SetupSetDirectoryIdW = _SetupSetDirectoryIdW@12 @262 225 232 ;263 stdcall SetupSetPlatformPathOverrideA(str) SetupSetPlatformPathOverrideA 226 233 ;264 stdcall SetupSetPlatformPathOverrideW(wstr) SetupSetPlatformPathOverrideW … … 229 236 SetupTermDefaultQueueCallback = _SetupTermDefaultQueueCallback@4 @267 230 237 ;268 stdcall SetupTerminateFileLog(ptr) SetupTerminateFileLog 238 ;@ stub ShouldDeviceBeExcluded 239 ;@ stub StampFileSecurity 240 ;@ stub StringTableAddString 241 ;@ stub StringTableAddStringEx 242 ;@ stub StringTableDestroy 243 ;@ stub StringTableDuplicate 244 ;@ stub StringTableEnum 245 ;@ stub StringTableGetExtraData 246 ;@ stub StringTableInitialize 247 ;@ stub StringTableInitializeEx 248 ;@ stub StringTableLookUpString 249 ;@ stub StringTableLookUpStringEx 250 ;@ stub StringTableSetExtraData 251 ;@ stub StringTableStringFromId 252 ;@ stub StringTableTrim 253 ;@ stub TakeOwnershipOfFile 254 ;@ stub UnicodeToMultiByte 255 ;@ stub UnmapAndCloseFile 256 ;@ stub pSetupDirectoryIdToPath 257 ;@ stub pSetupGetField 258 ;@ stub pSetupGetOsLoaderDriveAndPath 259 ;@ stub pSetupGetVersionDatum 260 ;@ stub pSetupGuidFromString 261 ;@ stub pSetupIsGuidNull 262 ;@ stub pSetupMakeSurePathExists 263 ;@ stub pSetupStringFromGuid -
TabularUnified trunk/src/setupapi/setupapirsrc.orc ¶
r4989 r8667 1 /* $Id: setupapirsrc.orc,v 1. 1 2001-01-20 18:06:12sandervl Exp $ */1 /* $Id: setupapirsrc.orc,v 1.2 2002-06-15 10:44:06 sandervl Exp $ */ 2 2 3 3 #include "winuser.h" … … 40 40 END 41 41 END 42 43 #include "setupapi.orc" -
TabularUnified trunk/src/setupapi/stubs.c ¶
r8421 r8667 40 40 */ 41 41 BOOL WINAPI SetupIterateCabinetW(PWSTR CabinetFile, DWORD Reserved, 42 PSP_FILE_CALLBACK_W MsgHandler, PVOID Context) 42 PSP_FILE_CALLBACK_W MsgHandler, PVOID Context) 43 43 { 44 44 FIXME("not implemented (setupapi.dll) \n"); -
TabularUnified trunk/src/setupapi/virtcopy.c ¶
r8421 r8667 156 156 /*********************************************************************** 157 157 * vsmGetStringName (SETUPX.205) 158 * 158 * 159 159 * Pretty correct, I guess 160 160 */ … … 207 207 { 208 208 if (pvnlist[vn_last] == NULL) 209 break; 209 break; 210 210 vn_last++; 211 211 } … … 220 220 lpvn = pvnlist[vn_last]; 221 221 vn_last++; 222 222 223 223 lpvn->cbSize = sizeof(VIRTNODE); 224 224 … … 293 293 /*********************************************************************** 294 294 * VcpQueueCopy [SETUPX.13] 295 * 295 * 296 296 * lpExpandVtbl seems to be deprecated. 297 297 * fl are the CNFL_xxx and VNFL_xxx flags. … … 311 311 return ERR_VCP_NOTOPEN; 312 312 313 TRACE("srcdir: %s, srcfile: %s, dstdir: %s, dstfile: %s\n", 313 TRACE("srcdir: %s, srcfile: %s, dstdir: %s, dstfile: %s\n", 314 314 lpszSrcDir, lpszSrcFileName, lpszDstDir, lpszDstFileName); 315 315 … … 355 355 /*********************************************************************** 356 356 * VcpQueueRename [SETUPX.204] 357 * 357 * 358 358 */ 359 359 RETERR16 WINAPI VcpQueueRename16( … … 479 479 cbres = VCP_CALLBACK(&vcp_status, VCPM_VSTATWRITE, 0, 0, VCP_MsgRef); 480 480 } 481 481 482 482 cbres = VCP_CALLBACK(&vcp_status, VCPM_VSTATCOPYEND, 0, 0, VCP_MsgRef); 483 483 return res; … … 512 512 /* FIXME: needs to sort virtnodes in case VCPFL_INSPECIFIEDORDER 513 513 * is not set. This is done by VCP_CALLBACK(VCPM_NODECOMPARE) */ 514 514 515 515 TRACE("#1\n"); 516 516 memset(&vcp_status, 0, sizeof(VCPSTATUS)); … … 525 525 return res; /* is this ok ? */ 526 526 VCP_CopyFiles(); 527 527 528 528 TRACE("#5\n"); 529 529 cbres = VCP_CALLBACK(&vcp_status, VCPM_VSTATCLOSEEND, 0, 0, VCP_MsgRef); … … 638 638 wndClass.hbrBackground = (HBRUSH)NULL; 639 639 wndClass.lpszClassName = "setupx_progress"; 640 640 641 641 RegisterClassA (&wndClass); 642 642 } … … 702 702 return VCPN_FAIL; 703 703 RegCloseKey(hKeyConflict); 704 704 705 705 return VCPN_OK; 706 706 }
Note:
See TracChangeset
for help on using the changeset viewer.