|
ReactOS 0.4.17-dev-444-g71ee754
|
#include "reactos.h"#include <winnls.h>#include <ndk/obfuncs.h>#include "resource.h"#include <debug.h>#include <ndk/exfuncs.h>#include <delayimp.h>
Go to the source code of this file.
Classes | |
| struct | _FSVOL_CONTEXT |
| struct | _COPYCONTEXT |
| struct | _CLOSABLE_WND_INFO |
Typedefs | |
| typedef VOID(NTAPI * | PGET_ENTRY_DESCRIPTION) (IN PGENERIC_LIST_ENTRY Entry, OUT PWSTR Buffer, IN SIZE_T cchBufferSize) |
| typedef VOID(NTAPI * | PADD_ENTRY_ITEM) (IN HWND hWndList, IN LVITEM *plvItem, IN PGENERIC_LIST_ENTRY Entry, IN OUT PWSTR Buffer, IN SIZE_T cchBufferSize) |
| typedef struct _FSVOL_CONTEXT | FSVOL_CONTEXT |
| typedef struct _FSVOL_CONTEXT * | PFSVOL_CONTEXT |
| typedef struct _COPYCONTEXT | COPYCONTEXT |
| typedef struct _COPYCONTEXT * | PCOPYCONTEXT |
| typedef struct _CLOSABLE_WND_INFO | CLOSABLE_WND_INFO |
| typedef struct _CLOSABLE_WND_INFO * | PCLOSABLE_WND_INFO |
Variables | |
| HANDLE | ProcessHeap |
| SETUPDATA | SetupData |
| static BOOLEAN | IsUnattendedSetup |
| PPARTENTRY | InstallPartition = NULL |
| PPARTENTRY | SystemPartition = NULL |
| UI_CONTEXT | UiContext |
| static const UINT | column_ids [MAX_LIST_COLUMNS] = {IDS_LIST_COLUMN_FIRST, IDS_LIST_COLUMN_FIRST + 1, IDS_LIST_COLUMN_FIRST + 2} |
| static const INT | column_widths [MAX_LIST_COLUMNS] = {200, 150, 100} |
| static const INT | column_alignment [MAX_LIST_COLUMNS] = {LVCFMT_LEFT, LVCFMT_LEFT, LVCFMT_LEFT} |
| PfnDliHook | __pfnDliNotifyHook2 = setupDelayHook |
| Custom delay-loading hooks for loading the Setup DLLs from a suitable path. | |
| PfnDliHook | __pfnDliFailureHook2 = setupDelayHook |
| #define DECLARE_UNICODE_STRING_SIZE | ( | _var, | |
| _size | |||
| ) |
| #define IDS_LIST_COLUMN_FIRST IDS_INSTALLATION_NAME |
| #define IDS_LIST_COLUMN_LAST IDS_INSTALLATION_VENDOR |
| #define InstallVolume (InstallPartition->Volume) |
| #define MAX_LIST_COLUMNS (IDS_LIST_COLUMN_LAST - IDS_LIST_COLUMN_FIRST + 1) |
| #define SystemVolume (SystemPartition->Volume) |
| typedef struct _COPYCONTEXT COPYCONTEXT |
| typedef struct _FSVOL_CONTEXT FSVOL_CONTEXT |
| typedef struct _CLOSABLE_WND_INFO * PCLOSABLE_WND_INFO |
| typedef struct _COPYCONTEXT * PCOPYCONTEXT |
| typedef struct _FSVOL_CONTEXT * PFSVOL_CONTEXT |
Definition at line 3250 of file reactos.c.
|
static |
Definition at line 730 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
Detects whether there exist interactive closable windows opened.
Definition at line 2451 of file reactos.c.
Referenced by _tWinMain(), and FinishDlgProc().
Definition at line 44 of file reactos.c.
Referenced by CEditCompatModes::OnInitDialog(), CConfirmReplace::OnInitDialog(), CZipPassword::OnInitDialog(), and StartDlgProc().
| BOOL ConvertNtPathToWin32Path | ( | IN OUT PNT_WIN32_PATH_MAPPING_LIST | MappingList, |
| OUT PWSTR | pwszPath, | ||
| IN DWORD | cchPathMax, | ||
| IN PCWSTR | pwszNTPath | ||
| ) |
Definition at line 2787 of file reactos.c.
Referenced by SetupOpenInfFileExW().
Create a bold font derived from the provided font.
Definition at line 71 of file reactos.c.
Referenced by _tWinMain(), CreateTitleFont(), and ProgressDlg::ProcessWindowMessage().
| BOOL CreateListViewColumns | ( | IN HINSTANCE | hInstance, |
| IN HWND | hWndListView, | ||
| IN const UINT * | pIDs, | ||
| IN const INT * | pColsWidth, | ||
| IN const INT * | pColsAlign, | ||
| IN UINT | nNumOfColumns | ||
| ) |
Definition at line 564 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
|
inlinestatic |
Definition at line 105 of file reactos.c.
Referenced by _tWinMain().
|
static |
Definition at line 987 of file reactos.c.
Referenced by _tWinMain().
Definition at line 262 of file reactos.c.
Referenced by _tWinMain(), FsVolCallback(), and PrepareAndDoCopyThread().
| INT __cdecl DisplayMessage | ( | _In_opt_ HWND | hWnd, |
| _In_ UINT | uType, | ||
| _In_opt_ PCWSTR | pszTitle, | ||
| _In_opt_ PCWSTR | pszFormatMessage, | ||
| ... | |||
| ) |
Definition at line 243 of file reactos.c.
Referenced by _tWinMain(), AttachToConsoleInternal(), Bios32Post(), BiosRomBasic(), BrowseDlgProc(), CmdStartProcess(), ControlBop(), CpuSimulate(), DeviceDlgProc(), DosCreateProcess(), DosStartProcess32(), DriveDlgProc(), EjectFloppy(), EmulatorException(), FsVolCallback(), LoadInstallableVDD(), MountDisk(), MountFDI(), MountFloppy(), MountHDD(), PrepareAndDoCopyThread(), ProcessDlgProc(), RetrieveDisk(), SummaryDlgProc(), TypeDlgProc(), UnmountDisk(), UpgradeRepairDlgProc(), VgaAttachToConsole(), VgaConsoleCreateTextScreen(), VgaEnterNewMode(), and WinNtVdmBiosReset().
| INT DisplayMessageV | ( | _In_opt_ HWND | hWnd, |
| _In_ UINT | uType, | ||
| _In_opt_ PCWSTR | pszTitle, | ||
| _In_opt_ PCWSTR | pszFormatMessage, | ||
| _In_ va_list | args | ||
| ) |
Definition at line 173 of file reactos.c.
Referenced by DisplayError(), and DisplayMessage().
Definition at line 3046 of file reactos.c.
Referenced by _tWinMain().
|
static |
Definition at line 1717 of file reactos.c.
Referenced by PrepareAndDoCopyThread().
Definition at line 2416 of file reactos.c.
Referenced by AreThereInteractiveWindows().
|
static |
Definition at line 2469 of file reactos.c.
Referenced by _tWinMain().
| size_t FormatAllocStringWV | ( | _In_opt_ _Outptr_ PWSTR * | pString, |
| _In_opt_ size_t | cchBufferLen, | ||
| _In_ PCWSTR | pszFormat, | ||
| _In_ va_list | args | ||
| ) |
Definition at line 148 of file reactos.c.
Referenced by DisplayMessageV(), and SetWindowResPrintfVW().
|
static |
Definition at line 1306 of file reactos.c.
Referenced by FsVolCallback().
| VOID FreeNtToWin32PathMappingList | ( | IN OUT PNT_WIN32_PATH_MAPPING_LIST | MappingList | ) |
Definition at line 2766 of file reactos.c.
Referenced by _tWinMain().
|
static |
HACK!!
HACK!!
Definition at line 1372 of file reactos.c.
Referenced by DoChecking(), DoFormatting(), FsVolCommitOpsQueue(), InitSystemPartition(), and PrepareAndDoCopyThread().
Definition at line 3125 of file reactos.c.
Referenced by setupDelayHook().
Definition at line 699 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
|
static |
Definition at line 719 of file reactos.c.
Referenced by DeviceDlgProc(), and SummaryDlgProc().
Definition at line 3076 of file reactos.c.
Referenced by _tWinMain().
| VOID InitGenericComboList | ( | IN HWND | hWndList, |
| IN PGENERIC_LIST | List, | ||
| IN PGET_ENTRY_DESCRIPTION | GetEntryDescriptionProc | ||
| ) |
Definition at line 603 of file reactos.c.
Referenced by DeviceDlgProc().
| VOID InitGenericListView | ( | IN HWND | hWndList, |
| IN PGENERIC_LIST | List, | ||
| IN PADD_ENTRY_ITEM | AddEntryItemProc | ||
| ) |
Definition at line 662 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
| VOID InitNtToWin32PathMappingList | ( | IN OUT PNT_WIN32_PATH_MAPPING_LIST | MappingList | ) |
Definition at line 2758 of file reactos.c.
Referenced by _tWinMain().
Detects whether a Windows shell is active.
Definition at line 2393 of file reactos.c.
Referenced by AreThereInteractiveWindows(), and FinishDlgProc().
| size_t LoadAllocStringW | ( | _In_opt_ HINSTANCE hInstance hInstance | , |
| _In_ UINT | uID, | ||
| _In_opt_ _Outptr_ PWSTR * | pString, | ||
| _In_opt_ size_t | cchBufferLen | ||
| ) |
Definition at line 113 of file reactos.c.
Referenced by DisplayMessageV(), SetWindowResPrintfVW(), and SetWindowResTextW().
| BOOL LoadSetupData | ( | IN OUT PSETUPDATA | pSetupData | ) |
Definition at line 2666 of file reactos.c.
Referenced by _tWinMain().
Definition at line 1888 of file reactos.c.
Referenced by ProcessDlgProc().
|
static |
Definition at line 2270 of file reactos.c.
Referenced by _tWinMain().
Enable or disable the Cancel and the Close title-bar property-sheet buttons.
The buttons are however kept visible in case they are disabled (this informs the user they are disabled only temporarily).
Definition at line 1876 of file reactos.c.
Referenced by FinishDlgProc(), and PrepareAndDoCopyThread().
|
static |
Definition at line 1838 of file reactos.c.
Referenced by PrepareAndDoCopyThread().
|
static |
Controls the delay-loading of Setup DLLs from a suitable path.
Definition at line 3184 of file reactos.c.
| VOID SetWindowResPrintfVW | ( | _In_ HWND | hWnd, |
| _In_opt_ HINSTANCE | hInstance, | ||
| _In_ UINT | uID, | ||
| _In_ va_list | args | ||
| ) |
Definition at line 301 of file reactos.c.
Referenced by RegistryStatus(), and SetWindowResPrintfW().
| VOID __cdecl SetWindowResPrintfW | ( | _In_ HWND | hWnd, |
| _In_opt_ HINSTANCE | hInstance, | ||
| _In_ UINT | uID, | ||
| ... | |||
| ) |
Definition at line 339 of file reactos.c.
Referenced by FileCopyCallback(), FsVolCallback(), and RegistryStatus().
Definition at line 282 of file reactos.c.
Referenced by FinishDlgProc(), PrepareAndDoCopyThread(), and SummaryDlgProc().
|
static |
Definition at line 353 of file reactos.c.
Referenced by _tWinMain().
|
static |
Definition at line 1097 of file reactos.c.
Referenced by _tWinMain().
|
static |
Definition at line 423 of file reactos.c.
Referenced by _tWinMain().
|
static |
Definition at line 795 of file reactos.c.
Referenced by _tWinMain().
| PfnDliHook __pfnDliFailureHook2 = setupDelayHook |
| PfnDliHook __pfnDliNotifyHook2 = setupDelayHook |
|
static |
Definition at line 792 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
|
static |
Definition at line 790 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
|
static |
Definition at line 791 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
| PPARTENTRY InstallPartition = NULL |
Definition at line 28 of file reactos.c.
Referenced by DriveDlgProc(), InitSystemPartition(), PrepareAndDoCopyThread(), SummaryDlgProc(), TypeDlgProc(), and UpgradeRepairDlgProc().
|
static |
Definition at line 25 of file reactos.c.
Referenced by _tWinMain(), FsVolCallback(), and LoadSetupData().
| HANDLE ProcessHeap |
Definition at line 23 of file reactos.c.
Referenced by _tWinMain(), ConvertNtPathToWin32Path(), and FreeNtToWin32PathMappingList().
| SETUPDATA SetupData |
Definition at line 24 of file reactos.c.
Referenced by _tWinMain(), CreateTimeZoneList(), DateTimePageDlgProc(), DestroyTimeZoneList(), FileCopyCallback(), FinishDlgProc(), FormatDlgProcWorker(), FsVolCallback(), GetLargerTimeZoneEntry(), GetLocalSystemTime(), GetSelectedTimeZoneEntry(), GetTimeZoneEntryByIndex(), LocalePageDlgProc(), ProcessPageDlgProc(), RegistryStatus(), RetrieveTimeZone(), SetLocalTimeZone(), SetSystemLocalTime(), SetupOpenInfFileExW(), ShowErrorTip(), ShowTimeZoneList(), ThemePageDlgProc(), and WriteDateTimeSettings().
| PPARTENTRY SystemPartition = NULL |
Definition at line 33 of file reactos.c.
Referenced by InitSystemPartition(), LoadAndBootWindows(), LoadAndBootWindowsCommon(), LoadReactOSSetup(), OpenBootStore(), PrepareAndDoCopyThread(), SmpTranslateSystemPartitionInformation(), and WinLdrInitializePhase1().
| UI_CONTEXT UiContext |
Definition at line 38 of file reactos.c.
Referenced by DriveDlgProc(), FileCopyCallback(), FormatCallback(), FsVolCallback(), PrepareAndDoCopyThread(), and RegistryStatus().