11#include "diskpart_msg.h"
130 for (cmdptr =
cmds; cmdptr->
cmd1; cmdptr++)
132 if ((cmdptr1 ==
NULL) &&
136 if ((cmdptr2 ==
NULL) &&
142 if ((cmdptr3 ==
NULL) &&
157 else if (cmdptr2 !=
NULL)
164 else if (cmdptr1 !=
NULL)
191 memset(args_vector, 0,
sizeof(args_vector));
209 args_vector[args_count] =
ptr;
241 while (bRun !=
FALSE)
244 memset(args_vector, 0,
sizeof(args_vector));
268 args_vector[args_count] =
ptr;
BOOL active_main(_In_ INT argc, _In_ PWSTR *argv)
BOOL InterpretScript(_In_ LPWSTR pszInputLine)
BOOL assign_main(INT argc, LPWSTR *argv)
BOOL attach_main(INT argc, LPWSTR *argv)
BOOL automount_main(INT argc, LPWSTR *argv)
void ConResPuts(FILE *fp, UINT nID)
DWORD WINAPI HelpCommand(LPCWSTR pwszMachine, LPWSTR *ppwcArguments, DWORD dwCurrentIndex, DWORD dwArgCount, DWORD dwFlags, LPCVOID pvData, BOOL *pbDone)
BOOL add_main(INT argc, LPWSTR *argv)
BOOL attributes_main(INT argc, LPWSTR *argv)
BOOL CreateLogicalPartition(_In_ INT argc, _In_ PWSTR *argv)
BOOL CreateExtendedPartition(_In_ INT argc, _In_ PWSTR *argv)
BOOL CreatePrimaryPartition(_In_ INT argc, _In_ PWSTR *argv)
BOOL DeleteVolume(_In_ INT argc, _In_ PWSTR *argv)
BOOL DeleteDisk(_In_ INT argc, _In_ PWSTR *argv)
#define IDS_HELP_DETAIL_VOLUME
#define IDS_HELP_DELETE_VOLUME
#define IDS_HELP_CREATE_PARTITION_PRIMARY
#define IDS_HELP_DELETE_PARTITION
#define IDS_HELP_CREATE_PARTITION
#define IDS_HELP_CREATE_PARTITION_LOGICAL
#define IDS_HELP_LIST_VDISK
#define IDS_HELP_CREATE_VDISK
#define IDS_HELP_UNIQUEID
#define IDS_HELP_SELECT_PARTITION
#define IDS_HELP_UNIQUEID_DISK
#define IDS_HELP_CREATE_PARTITION_EXTENDED
#define IDS_HELP_LIST_DISK
#define IDS_HELP_LIST_VOLUME
#define IDS_HELP_DETAIL_PARTITION
#define IDS_HELP_DELETE_DISK
#define IDS_HELP_SELECT_DISK
#define IDS_HELP_LIST_PARTITION
#define IDS_HELP_FILESYSTEMS
#define IDS_HELP_AUTOMOUNT
#define IDS_HELP_SELECT_VOLUME
#define IDS_HELP_DETAIL_DISK
#define IDS_HELP_INACTIVE
#define IDS_HELP_ATTRIBUTES
#define IDS_HELP_CREATE_VOLUME
BOOL break_main(INT argc, LPWSTR *argv)
BOOL clean_main(_In_ INT argc, _In_ PWSTR *argv)
BOOL compact_main(INT argc, LPWSTR *argv)
BOOL detach_main(INT argc, LPWSTR *argv)
BOOL DetailPartition(_In_ INT argc, _In_ PWSTR *argv)
BOOL DetailDisk(_In_ INT argc, _In_ PWSTR *argv)
BOOL DetailVolume(_In_ INT argc, _In_ PWSTR *argv)
BOOL retain_main(INT argc, LPWSTR *argv)
BOOL ListPartition(INT argc, PWSTR *argv)
BOOL DumpPartition(_In_ INT argc, _In_ LPWSTR *argv)
BOOL filesystems_main(INT argc, LPWSTR *argv)
BOOL SelectDisk(INT argc, PWSTR *argv)
BOOL online_main(INT argc, LPWSTR *argv)
BOOL extend_main(INT argc, LPWSTR *argv)
BOOL expand_main(INT argc, LPWSTR *argv)
BOOL rescan_main(INT argc, LPWSTR *argv)
BOOL merge_main(INT argc, LPWSTR *argv)
BOOL UniqueIdDisk(_In_ INT argc, _In_ PWSTR *argv)
BOOL offline_main(INT argc, LPWSTR *argv)
BOOL inactive_main(INT argc, LPWSTR *argv)
BOOL ListVolume(INT argc, PWSTR *argv)
BOOL shrink_main(INT argc, LPWSTR *argv)
BOOL DumpDisk(_In_ INT argc, _In_ LPWSTR *argv)
BOOL SelectVolume(INT argc, PWSTR *argv)
BOOL import_main(INT argc, LPWSTR *argv)
BOOL repair_main(INT argc, LPWSTR *argv)
BOOL format_main(INT argc, LPWSTR *argv)
BOOL ListVirtualDisk(INT argc, PWSTR *argv)
BOOL help_main(INT argc, LPWSTR *argv)
VOID HelpCommandList(VOID)
BOOL setid_main(INT argc, LPWSTR *argv)
BOOL remove_main(INT argc, LPWSTR *argv)
BOOL san_main(INT argc, LPWSTR *argv)
BOOL gpt_main(INT argc, LPWSTR *argv)
BOOL ListDisk(INT argc, PWSTR *argv)
BOOL recover_main(INT argc, LPWSTR *argv)
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
BOOLEAN NTAPI DeletePartition(_In_ PPARTLIST List, _In_ PPARTENTRY PartEntry, _Out_opt_ PPARTENTRY *FreeRegion)
PPARTENTRY SelectPartition(_In_ PPARTLIST List, _In_ ULONG DiskNumber, _In_ ULONG PartitionNumber)
INT(* func)(INT, WCHAR **)
BOOL convert_main(INT argc, LPWSTR *argv)
BOOL InterpretCmd(int argc, LPWSTR *argv)
BOOL rem_main(INT argc, LPWSTR *argv)
BOOL exit_main(INT argc, LPWSTR *argv)
wchar_t * fgetws(wchar_t *buf, int bufsize, FILE *file)