45 const WCHAR *localName,
const WCHAR *remoteName)
67 &IID_IBackgroundCopyManager, (
void **) &manager);
70 win_skip(
"Needed Service is disabled\n");
84 win_skip(
"AddFile() with file:// protocol failed. Tests will be skipped.\n");
85 IBackgroundCopyJob_Release(
job);
87 IBackgroundCopyManager_Release(manager);
104 CLSCTX_LOCAL_SERVER, &IID_IBackgroundCopyManager,
120 IBackgroundCopyJob_Release(
test_job);
129 IBackgroundCopyJob_Release(
test_job);
142 IBackgroundCopyJob_Release(
test_job);
178 ok(
progress.BytesTotal == BG_SIZE_UNKNOWN,
"Got incorrect total size: %s\n",
180 ok(
progress.BytesTransferred == 0,
"Got incorrect number of transferred bytes: %s\n",
203 win_skip(
"Failed to create Manager instance, skipping tests\n");
212 ok(0,
"tests:%d: Unable to setup test\n",
i);
#define GetCurrentDirectoryW(x, y)
static __inline const char * wine_dbgstr_longlong(ULONGLONG ll)
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
HRESULT WINAPI UrlUnescapeW(LPWSTR pszUrl, LPWSTR pszUnescaped, LPDWORD pcchUnescaped, DWORD dwFlags)
HRESULT WINAPI UrlCreateFromPathW(LPCWSTR pszPath, LPWSTR pszUrl, LPDWORD pcchUrl, DWORD dwReserved)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
VOID WINAPI CoTaskMemFree(LPVOID ptr)
static struct test_info tests[]
static IEnumBackgroundCopyFiles * test_enumFiles
static void teardown(void)
static void test_GetProgress_PreTransfer(void)
static const WCHAR test_localName[]
static WCHAR test_remoteUrl[MAX_PATH]
static const WCHAR test_remoteName[]
static HRESULT addFileHelper(IBackgroundCopyJob *job, const WCHAR *localName, const WCHAR *remoteName)
static void test_GetLocalName(void)
static IBackgroundCopyJob * test_job
static IBackgroundCopyFile * test_file
static IBackgroundCopyManager * test_manager
static WCHAR test_localFile[MAX_PATH]
static void test_GetRemoteName(void)
static const WCHAR test_displayName[]
static HRESULT test_create_manager(void)
#define URL_UNESCAPE_INPLACE
#define HRESULT_FROM_WIN32(x)
#define ERROR_SERVICE_DISABLED