Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
87e82043
Commit
87e82043
authored
Apr 26, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Apr 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Resource functions are not implemented on win98.
parent
4b34ba65
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
resource.c
dlls/kernel32/tests/resource.c
+10
-0
No files found.
dlls/kernel32/tests/resource.c
View file @
87e82043
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include "wine/test.h"
#include "wine/test.h"
static
const
char
filename
[]
=
"test_.exe"
;
static
const
char
filename
[]
=
"test_.exe"
;
static
DWORD
GLE
;
static
int
build_exe
(
void
)
static
int
build_exe
(
void
)
{
{
...
@@ -107,7 +108,9 @@ static void update_missing_exe( void )
...
@@ -107,7 +108,9 @@ static void update_missing_exe( void )
{
{
HANDLE
res
;
HANDLE
res
;
SetLastError
(
0xdeadbeef
);
res
=
BeginUpdateResource
(
filename
,
TRUE
);
res
=
BeginUpdateResource
(
filename
,
TRUE
);
GLE
=
GetLastError
();
ok
(
res
==
NULL
,
"BeginUpdateResource should fail
\n
"
);
ok
(
res
==
NULL
,
"BeginUpdateResource should fail
\n
"
);
}
}
...
@@ -264,6 +267,13 @@ START_TEST(resource)
...
@@ -264,6 +267,13 @@ START_TEST(resource)
{
{
DeleteFile
(
filename
);
DeleteFile
(
filename
);
update_missing_exe
();
update_missing_exe
();
if
(
GLE
==
ERROR_CALL_NOT_IMPLEMENTED
)
{
skip
(
"Resource calls are not implemented
\n
"
);
return
;
}
update_empty_exe
();
update_empty_exe
();
build_exe
();
build_exe
();
update_resources_none
();
update_resources_none
();
...
...
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