58 UrlComponmentInfo.
dwStructSize =
sizeof(UrlComponmentInfo);
67 switch (UrlComponmentInfo.
nScheme)
101 if (
Info->Proxy == 2)
#define IDC_DEL_AFTER_INSTALL
#define IDD_SETTINGS_DIALOG
#define IDC_PROXY_DEFAULT
#define IDS_CHOOSE_FOLDER_TEXT
#define IDC_SAVE_WINDOW_POS
#define IDC_DEFAULT_SETTINGS
#define IDC_DOWNLOAD_DIR_EDIT
#define IDC_SOURCE_DEFAULT
#define IDS_CHOOSE_FOLDER_ERROR
#define IDC_UPDATE_AVLIST
SETTINGS_INFO SettingsInfo
VOID FillDefaultSettings(PSETTINGS_INFO pSettingsInfo)
EXTERN_C LPITEMIDLIST WINAPI SHBrowseForFolderW(LPBROWSEINFOW lpbi)
static void __cdecl CopyChars(_Out_writes_to_(nDestLen, nChars) XCHAR *pchDest, _In_ size_t nDestLen, _In_reads_opt_(nChars) const XCHAR *pchSrc, _In_ int nChars) noexcept
bool IsEmpty() const noexcept
void ReleaseBuffer(_In_ int nNewLength=-1)
int GetLength() const noexcept
BOOL WINAPI CreateDirectoryW(IN LPCWSTR lpPathName, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
HRESULT WINAPI DECLSPEC_HOTPATCH CoInitializeEx(LPVOID lpReserved, DWORD dwCoInit)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
#define INTERNET_MAX_URL_LENGTH
BOOL WINAPI InternetCrackUrlW(const WCHAR *lpszUrl, DWORD dwUrlLength, DWORD dwFlags, URL_COMPONENTSW *lpUC)
VOID WINAPI CoTaskMemFree(LPVOID ptr)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
INT_PTR CALLBACK SettingsDlgProc(HWND hDlg, UINT Msg, WPARAM wParam, LPARAM lParam)
BOOL IsCheckedDlgItem(HWND hDlg, INT nIDDlgItem)
VOID InitSettingsControls(HWND hDlg, PSETTINGS_INFO Info)
#define FILE_ATTRIBUTE_DIRECTORY
@ COINIT_APARTMENTTHREADED
BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath)
SETTINGS_INFO NewSettingsInfo
VOID CreateSettingsDlg(HWND hwnd)
BOOL IsUrlValid(const WCHAR *Url)
BOOL ChooseFolder(HWND hwnd)
#define BIF_DONTGOBELOWDOMAIN
#define BIF_RETURNONLYFSDIRS
ITEMIDLIST UNALIGNED * LPITEMIDLIST
WCHAR szDownloadDir[MAX_PATH]
WCHAR szSourceURL[INTERNET_MAX_URL_LENGTH]
WCHAR szNoProxyFor[MAX_PATH]
WCHAR szProxyServer[MAX_PATH]
PCIDLIST_ABSOLUTE pidlRoot
#define INVALID_FILE_ATTRIBUTES
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
#define INTERNET_SCHEME_FTP
#define INTERNET_SCHEME_HTTP
#define INTERNET_SCHEME_HTTPS
#define DialogBoxW(i, t, p, f)
BOOL WINAPI SetDlgItemTextW(_In_ HWND, _In_ int, _In_ LPCWSTR)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
HWND WINAPI SetFocus(_In_opt_ HWND)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
HWND WINAPI GetParent(_In_ HWND)
BOOL WINAPI CheckRadioButton(_In_ HWND, _In_ int, _In_ int, _In_ int)
#define MAKEINTRESOURCEW(i)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)