|
ReactOS 0.4.17-dev-540-g8f54750
|
#include "reactos.h"#include <winnls.h>#include <ndk/obfuncs.h>#include "resource.h"#include <debug.h>#include <ndk/exfuncs.h>#include <delayimp.h>#include <pshpack1.h>#include <poppack.h>
Go to the source code of this file.
Classes | |
| struct | _FSVOL_CONTEXT |
| struct | _COPYCONTEXT |
| struct | _CLOSABLE_WND_INFO |
| struct | DLGTEMPLATEEX |
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 |
| typedef struct DLGTEMPLATEEX | DLGTEMPLATEEX |
| typedef struct DLGTEMPLATEEX * | LPDLGTEMPLATEEX |
Variables | |
| HANDLE | ProcessHeap |
| SETUPDATA | SetupData |
| static BOOLEAN | IsUnattendedSetup |
| PPARTENTRY | InstallPartition = NULL |
| PPARTENTRY | SystemPartition = NULL |
| UI_CONTEXT | UiContext |
| HCURSOR | hWaitCursor |
| 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 |
| WNDPROC | wpOrgPrshtProc = NULL |
| struct { | |
| BOOL IncludeForUnattended | |
| DWORD dwFlags | |
| PCWSTR pszTemplate | |
| PCWSTR pszHeaderTitle | |
| PCWSTR pszHeaderSubTitle | |
| DLGPROC pfnDlgProc | |
| } | WizardPages [] |
| #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 DLGTEMPLATEEX DLGTEMPLATEEX |
| typedef struct _FSVOL_CONTEXT FSVOL_CONTEXT |
| typedef struct DLGTEMPLATEEX * LPDLGTEMPLATEEX |
| typedef struct _CLOSABLE_WND_INFO * PCLOSABLE_WND_INFO |
| typedef struct _COPYCONTEXT * PCOPYCONTEXT |
| typedef struct _FSVOL_CONTEXT * PFSVOL_CONTEXT |
Definition at line 3609 of file reactos.c.
|
static |
Definition at line 729 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
Detects whether there exist interactive closable windows opened.
Definition at line 2614 of file reactos.c.
Referenced by _tWinMain(), and FinishDlgProc().
Definition at line 46 of file reactos.c.
Referenced by FinishDlgProc(), CEditCompatModes::OnInitDialog(), CConfirmReplace::OnInitDialog(), CZipPassword::OnInitDialog(), and PrshtWndProc().
| BOOL ConvertNtPathToWin32Path | ( | IN OUT PNT_WIN32_PATH_MAPPING_LIST | MappingList, |
| OUT PWSTR | pwszPath, | ||
| IN DWORD | cchPathMax, | ||
| IN PCWSTR | pwszNTPath | ||
| ) |
Definition at line 2968 of file reactos.c.
Referenced by SetupOpenInfFileExW().
Create a bold font derived from the provided font.
Definition at line 73 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 563 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
|
inlinestatic |
Definition at line 107 of file reactos.c.
Referenced by _tWinMain().
|
static |
Definition at line 986 of file reactos.c.
Definition at line 264 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 245 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(), SelectInstallPartition(), 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 175 of file reactos.c.
Referenced by DisplayError(), and DisplayMessage().
Definition at line 3227 of file reactos.c.
Referenced by _tWinMain().
|
static |
Definition at line 1707 of file reactos.c.
Referenced by PrepareAndDoCopyThread().
Definition at line 2579 of file reactos.c.
Referenced by AreThereInteractiveWindows().
|
static |
Definition at line 2632 of file reactos.c.
| size_t FormatAllocStringWV | ( | _In_opt_ _Outptr_ PWSTR * | pString, |
| _In_opt_ size_t | cchBufferLen, | ||
| _In_ PCWSTR | pszFormat, | ||
| _In_ va_list | args | ||
| ) |
Definition at line 150 of file reactos.c.
Referenced by DisplayMessageV(), and SetWindowResPrintfVW().
|
static |
Definition at line 1296 of file reactos.c.
Referenced by FsVolCallback().
| VOID FreeNtToWin32PathMappingList | ( | IN OUT PNT_WIN32_PATH_MAPPING_LIST | MappingList | ) |
Definition at line 2947 of file reactos.c.
Referenced by _tWinMain().
|
static |
HACK!!
HACK!!
Definition at line 1362 of file reactos.c.
Referenced by DoChecking(), DoFormatting(), FsVolCommitOpsQueue(), InitSystemPartition(), and PrepareAndDoCopyThread().
Definition at line 3306 of file reactos.c.
Referenced by setupDelayHook().
Definition at line 698 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
|
static |
Definition at line 718 of file reactos.c.
Referenced by DeviceDlgProc(), and SummaryDlgProc().
Definition at line 3257 of file reactos.c.
Referenced by _tWinMain().
| VOID InitGenericComboList | ( | IN HWND | hWndList, |
| IN PGENERIC_LIST | List, | ||
| IN PGET_ENTRY_DESCRIPTION | GetEntryDescriptionProc | ||
| ) |
Definition at line 602 of file reactos.c.
Referenced by DeviceDlgProc().
| VOID InitGenericListView | ( | IN HWND | hWndList, |
| IN PGENERIC_LIST | List, | ||
| IN PADD_ENTRY_ITEM | AddEntryItemProc | ||
| ) |
Definition at line 661 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
| VOID InitNtToWin32PathMappingList | ( | IN OUT PNT_WIN32_PATH_MAPPING_LIST | MappingList | ) |
Definition at line 2939 of file reactos.c.
Referenced by _tWinMain().
Detects whether a Windows shell is active.
Definition at line 2556 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 115 of file reactos.c.
Referenced by DisplayMessageV(), SetWindowResPrintfVW(), and SetWindowResTextW().
| BOOL LoadSetupData | ( | IN OUT PSETUPDATA | pSetupData | ) |
Definition at line 2844 of file reactos.c.
Referenced by _tWinMain().
Definition at line 1892 of file reactos.c.
Referenced by ProcessDlgProc().
|
static |
Definition at line 2248 of file reactos.c.
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 1877 of file reactos.c.
Referenced by FinishDlgProc(), PrepareAndDoCopyThread(), and ProcessDlgProc().
|
static |
Definition at line 3494 of file reactos.c.
Referenced by _tWinMain().
|
static |
Definition at line 3451 of file reactos.c.
Referenced by PropSheetCallback().
|
static |
Definition at line 1839 of file reactos.c.
Referenced by PrepareAndDoCopyThread().
|
static |
Controls the delay-loading of Setup DLLs from a suitable path.
Definition at line 3365 of file reactos.c.
| VOID SetWindowResPrintfVW | ( | _In_ HWND | hWnd, |
| _In_opt_ HINSTANCE | hInstance, | ||
| _In_ UINT | uID, | ||
| _In_ va_list | args | ||
| ) |
Definition at line 303 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 341 of file reactos.c.
Referenced by FileCopyCallback(), FsVolCallback(), and RegistryStatus().
Definition at line 284 of file reactos.c.
Referenced by FinishDlgProc(), PrepareAndDoCopyThread(), and SummaryDlgProc().
|
static |
Definition at line 355 of file reactos.c.
|
static |
Definition at line 1089 of file reactos.c.
|
static |
Definition at line 427 of file reactos.c.
|
static |
Definition at line 794 of file reactos.c.
| PfnDliHook __pfnDliFailureHook2 = setupDelayHook |
| PfnDliHook __pfnDliNotifyHook2 = setupDelayHook |
|
static |
Definition at line 791 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
|
static |
Definition at line 789 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
|
static |
Definition at line 790 of file reactos.c.
Referenced by UpgradeRepairDlgProc().
| HCURSOR hWaitCursor |
Definition at line 39 of file reactos.c.
Referenced by ProcessDlgProc(), and PrshtWndProc().
| PPARTENTRY InstallPartition = NULL |
Definition at line 28 of file reactos.c.
Referenced by InitSystemPartition(), PrepareAndDoCopyThread(), SelectInstallPartition(), SummaryDlgProc(), TypeDlgProc(), and UpgradeRepairDlgProc().
|
static |
Definition at line 25 of file reactos.c.
Referenced by _tWinMain(), FsVolCallback(), and LoadSetupData().
| DLGPROC pfnDlgProc |
Definition at line 3554 of file reactos.c.
Referenced by SH_CreatePropertySheetPage(), and SH_CreatePropertySheetPageEx().
| HANDLE ProcessHeap |
Definition at line 23 of file reactos.c.
Referenced by _tWinMain(), ConvertNtPathToWin32Path(), and FreeNtToWin32PathMappingList().
| PCWSTR pszHeaderSubTitle |
Definition at line 3553 of file reactos.c.
Referenced by free_prop_sheet_pages(), and prop_sheet_pages_AtoW().
| PCWSTR pszHeaderTitle |
Definition at line 3552 of file reactos.c.
Referenced by free_prop_sheet_pages(), and prop_sheet_pages_AtoW().
| PCWSTR pszTemplate |
Definition at line 3551 of file reactos.c.
Referenced by free_prop_sheet_pages(), and prop_sheet_pages_AtoW().
| 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(), PropSheetCallback(), 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().
| const struct { ... } WizardPages[] |
Referenced by _tWinMain().
Definition at line 3446 of file reactos.c.
Referenced by PropSheetCallback(), and PrshtWndProc().