#pragma once

typedef struct {
	HWND    hwnd;
	LPVOID  pParam;
	int     nAction;
	char    szHost[128];
	char    szUserId[64];
	char    szPassword[32];
	char    szProxyHost[128];
	int     nProxyPort;
	__int64 nFreeBytes;
	int     nFileListSize;
	char    szDstPath[2048];
} TRANPARAM_STRUCT, *PTRANPARAM_STRUCT;

enum TRANPARAM_ACTION {
	TPA_UPLOAD = 0,
	TPA_DOWNLOAD,
};

#define EXECUTE_PARAM "$CONSOLE$"

#define WMU_TRANSFER_DLG_CLOSE (WM_USER + 777)
