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
61fc6f8c
Commit
61fc6f8c
authored
Jun 10, 2002
by
Huw D M Davies
Committed by
Alexandre Julliard
Jun 10, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more magic to find the start of the nametable.
parent
d3cab185
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
+19
-5
typelib.c
dlls/oleaut32/typelib.c
+18
-4
typelib.h
dlls/oleaut32/typelib.h
+1
-1
No files found.
dlls/oleaut32/typelib.c
View file @
61fc6f8c
...
...
@@ -2920,11 +2920,25 @@ static ITypeLib2* ITypeLib2_Constructor_SLTG(LPVOID pLib, DWORD dwTLBLength)
/* Skip this WORD and get the next DWORD */
len
=
*
(
DWORD
*
)(
pAfterOTIBlks
+
2
);
/* Now add this to pLibBLk and then add 0x216, sprinkle a bit a
magic dust and we should be pointing at the beginning of the name
/* Now add this to pLibBLk look at what we're pointing at and
possibly add 0x20, then add 0x216, sprinkle a bit a magic
dust and we should be pointing at the beginning of the name
table */
pNameTable
=
(
char
*
)
pLibBlk
+
len
+
0x216
;
pNameTable
=
(
char
*
)
pLibBlk
+
len
;
switch
(
*
(
WORD
*
)
pNameTable
)
{
case
0xffff
:
break
;
case
0x0200
:
pNameTable
+=
0x20
;
break
;
default:
FIXME
(
"pNameTable jump = %x
\n
"
,
*
(
WORD
*
)
pNameTable
);
break
;
}
pNameTable
+=
0x216
;
pNameTable
+=
2
;
...
...
dlls/oleaut32/typelib.h
View file @
61fc6f8c
...
...
@@ -303,7 +303,7 @@ typedef struct {
#define SLTG_DIR_MAGIC "dir"
/* Next we have SLTG_Header.nrOfFileBlks - 2 of Index strings. These
are p
ersumb
ably unique to within the file and look something like
are p
resum
ably unique to within the file and look something like
"AAAAAAAAAA" with the first character incremented from 'A' to ensure
uniqueness. I guess successive chars increment when we need to wrap
the first one. */
...
...
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