33#define NON_EXISTENT_FILENAME_A "C:\\ThisIsNotExistentFile.txt"
34#define NON_EXISTENT_FILENAME_W L"C:\\ThisIsNotExistentFile.txt"
173 skip(
"AssocQueryStringA or AssocQueryStringW not found: %p, %p\n",
HRESULT(WINAPI * FN_AssocQueryStringW)(ASSOCF cfFlags, ASSOCSTR str, LPCWSTR pszAssoc, LPCWSTR pszExtra, LPWSTR pszOut, DWORD *pcchOut)
static FN_AssocQueryStringA s_fnAssocQueryStringA
static HINSTANCE s_hSHLWAPI
static WCHAR s_szTextFileW[MAX_PATH]
static void TEST_Start(void)
static void TEST_AssocQueryStringA(void)
HRESULT(WINAPI * FN_AssocQueryStringA)(ASSOCF cfFlags, ASSOCSTR str, LPCSTR pszAssoc, LPCSTR pszExtra, LPSTR pszOut, DWORD *pcchOut)
static void TEST_AssocQueryStringW(void)
#define NON_EXISTENT_FILENAME_A
static void TEST_End(void)
static CHAR s_szTextFileA[MAX_PATH]
static FN_AssocQueryStringW s_fnAssocQueryStringW
#define NON_EXISTENT_FILENAME_W
#define ok_long(expression, result)
#define ok_int(expression, result)
#define GetProcAddress(x, y)
DWORD WINAPI ExpandEnvironmentStringsA(IN LPCSTR lpSrc, IN LPSTR lpDst, IN DWORD nSize)
DWORD WINAPI ExpandEnvironmentStringsW(IN LPCWSTR lpSrc, IN LPWSTR lpDst, IN DWORD nSize)
BOOL WINAPI DeleteFileW(IN LPCWSTR lpFileName)
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
int WINAPI lstrcmpiA(LPCSTR str1, LPCSTR str2)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
HRESULT WINAPI AssocQueryStringA(ASSOCF cfFlags, ASSOCSTR str, LPCSTR pszAssoc, LPCSTR pszExtra, LPSTR pszOut, DWORD *pcchOut)
HRESULT WINAPI AssocQueryStringW(ASSOCF cfFlags, ASSOCSTR str, LPCWSTR pszAssoc, LPCWSTR pszExtra, LPWSTR pszOut, DWORD *pcchOut)
_Check_return_ _CRTIMP FILE *__cdecl _wfopen(_In_z_ const wchar_t *_Filename, _In_z_ const wchar_t *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
int WINAPI lstrlenA(LPCSTR lpString)
#define ERROR_FILE_NOT_FOUND
static DWORD DWORD void LPSTR DWORD cch
const char int int int static __inline const char * wine_dbgstr_a(const char *s)
VERSIONHELPERAPI IsWindowsVistaOrGreater()
#define HRESULT_FROM_WIN32(x)