|
ReactOS 0.4.17-dev-116-ga4b6fe9
|
#include "reactos.h"#include <shlwapi.h>#include <math.h>#include <ntddstor.h>#include <ntddscsi.h>#include "resource.h"#include <debug.h>
Go to the source code of this file.
Classes | |
| struct | _PARTITEM |
| Data structure stored for each partition item in the TreeList. (None for disks items.) More... | |
| struct | _PARTCREATE_CTX |
| Dialog context structure used by PartitionDlgProc() and FormatDlgProc(Worker)(). More... | |
Macros | |
| #define | NDEBUG |
| #define | IDS_LIST_COLUMN_FIRST IDS_PARTITION_NAME |
| #define | IDS_LIST_COLUMN_LAST IDS_PARTITION_STATUS |
| #define | MAX_LIST_COLUMNS (IDS_LIST_COLUMN_LAST - IDS_LIST_COLUMN_FIRST + 1) |
Typedefs | |
| typedef struct _PARTITEM | PARTITEM |
| Data structure stored for each partition item in the TreeList. (None for disks items.) | |
| typedef struct _PARTITEM * | PPARTITEM |
| typedef struct _PARTCREATE_CTX | PARTCREATE_CTX |
| Dialog context structure used by PartitionDlgProc() and FormatDlgProc(Worker)(). | |
| typedef struct _PARTCREATE_CTX * | PPARTCREATE_CTX |
Variables | |
| static const UINT | column_ids [MAX_LIST_COLUMNS] = {IDS_LIST_COLUMN_FIRST, IDS_LIST_COLUMN_FIRST + 1, IDS_LIST_COLUMN_FIRST + 2, IDS_LIST_COLUMN_FIRST + 3} |
| static const INT | column_widths [MAX_LIST_COLUMNS] = {200, 90, 60, 60} |
| static const INT | column_alignment [MAX_LIST_COLUMNS] = {LVCFMT_LEFT, LVCFMT_LEFT, LVCFMT_RIGHT, LVCFMT_RIGHT} |
| #define IDS_LIST_COLUMN_FIRST IDS_PARTITION_NAME |
Definition at line 26 of file drivepage.c.
| #define IDS_LIST_COLUMN_LAST IDS_PARTITION_STATUS |
Definition at line 27 of file drivepage.c.
| #define MAX_LIST_COLUMNS (IDS_LIST_COLUMN_LAST - IDS_LIST_COLUMN_FIRST + 1) |
Definition at line 29 of file drivepage.c.
| #define NDEBUG |
Definition at line 21 of file drivepage.c.
| typedef struct _PARTCREATE_CTX PARTCREATE_CTX |
Dialog context structure used by PartitionDlgProc() and FormatDlgProc(Worker)().
Data structure stored for each partition item in the TreeList. (None for disks items.)
| typedef struct _PARTCREATE_CTX * PPARTCREATE_CTX |
Definition at line 1369 of file drivepage.c.
Referenced by DriveDlgProc().
| BOOL CreateTreeListColumns | ( | IN HINSTANCE | hInstance, |
| IN HWND | hWndTreeList, | ||
| IN const UINT * | pIDs, | ||
| IN const INT * | pColsWidth, | ||
| IN const INT * | pColsAlign, | ||
| IN UINT | nNumOfColumns | ||
| ) |
Definition at line 719 of file drivepage.c.
Referenced by InitPartitionList().
Called on response to the TVN_DELETEITEM notification sent by the TreeList.
Definition at line 1133 of file drivepage.c.
Referenced by DriveDlgProc().
|
static |
Create a partition in the selected disk region in the partition list, and update the partition list UI.
Definition at line 1392 of file drivepage.c.
Referenced by DriveDlgProc().
|
static |
Delete the selected partition in the partition list, and update the partition list UI.
Definition at line 1492 of file drivepage.c.
Referenced by DriveDlgProc().
Sanitize in-place any text found in the clipboard.
Definition at line 71 of file drivepage.c.
Referenced by InstallDirEditProc().
Sanitize a given string in-place, by removing any invalid character found in it.
Definition at line 42 of file drivepage.c.
Referenced by DoSanitizeClipboard().
Definition at line 1342 of file drivepage.c.
Referenced by DriveDlgProc(), and SelectPartitionPage().
| INT_PTR CALLBACK DriveDlgProc | ( | _In_ HWND | hwndDlg, |
| _In_ UINT | uMsg, | ||
| _In_ WPARAM | wParam, | ||
| _In_ LPARAM | lParam | ||
| ) |
Definition at line 1595 of file drivepage.c.
Referenced by _tWinMain().
| PVOL_CREATE_INFO FindVolCreateInTreeByVolume | ( | _In_ HWND | hTreeList, |
| _In_ PVOLENTRY | Volume | ||
| ) |
Definition at line 835 of file drivepage.c.
Referenced by FsVolCallback().
|
static |
Definition at line 557 of file drivepage.c.
Referenced by DriveDlgProc().
|
static |
Definition at line 378 of file drivepage.c.
Referenced by FormatDlgProc(), and PartitionDlgProc().
Definition at line 798 of file drivepage.c.
Referenced by DoCreatePartition(), DoDeletePartition(), FindVolCreateInTreeByVolume(), and GetSelectedPartition().
Definition at line 864 of file drivepage.c.
Referenced by PrintPartitionData().
Definition at line 816 of file drivepage.c.
Referenced by DriveDlgProc().
Definition at line 1305 of file drivepage.c.
Referenced by DriveDlgProc().
|
static |
Subclass edit window procedure to filter allowed characters for the ReactOS installation directory.
Definition at line 151 of file drivepage.c.
Referenced by MoreOptDlgProc().
|
static |
Definition at line 214 of file drivepage.c.
Referenced by DriveDlgProc().
|
static |
Definition at line 610 of file drivepage.c.
Referenced by DriveDlgProc().
|
static |
Definition at line 906 of file drivepage.c.
Referenced by PrintDiskData().
|
static |
Definition at line 929 of file drivepage.c.
Referenced by PrintPartitionData().
|
static |
Definition at line 1155 of file drivepage.c.
Referenced by DrawPartitionList().
|
static |
Definition at line 959 of file drivepage.c.
Referenced by DoCreatePartition(), DoDeletePartition(), PrintDiskData(), and PrintPartitionData().
Definition at line 116 of file drivepage.c.
Referenced by InstallDirEditProc().
| HTLITEM TreeListAddItem | ( | _In_ HWND | hTreeList, |
| _In_opt_ HTLITEM | hParent, | ||
| _In_opt_ HTLITEM | hInsertAfter, | ||
| _In_ LPCWSTR | lpText, | ||
| _In_ INT | iImage, | ||
| _In_ INT | iSelectedImage, | ||
| _In_ LPARAM | lParam | ||
| ) |
Definition at line 753 of file drivepage.c.
Referenced by PrintDiskData(), and PrintPartitionData().
Definition at line 782 of file drivepage.c.
Referenced by GetItemPartition().
|
static |
Definition at line 32 of file drivepage.c.
Referenced by InitPartitionList().
|
static |
Definition at line 30 of file drivepage.c.
Referenced by InitPartitionList().
|
static |
Definition at line 31 of file drivepage.c.
Referenced by InitPartitionList().