ReactOS 0.4.16-dev-716-g2b2bdab
|
#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 43 of file drivepage.c.
#define IDS_LIST_COLUMN_LAST IDS_PARTITION_STATUS |
Definition at line 44 of file drivepage.c.
#define MAX_LIST_COLUMNS (IDS_LIST_COLUMN_LAST - IDS_LIST_COLUMN_FIRST + 1) |
Definition at line 46 of file drivepage.c.
#define NDEBUG |
Definition at line 38 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 1408 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 736 of file drivepage.c.
Referenced by InitPartitionList().
Called on response to the TVN_DELETEITEM notification sent by the TreeList.
Definition at line 1172 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 1431 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 1531 of file drivepage.c.
Referenced by DriveDlgProc().
Sanitize in-place any text found in the clipboard.
Definition at line 88 of file drivepage.c.
Referenced by InstallDirEditProc().
Sanitize a given string in-place, by removing any invalid character found in it.
Definition at line 59 of file drivepage.c.
Referenced by DoSanitizeClipboard().
Definition at line 1381 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 1634 of file drivepage.c.
Referenced by _tWinMain().
PVOL_CREATE_INFO FindVolCreateInTreeByVolume | ( | _In_ HWND | hTreeList, |
_In_ PVOLENTRY | Volume | ||
) |
Definition at line 852 of file drivepage.c.
Referenced by FsVolCallback().
|
static |
Definition at line 574 of file drivepage.c.
Referenced by DriveDlgProc().
|
static |
Definition at line 395 of file drivepage.c.
Referenced by FormatDlgProc(), and PartitionDlgProc().
Definition at line 815 of file drivepage.c.
Referenced by DoCreatePartition(), DoDeletePartition(), FindVolCreateInTreeByVolume(), and GetSelectedPartition().
Definition at line 881 of file drivepage.c.
Referenced by PrintPartitionData().
Definition at line 833 of file drivepage.c.
Referenced by DriveDlgProc().
Definition at line 1344 of file drivepage.c.
Referenced by DriveDlgProc().
|
static |
Subclass edit window procedure to filter allowed characters for the ReactOS installation directory.
Definition at line 168 of file drivepage.c.
Referenced by MoreOptDlgProc().
|
static |
Definition at line 231 of file drivepage.c.
Referenced by DriveDlgProc().
|
static |
Definition at line 627 of file drivepage.c.
Referenced by DriveDlgProc().
|
static |
Definition at line 945 of file drivepage.c.
Referenced by PrintDiskData().
|
static |
Definition at line 968 of file drivepage.c.
Referenced by PrintPartitionData().
|
static |
Definition at line 1194 of file drivepage.c.
Referenced by DrawPartitionList().
|
static |
Definition at line 998 of file drivepage.c.
Referenced by DoCreatePartition(), DoDeletePartition(), PrintDiskData(), and PrintPartitionData().
Definition at line 133 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 770 of file drivepage.c.
Referenced by PrintDiskData(), and PrintPartitionData().
Definition at line 799 of file drivepage.c.
Referenced by GetItemPartition().
|
static |
Definition at line 49 of file drivepage.c.
Referenced by InitPartitionList().
|
static |
Definition at line 47 of file drivepage.c.
Referenced by InitPartitionList().
|
static |
Definition at line 48 of file drivepage.c.
Referenced by InitPartitionList().