#include <apitest.h>
#include <shlwapi.h>
#include <versionhelpers.h>
Go to the source code of this file.
◆ START_TEST()
Definition at line 58 of file StrDup.c.
59{
63}
static void TEST_StrDupA(void)
static void TEST_StrRet(void)
static void TEST_StrDupW(void)
◆ TEST_StrDupA()
Definition at line 12 of file StrDup.c.
13{
15
17
20 else
22
23 if (ptrA)
25}
#define ok_ptr(expression, result)
LPSTR WINAPI StrDupA(LPCSTR lpszStr)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
const char int int int static __inline const char * wine_dbgstr_a(const char *s)
VERSIONHELPERAPI IsWindowsXPOrGreater()
Referenced by START_TEST().
◆ TEST_StrDupW()
Definition at line 27 of file StrDup.c.
28{
30
32
35 else
37
38 if (ptrW)
40}
LPWSTR WINAPI StrDupW(LPCWSTR lpszStr)
Referenced by START_TEST().
◆ TEST_StrRet()
Definition at line 42 of file StrDup.c.
43{
46 {
55 }
56}
#define ok_int(expression, result)
HRESULT WINAPI SHStrDupW(LPCWSTR src, LPWSTR *dest)
HRESULT WINAPI StrRetToStrW(LPSTRRET lpStrRet, const ITEMIDLIST *pidl, LPWSTR *ppszName)
GLenum GLenum GLenum input
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Referenced by START_TEST().