Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e4b31800
Commit
e4b31800
authored
Mar 26, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Mar 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Define S_ASYNCHRONOUS in advpub.h.
parent
0a364629
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
install.c
dlls/advpack/tests/install.c
+4
-8
advpub.h
include/advpub.h
+4
-0
urlmon.idl
include/urlmon.idl
+2
-0
No files found.
dlls/advpack/tests/install.c
View file @
e4b31800
...
...
@@ -21,7 +21,6 @@
#include <stdio.h>
#include <windows.h>
#include <advpub.h>
#include <urlmon.h>
#include "wine/test.h"
/* function pointers */
...
...
@@ -67,7 +66,7 @@ static void test_RunSetupCommand()
/* try a bad directory */
hexe
=
(
HANDLE
)
0xdeadbeef
;
hr
=
pRunSetupCommand
(
NULL
,
"winve
r.exe"
,
"Install"
,
"windows
\\
system32
"
,
"Title"
,
&
hexe
,
0
,
NULL
);
hr
=
pRunSetupCommand
(
NULL
,
"winve
.exe"
,
"Install"
,
"
"
,
"Title"
,
&
hexe
,
0
,
NULL
);
todo_wine
{
ok
(
hr
==
HRESULT_FROM_WIN32
(
ERROR_DIRECTORY
),
...
...
@@ -89,12 +88,9 @@ static void test_RunSetupCommand()
/* run winver.exe */
hexe
=
(
HANDLE
)
0xdeadbeef
;
hr
=
pRunSetupCommand
(
NULL
,
"winver.exe"
,
"Install"
,
"c:
\\
windows
\\
system32"
,
"Title"
,
&
hexe
,
0
,
NULL
);
todo_wine
{
ok
(
hr
==
S_ASYNCHRONOUS
,
"Expected S_ASYNCHRONOUS, got %ld
\n
"
,
hr
);
ok
(
hexe
!=
NULL
,
"Expected hexe to be non-NULL
\n
"
);
ok
(
TerminateProcess
(
hexe
,
0
),
"Expected TerminateProcess to succeed
\n
"
);
}
ok
(
hr
==
S_ASYNCHRONOUS
,
"Expected S_ASYNCHRONOUS, got %ld
\n
"
,
hr
);
ok
(
hexe
!=
NULL
,
"Expected hexe to be non-NULL
\n
"
);
ok
(
TerminateProcess
(
hexe
,
0
),
"Expected TerminateProcess to succeed
\n
"
);
}
START_TEST
(
install
)
...
...
include/advpub.h
View file @
e4b31800
...
...
@@ -25,6 +25,10 @@
extern
"C"
{
#endif
#ifndef S_ASYNCHRONOUS
#define S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x401E8L)
#endif
typedef
struct
_CabInfoA
{
LPSTR
pszCab
;
...
...
include/urlmon.idl
View file @
e4b31800
...
...
@@ -1146,7 +1146,9 @@ cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82,
cpp_quote
(
"#define MK_S_ASYNCHRONOUS 0x000401E8"
)
cpp_quote
(
"#ifndef S_ASYNCHRONOUS"
)
cpp_quote
(
"#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS"
)
cpp_quote
(
"#endif"
)
cpp_quote
(
"#define INET_E_ERROR_FIRST 0x800C0002"
)
cpp_quote
(
"#define INET_E_INVALID_URL 0x800C0002"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment