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
a05ce6ac
Commit
a05ce6ac
authored
Dec 03, 2018
by
Alex Henrie
Committed by
Alexandre Julliard
Dec 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Turn several variables into static constants.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
358b8148
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
storage32.c
dlls/ole32/storage32.c
+4
-4
No files found.
dlls/ole32/storage32.c
View file @
a05ce6ac
...
...
@@ -10034,8 +10034,8 @@ HRESULT OLECONVERT_CreateCompObjStream(LPSTORAGE pStorage, LPCSTR strOleTypeName
static
const
WCHAR
wstrStreamName
[]
=
{
1
,
'C'
,
'o'
,
'm'
,
'p'
,
'O'
,
'b'
,
'j'
,
0
};
WCHAR
bufferW
[
OLESTREAM_MAX_STR_LEN
];
BYTE
pCompObjUnknown1
[]
=
{
0x01
,
0x00
,
0xFE
,
0xFF
,
0x03
,
0x0A
,
0x00
,
0x00
,
0xFF
,
0xFF
,
0xFF
,
0xFF
};
BYTE
pCompObjUnknown2
[]
=
{
0xF4
,
0x39
,
0xB2
,
0x71
};
static
const
BYTE
pCompObjUnknown1
[]
=
{
0x01
,
0x00
,
0xFE
,
0xFF
,
0x03
,
0x0A
,
0x00
,
0x00
,
0xFF
,
0xFF
,
0xFF
,
0xFF
};
static
const
BYTE
pCompObjUnknown2
[]
=
{
0xF4
,
0x39
,
0xB2
,
0x71
};
/* Initialize the CompObj structure */
memset
(
&
IStorageCompObj
,
0
,
sizeof
(
IStorageCompObj
));
...
...
@@ -10133,7 +10133,7 @@ static void OLECONVERT_CreateOlePresStream(LPSTORAGE pStorage, DWORD dwExtentX,
HRESULT
hRes
;
IStream
*
pStream
;
static
const
WCHAR
wstrStreamName
[]
=
{
2
,
'O'
,
'l'
,
'e'
,
'P'
,
'r'
,
'e'
,
's'
,
'0'
,
'0'
,
'0'
,
0
};
BYTE
pOlePresStreamHeader
[]
=
static
const
BYTE
pOlePresStreamHeader
[]
=
{
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0x03
,
0x00
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x01
,
0x00
,
0x00
,
0x00
,
...
...
@@ -10141,7 +10141,7 @@ static void OLECONVERT_CreateOlePresStream(LPSTORAGE pStorage, DWORD dwExtentX,
0x00
,
0x00
,
0x00
,
0x00
};
BYTE
pOlePresStreamHeaderEmpty
[]
=
static
const
BYTE
pOlePresStreamHeaderEmpty
[]
=
{
0x00
,
0x00
,
0x00
,
0x00
,
0x04
,
0x00
,
0x00
,
0x00
,
0x01
,
0x00
,
0x00
,
0x00
,
...
...
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