61 ZeroMemory(&openfilename,
sizeof(openfilename));
127 static const LPCWSTR FormatNames[] =
137 return FormatNames[
Format];
284 if (pCopyMove->
bMove)
293 for (hGroup =
Globals.hGroups; hGroup; hGroup = hGroup->
hNext)
321 for (hGroup =
Globals.hGroups; hGroup && hGroup != hGrpItem; hGroup = hGroup->
hNext)
323 if (pCopyMove->
bMove)
348 CopyMove.
bMove = bMove;
466 if (pGroupAttributes->
format)
684 IconContext.
Index = *lpnIconIndex;
691 *lpnIconIndex = IconContext.
Index;
692 *lphIcon = IconContext.hIcon;
839 if (*pProgramAttributes->
lphIcon)
881 ProgramAttributes.
lphIcon = lphIcon;
899 ProgramAttributes.
hTmpIcon = *lphIcon;
1032 L"Recent File List",
BOOL DIALOG_Delete(UINT ids_text_s, LPCWSTR lpszName)
static INT_PTR CALLBACK DIALOG_COPY_MOVE_DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static BOOL CALLBACK EnumPickIconResourceProc(HMODULE hModule, LPCWSTR lpszType, LPWSTR lpszName, LONG_PTR lParam)
BOOL DIALOG_New(INT nDefault, PINT pnResult)
static INT_PTR CALLBACK DIALOG_EXECUTE_DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL DIALOG_ProgramAttributes(LPWSTR lpszTitle, LPWSTR lpszCmdLine, LPWSTR lpszWorkDir, LPWSTR lpszIconFile, HICON *lphIcon, INT *lpnIconIndex, INT *lpnHotKey, INT *lpnCmdShow, BOOL *lpbNewVDM, INT nSize)
static BOOL DIALOG_Browse(HWND hWnd, LPCWSTR lpszzFilter, LPWSTR lpstrFile, INT nMaxFile)
PROGGROUP * DIALOG_CopyMove(PROGRAM *hProgram, BOOL bMove)
static VOID DestroyIconList(HWND hDlgCtrl)
struct _PROGRAM_ATTRIBUTES_CONTEXT * PPROGRAM_ATTRIBUTES_CONTEXT
BOOL ValidateEditContents(HWND hDlg, INT nIDEditItem)
struct _COPY_MOVE_CONTEXT COPY_MOVE_CONTEXT
VOID DIALOG_Execute(VOID)
struct _PICK_ICON_CONTEXT PICK_ICON_CONTEXT
static INT_PTR CALLBACK DIALOG_SYMBOL_DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK DIALOG_PROGRAM_DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
struct _NEW_ITEM_CONTEXT NEW_ITEM_CONTEXT
BOOL DIALOG_GroupAttributes(GROUPFORMAT format, LPWSTR lpszTitle, LPWSTR lpszGrpFile, INT nSize)
static VOID DIALOG_Symbol(HWND hWnd, HICON *lphIcon, LPWSTR lpszIconFile, INT *lpnIconIndex, INT nSize)
struct _PROGRAM_ATTRIBUTES_CONTEXT PROGRAM_ATTRIBUTES_CONTEXT
struct _COPY_MOVE_CONTEXT * PCOPY_MOVE_CONTEXT
struct _EXECUTE_CONTEXT EXECUTE_CONTEXT
struct _PICK_ICON_CONTEXT * PPICK_ICON_CONTEXT
static BOOL DIALOG_BrowseSymbols(HWND hWnd, LPWSTR lpszFile, INT nMaxFile)
static BOOL DIALOG_BrowsePrograms(HWND hWnd, LPWSTR lpszFile, INT nMaxFile)
struct _EXECUTE_CONTEXT * PEXECUTE_CONTEXT
struct _GROUP_ATTRIBUTES_CONTEXT GROUP_ATTRIBUTES_CONTEXT
struct _NEW_ITEM_CONTEXT * PNEW_ITEM_CONTEXT
static INT_PTR CALLBACK DIALOG_NEW_DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK DIALOG_GROUP_DlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
struct _GROUP_ATTRIBUTES_CONTEXT * PGROUP_ATTRIBUTES_CONTEXT
static VOID DIALOG_AddFilterItem(LPWSTR *p, UINT ids, LPCWSTR filter)
LPCWSTR GroupFormatToFormatName(GROUPFORMAT Format)
PROGGROUP * GROUP_ActiveGroup(VOID)
INT MAIN_MessageBoxIDS_s(UINT ids_text, LPCWSTR str, UINT ids_title, WORD type)
INT MAIN_MessageBoxIDS(UINT ids_text, UINT ids_title, WORD type)
PVOID Alloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
#define IDS_NOT_IMPLEMENTED
#define IDS_LIBRARIES_DLL
#define IDS_MOVE_PROGRAM_1
#define IDS_MOVE_PROGRAM_2
#define PM_PERSONAL_GROUP
#define RegCloseKey(hKey)
CLIPBOARD_GLOBALS Globals
LONG WINAPI RegCreateKeyExW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ DWORD Reserved, _In_opt_ LPWSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ LPDWORD lpdwDisposition)
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
BOOL WINAPI GetOpenFileNameW(OPENFILENAMEW *ofn)
#define GetCurrentDirectoryW(x, y)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryExW(LPCWSTR lpLibFileName, HANDLE hFile, DWORD dwFlags)
BOOL WINAPI GetBinaryTypeW(LPCWSTR lpApplicationName, LPDWORD lpBinaryType)
BOOL WINAPI EnumResourceNamesW(HMODULE hmod, LPCWSTR type, ENUMRESNAMEPROCW lpfun, LONG_PTR lparam)
#define EnableDlgItem(hDlg, nID, bEnable)
GLuint GLuint GLsizei count
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static unsigned(__cdecl *hash_bstr)(bstr_t s)
unsigned __int3264 UINT_PTR
_In_ ULONG _In_ ULONG _In_ ULONG Length
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
static const WCHAR szName[]
enum _GROUPFORMAT GROUPFORMAT
_CRTIMP wchar_t *__cdecl wcsncpy(wchar_t *_Dest, const wchar_t *_Source, size_t _Count)
_Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
HINSTANCE WINAPI ShellExecuteW(HWND hwnd, LPCWSTR lpVerb, LPCWSTR lpFile, LPCWSTR lpParameters, LPCWSTR lpDirectory, INT nShowCmd)
STRSAFEAPI StringCbCopyW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszSrc)
STRSAFEAPI StringCbPrintfW(STRSAFE_LPWSTR pszDest, size_t cbDest, STRSAFE_LPCWSTR pszFormat,...)
STRSAFEAPI StringCchCopyNW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc, size_t cchToCopy)
HKEY hKeyPMRecentFilesList
UINT WINAPI GetDlgItemTextW(HWND hDlg, int nIDDlgItem, LPWSTR lpString, int nMaxCount)
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
#define LOAD_LIBRARY_AS_DATAFILE
*nSize LPSTR _Inout_ LPDWORD nSize
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
#define GetWindowLongPtrW
BOOL WINAPI CheckDlgButton(_In_ HWND, _In_ int, _In_ UINT)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
BOOL WINAPI DrawIcon(_In_ HDC, _In_ int, _In_ int, _In_ HICON)
HICON WINAPI CopyIcon(_In_ HICON)
#define IS_INTRESOURCE(i)
HANDLE WINAPI LoadImageW(_In_opt_ HINSTANCE hInst, _In_ LPCWSTR name, _In_ UINT type, _In_ int cx, _In_ int cy, _In_ UINT fuLoad)
LRESULT WINAPI SendMessageA(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI SetDlgItemTextW(_In_ HWND, _In_ int, _In_ LPCWSTR)
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)
UINT WINAPI IsDlgButtonChecked(_In_ HWND, _In_ int)
HWND WINAPI SetFocus(_In_opt_ HWND)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)
int WINAPI GetWindowTextLengthW(_In_ HWND)
struct tagMEASUREITEMSTRUCT * PMEASUREITEMSTRUCT
BOOL WINAPI CheckRadioButton(_In_ HWND, _In_ int, _In_ int, _In_ int)
struct tagDRAWITEMSTRUCT * PDRAWITEMSTRUCT
BOOL WINAPI CloseWindow(_In_ HWND)
#define MAKEINTRESOURCEW(i)
#define SetWindowLongPtrW
#define SW_SHOWMINNOACTIVE
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
INT_PTR WINAPI DialogBoxParamW(_In_opt_ HINSTANCE, _In_ LPCWSTR, _In_opt_ HWND, _In_opt_ DLGPROC, _In_ LPARAM)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
BOOL WINAPI DestroyIcon(_In_ HICON)
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free