http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f999060
)
qmgr/tests: Detect when the service is disabled.
author
Detlef Riekenberg
<wine.dev@web.de>
Wed, 11 Aug 2010 19:25:32 +0000
(21:25 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 17 Aug 2010 12:18:45 +0000
(14:18 +0200)
dlls/qmgr/tests/qmgr.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/qmgr/tests/qmgr.c
b/dlls/qmgr/tests/qmgr.c
index 8c955862a11b78accf37b49e1e902932ede75bd9..6dc9c1c6f2ebf8e9447719159fb5886080970c37 100644
(file)
--- a/
dlls/qmgr/tests/qmgr.c
+++ b/
dlls/qmgr/tests/qmgr.c
@@
-38,6
+38,11
@@
test_CreateInstance(void)
/* Creating BITS instance */
hres = CoCreateInstance(&CLSID_BackgroundCopyManager, NULL, CLSCTX_LOCAL_SERVER,
&IID_IBackgroundCopyManager, (void **) &manager);
+
+ if(hres == __HRESULT_FROM_WIN32(ERROR_SERVICE_DISABLED)) {
+ skip("Needed Service is disabled\n");
+ return;
+ }
ok(hres == S_OK, "CoCreateInstance failed: %08x\n", hres);
if(hres != S_OK) {
skip("Unable to create bits instance.\n");