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
834512f1
Commit
834512f1
authored
Oct 22, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Oct 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof/tests: Document dump function and rename X files with .x extension.
parent
2e977e11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
d3dxof.c
dlls/d3dxof/tests/d3dxof.c
+4
-2
No files found.
dlls/d3dxof/tests/d3dxof.c
View file @
834512f1
...
...
@@ -706,6 +706,8 @@ static void process_data(LPDIRECTXFILEDATA lpDirectXFileData, int* plevel)
ok
(
hr
==
DXFILE_OK
||
hr
==
DXFILEERR_NOMOREOBJECTS
,
"IDirectXFileData_GetNextObject: %x
\n
"
,
hr
);
}
/* Dump an X file 'objects.x' and its related templates file 'templates.x' if they are both presents
* Useful for debug by comparing outputs from native and builtin dlls */
static
void
test_dump
(
void
)
{
HRESULT
hr
;
...
...
@@ -724,12 +726,12 @@ static void test_dump(void)
}
/* Dump data only if there is an object and a template */
hFile
=
CreateFileA
(
"objects.
txt
"
,
GENERIC_READ
,
FILE_SHARE_READ
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
);
hFile
=
CreateFileA
(
"objects.
x
"
,
GENERIC_READ
,
FILE_SHARE_READ
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
);
if
(
hFile
==
INVALID_HANDLE_VALUE
)
return
;
CloseHandle
(
hFile
);
hFile
=
CreateFileA
(
"templates.
txt
"
,
GENERIC_READ
,
FILE_SHARE_READ
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
);
hFile
=
CreateFileA
(
"templates.
x
"
,
GENERIC_READ
,
FILE_SHARE_READ
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
);
if
(
hFile
==
INVALID_HANDLE_VALUE
)
return
;
...
...
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