93 if(
params->PathRequiredSize)
95 *
params->PathRequiredSize = requiredSize;
96 TRACE(
"returning PathRequiredSize=%d\n",*
params->PathRequiredSize);
103 if(requiredSize >
params->PathBufferSize)
131 if (last_slash) *last_slash = 0;
178 WCHAR *DialogTitleW, *DiskNameW, *PathToSourceW;
182 TRACE(
"%p, %s, %s, %s, %s, %s, 0x%08x, %p, %d, %p\n",
hwndParent,
debugstr_a(
DialogTitle),
226 TRACE(
"%p, %s, %s, %s, %s, %s, 0x%08x, %p, %d, %p\n",
hwndParent,
debugstr_w(
DialogTitle),
239 static const WCHAR format[] = {
'%',
's',
'\\',
'%',
's',
'\0'};
#define OFN_FILEMUSTEXIST
#define OFN_PATHMUSTEXIST
BOOL WINAPI GetOpenFileNameW(OPENFILENAMEW *ofn)
static WCHAR unknown[MAX_STRING_RESOURCE_LEN]
static WCHAR * strdupAtoW(const char *str)
#define ERROR_INVALID_PARAMETER
#define HeapFree(x, y, z)
#define WideCharToMultiByte
DWORD WINAPI GetFileAttributesW(LPCWSTR lpFileName)
static void promptdisk_browse(HWND hwnd, struct promptdisk_params *params)
UINT WINAPI SetupPromptForDiskW(HWND hwndParent, PCWSTR DialogTitle, PCWSTR DiskName, PCWSTR PathToSource, PCWSTR FileSought, PCWSTR TagFile, DWORD DiskPromptStyle, PWSTR PathBuffer, DWORD PathBufferSize, PDWORD PathRequiredSize)
static void promptdisk_ok(HWND hwnd, struct promptdisk_params *params)
static void promptdisk_init(HWND hwnd, struct promptdisk_params *params)
static INT_PTR CALLBACK promptdisk_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
UINT WINAPI SetupPromptForDiskA(HWND hwndParent, PCSTR DialogTitle, PCSTR DiskName, PCSTR PathToSource, PCSTR FileSought, PCSTR TagFile, DWORD DiskPromptStyle, PSTR PathBuffer, DWORD PathBufferSize, PDWORD PathRequiredSize)
#define IDC_RUNDLG_BROWSE
GLenum const GLfloat * params
GLuint GLsizei GLsizei * length
#define DPROMPT_BUFFERTOOSMALL
#define INVALID_FILE_ATTRIBUTES
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
#define FORMAT_MESSAGE_FROM_STRING
#define FORMAT_MESSAGE_ARGUMENT_ARRAY
#define GetWindowLongPtrW
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
BOOL WINAPI SetDlgItemTextW(_In_ HWND, _In_ int, _In_ LPCWSTR)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
#define MAKEINTRESOURCEW(i)
#define SetWindowLongPtrW
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)