[sl] syslinux support (EXPERIMENTAL)

* MS platforms only (*BREAKS* MinGW)
This commit is contained in:
Pete Batard 2012-01-12 02:52:40 +00:00
parent 130afd8294
commit acf7d072b0
43 changed files with 3063 additions and 57 deletions

View file

@ -117,8 +117,9 @@ enum {
};
enum dos_type {
DT_FREEDOS = 0,
DT_WINME,
DT_WINME = 0,
DT_FREEDOS,
DT_SYSLINUX,
DT_MAX
};
@ -163,7 +164,8 @@ extern HWND CreateTooltip(HWND hControl, const char* message, int duration);
extern void DestroyTooltip(HWND hWnd);
extern void DestroyAllTooltips(void);
extern BOOL Notification(int type, char* title, char* format, ...);
extern BOOL ExtractDOS(const char* path, int dos_type);
extern BOOL ExtractDOS(const char* path);
extern BOOL InstallSysLinux(DWORD num, const char* drive_name);
extern void __cdecl FormatThread(void* param);
extern BOOL CreatePartition(HANDLE hDrive);
extern HANDLE GetDriveHandle(DWORD DriveIndex, char* DriveLetter, BOOL bWriteAccess, BOOL bLockDrive);