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
794dbe4f
Commit
794dbe4f
authored
Dec 28, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Remove incorrect and incomplete implementation of BeginResourceUpdate.
parent
1cd16ed7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
resource.c
dlls/kernel32/resource.c
+0
-0
resource.c
dlls/kernel32/tests/resource.c
+4
-4
No files found.
dlls/kernel32/resource.c
View file @
794dbe4f
This diff is collapsed.
Click to expand it.
dlls/kernel32/tests/resource.c
View file @
794dbe4f
...
@@ -122,7 +122,7 @@ static void update_empty_exe( void )
...
@@ -122,7 +122,7 @@ static void update_empty_exe( void )
CloseHandle
(
file
);
CloseHandle
(
file
);
res
=
BeginUpdateResource
(
filename
,
TRUE
);
res
=
BeginUpdateResource
(
filename
,
TRUE
);
todo_wine
ok
(
res
!=
NULL
,
"BeginUpdateResource failed
\n
"
);
ok
(
res
!=
NULL
,
"BeginUpdateResource failed
\n
"
);
/* check if it's possible to open the file now */
/* check if it's possible to open the file now */
test
=
CreateFile
(
filename
,
GENERIC_READ
,
0
,
NULL
,
OPEN_EXISTING
,
0
,
0
);
test
=
CreateFile
(
filename
,
GENERIC_READ
,
0
,
NULL
,
OPEN_EXISTING
,
0
,
0
);
...
@@ -143,7 +143,7 @@ static void update_resources_none( void )
...
@@ -143,7 +143,7 @@ static void update_resources_none( void )
BOOL
r
;
BOOL
r
;
res
=
BeginUpdateResource
(
filename
,
FALSE
);
res
=
BeginUpdateResource
(
filename
,
FALSE
);
todo_wine
ok
(
res
!=
NULL
,
"BeginUpdateResource failed
\n
"
);
ok
(
res
!=
NULL
,
"BeginUpdateResource failed
\n
"
);
r
=
EndUpdateResource
(
res
,
FALSE
);
r
=
EndUpdateResource
(
res
,
FALSE
);
todo_wine
ok
(
r
,
"EndUpdateResouce failed
\n
"
);
todo_wine
ok
(
r
,
"EndUpdateResouce failed
\n
"
);
...
@@ -155,7 +155,7 @@ static void update_resources_delete( void )
...
@@ -155,7 +155,7 @@ static void update_resources_delete( void )
BOOL
r
;
BOOL
r
;
res
=
BeginUpdateResource
(
filename
,
TRUE
);
res
=
BeginUpdateResource
(
filename
,
TRUE
);
todo_wine
ok
(
res
!=
NULL
,
"BeginUpdateResource failed
\n
"
);
ok
(
res
!=
NULL
,
"BeginUpdateResource failed
\n
"
);
r
=
EndUpdateResource
(
res
,
FALSE
);
r
=
EndUpdateResource
(
res
,
FALSE
);
todo_wine
ok
(
r
,
"EndUpdateResouce failed
\n
"
);
todo_wine
ok
(
r
,
"EndUpdateResouce failed
\n
"
);
...
@@ -175,10 +175,10 @@ void update_resources_version(void)
...
@@ -175,10 +175,10 @@ void update_resources_version(void)
struct
verhdr
hdr
;
struct
verhdr
hdr
;
char
foo
[]
=
"red and white"
;
char
foo
[]
=
"red and white"
;
todo_wine
{
res
=
BeginUpdateResource
(
filename
,
TRUE
);
res
=
BeginUpdateResource
(
filename
,
TRUE
);
ok
(
res
!=
NULL
,
"BeginUpdateResource failed
\n
"
);
ok
(
res
!=
NULL
,
"BeginUpdateResource failed
\n
"
);
todo_wine
{
memset
(
&
hdr
,
0
,
sizeof
hdr
);
memset
(
&
hdr
,
0
,
sizeof
hdr
);
r
=
UpdateResource
(
res
,
r
=
UpdateResource
(
res
,
RT_VERSION
,
RT_VERSION
,
...
...
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