mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	[ms-sys] ms-sys cleanup
This commit is contained in:
		
							parent
							
								
									a352ad019d
								
							
						
					
					
						commit
						2a3b95a11a
					
				
					 6 changed files with 11 additions and 21 deletions
				
			
		|  | @ -189,9 +189,3 @@ int write_zero_mbr(FILE *fp) | ||||||
|       write_data(fp, 0x0,   mbr_zero_0x0, sizeof(mbr_zero_0x0)) && |       write_data(fp, 0x0,   mbr_zero_0x0, sizeof(mbr_zero_0x0)) && | ||||||
|       write_data(fp, 0x1FE, aucRef, sizeof(aucRef)); |       write_data(fp, 0x1FE, aucRef, sizeof(aucRef)); | ||||||
| } /* write_zero_mbr */ | } /* write_zero_mbr */ | ||||||
| 
 |  | ||||||
| int clear_mbr(FILE *fp) |  | ||||||
| { |  | ||||||
| 	unsigned char buf[512] = { 0 }; |  | ||||||
| 	return write_data(fp, 0x0, buf, sizeof(buf)); |  | ||||||
| } /* clear_mbr */ |  | ||||||
|  |  | ||||||
|  | @ -80,8 +80,4 @@ int write_syslinux_mbr(FILE *fp); | ||||||
|    FALSE */ |    FALSE */ | ||||||
| int write_zero_mbr(FILE *fp); | int write_zero_mbr(FILE *fp); | ||||||
| 
 | 
 | ||||||
| /* Completely clears (zeroes) master boot record, returns TRUE on success, otherwise
 |  | ||||||
|    FALSE */ |  | ||||||
| int clear_mbr(FILE *fp); |  | ||||||
| 
 |  | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ int is_fat_16_fs(FILE *fp); | ||||||
|    The file position will change when this function is called! */ |    The file position will change when this function is called! */ | ||||||
| int is_fat_16_br(FILE *fp); | int is_fat_16_br(FILE *fp); | ||||||
| 
 | 
 | ||||||
| /* returns TRUE if the file has an exact match ot the FAT16 boot record this
 | /* returns TRUE if the file has an exact match of the FAT16 boot record this
 | ||||||
|    program would create, otherwise FALSE. |    program would create, otherwise FALSE. | ||||||
|    The file position will change when this function is called! */ |    The file position will change when this function is called! */ | ||||||
| int entire_fat_16_br_matches(FILE *fp); | int entire_fat_16_br_matches(FILE *fp); | ||||||
|  | @ -20,7 +20,7 @@ int entire_fat_16_br_matches(FILE *fp); | ||||||
|    FALSE */ |    FALSE */ | ||||||
| int write_fat_16_br(FILE *fp, int bKeepLabel); | int write_fat_16_br(FILE *fp, int bKeepLabel); | ||||||
| 
 | 
 | ||||||
| /* returns TRUE if the file has an exact match ot the FAT16 boot record this
 | /* returns TRUE if the file has an exact match of the FAT16 boot record this
 | ||||||
|    program would create for FreeDOS, otherwise FALSE. |    program would create for FreeDOS, otherwise FALSE. | ||||||
|    The file position will change when this function is called! */ |    The file position will change when this function is called! */ | ||||||
| int entire_fat_16_fd_br_matches(FILE *fp); | int entire_fat_16_fd_br_matches(FILE *fp); | ||||||
|  |  | ||||||
|  | @ -20,7 +20,7 @@ int entire_fat_32_br_matches(FILE *fp); | ||||||
|    FALSE */ |    FALSE */ | ||||||
| int write_fat_32_br(FILE *fp, int bKeepLabel); | int write_fat_32_br(FILE *fp, int bKeepLabel); | ||||||
| 
 | 
 | ||||||
| /* returns TRUE if the file has an exact match ot the FAT32 boot record this
 | /* returns TRUE if the file has an exact match of the FAT32 boot record this
 | ||||||
|    program would create for FreeDOS, otherwise FALSE. |    program would create for FreeDOS, otherwise FALSE. | ||||||
|    The file position will change when this function is called! */ |    The file position will change when this function is called! */ | ||||||
| int entire_fat_32_fd_br_matches(FILE *fp); | int entire_fat_32_fd_br_matches(FILE *fp); | ||||||
|  | @ -29,7 +29,7 @@ int entire_fat_32_fd_br_matches(FILE *fp); | ||||||
|    otherwise FALSE */ |    otherwise FALSE */ | ||||||
| int write_fat_32_fd_br(FILE *fp, int bKeepLabel); | int write_fat_32_fd_br(FILE *fp, int bKeepLabel); | ||||||
| 
 | 
 | ||||||
| /* returns TRUE if the file has an exact match ot the FAT32 boot record this
 | /* returns TRUE if the file has an exact match of the FAT32 boot record this
 | ||||||
|    program would create for NT, otherwise FALSE. |    program would create for NT, otherwise FALSE. | ||||||
|    The file position will change when this function is called! */ |    The file position will change when this function is called! */ | ||||||
| int entire_fat_32_nt_br_matches(FILE *fp); | int entire_fat_32_nt_br_matches(FILE *fp); | ||||||
|  |  | ||||||
|  | @ -16,7 +16,7 @@ int is_ntfs_br(FILE *fp); | ||||||
|    The file position will change when this function is called! */ |    The file position will change when this function is called! */ | ||||||
| int entire_ntfs_br_matches(FILE *fp); | int entire_ntfs_br_matches(FILE *fp); | ||||||
| 
 | 
 | ||||||
| /* Writes a FAT32 DOS boot record to a file, returns TRUE on success, otherwise
 | /* Writes a NTFS boot record to a file, returns TRUE on success, otherwise
 | ||||||
|    FALSE */ |    FALSE */ | ||||||
| int write_ntfs_br(FILE *fp); | int write_ntfs_br(FILE *fp); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
							
								
								
									
										12
									
								
								src/rufus.rc
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								src/rufus.rc
									
										
									
									
									
								
							|  | @ -30,7 +30,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_NEUTRAL | ||||||
| IDD_DIALOG DIALOGEX 12, 12, 206, 316 | IDD_DIALOG DIALOGEX 12, 12, 206, 316 | ||||||
| STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU | STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU | ||||||
| EXSTYLE WS_EX_APPWINDOW | EXSTYLE WS_EX_APPWINDOW | ||||||
| CAPTION "Rufus v1.2.0.187" | CAPTION "Rufus v1.2.0.188" | ||||||
| FONT 8, "MS Shell Dlg", 400, 0, 0x1 | FONT 8, "MS Shell Dlg", 400, 0, 0x1 | ||||||
| BEGIN | BEGIN | ||||||
|     DEFPUSHBUTTON   "Start",IDC_START,94,278,50,14 |     DEFPUSHBUTTON   "Start",IDC_START,94,278,50,14 | ||||||
|  | @ -77,7 +77,7 @@ BEGIN | ||||||
|     DEFPUSHBUTTON   "OK",IDOK,231,175,50,14,WS_GROUP |     DEFPUSHBUTTON   "OK",IDOK,231,175,50,14,WS_GROUP | ||||||
|     CONTROL         "<a href=""http://rufus.akeo.ie"">http://rufus.akeo.ie</a>",IDC_ABOUT_RUFUS_URL, |     CONTROL         "<a href=""http://rufus.akeo.ie"">http://rufus.akeo.ie</a>",IDC_ABOUT_RUFUS_URL, | ||||||
|                     "SysLink",WS_TABSTOP,46,47,114,9 |                     "SysLink",WS_TABSTOP,46,47,114,9 | ||||||
|     LTEXT           "Version 1.2.0 (Build 187)",IDC_STATIC,46,19,78,8 |     LTEXT           "Version 1.2.0 (Build 188)",IDC_STATIC,46,19,78,8 | ||||||
|     PUSHBUTTON      "License...",IDC_ABOUT_LICENSE,46,175,50,14,WS_GROUP |     PUSHBUTTON      "License...",IDC_ABOUT_LICENSE,46,175,50,14,WS_GROUP | ||||||
|     EDITTEXT        IDC_ABOUT_COPYRIGHTS,46,107,235,63,ES_MULTILINE | ES_READONLY | WS_VSCROLL |     EDITTEXT        IDC_ABOUT_COPYRIGHTS,46,107,235,63,ES_MULTILINE | ES_READONLY | WS_VSCROLL | ||||||
|     LTEXT           "Report bugs or request enhancements at:",IDC_STATIC,46,66,187,8 |     LTEXT           "Report bugs or request enhancements at:",IDC_STATIC,46,66,187,8 | ||||||
|  | @ -237,8 +237,8 @@ END | ||||||
| // | // | ||||||
| 
 | 
 | ||||||
| VS_VERSION_INFO VERSIONINFO | VS_VERSION_INFO VERSIONINFO | ||||||
|  FILEVERSION 1,2,0,187 |  FILEVERSION 1,2,0,188 | ||||||
|  PRODUCTVERSION 1,2,0,187 |  PRODUCTVERSION 1,2,0,188 | ||||||
|  FILEFLAGSMASK 0x3fL |  FILEFLAGSMASK 0x3fL | ||||||
| #ifdef _DEBUG | #ifdef _DEBUG | ||||||
|  FILEFLAGS 0x1L |  FILEFLAGS 0x1L | ||||||
|  | @ -255,13 +255,13 @@ BEGIN | ||||||
|         BEGIN |         BEGIN | ||||||
|             VALUE "CompanyName", "akeo.ie" |             VALUE "CompanyName", "akeo.ie" | ||||||
|             VALUE "FileDescription", "Rufus" |             VALUE "FileDescription", "Rufus" | ||||||
|             VALUE "FileVersion", "1.2.0.187" |             VALUE "FileVersion", "1.2.0.188" | ||||||
|             VALUE "InternalName", "Rufus" |             VALUE "InternalName", "Rufus" | ||||||
|             VALUE "LegalCopyright", "© 2011 Pete Batard (GPL v3)" |             VALUE "LegalCopyright", "© 2011 Pete Batard (GPL v3)" | ||||||
|             VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" |             VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" | ||||||
|             VALUE "OriginalFilename", "rufus.exe" |             VALUE "OriginalFilename", "rufus.exe" | ||||||
|             VALUE "ProductName", "Rufus" |             VALUE "ProductName", "Rufus" | ||||||
|             VALUE "ProductVersion", "1.2.0.187" |             VALUE "ProductVersion", "1.2.0.188" | ||||||
|         END |         END | ||||||
|     END |     END | ||||||
|     BLOCK "VarFileInfo" |     BLOCK "VarFileInfo" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue