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
a46790b3
Commit
a46790b3
authored
Nov 21, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Avoid harcoding array lengths.
parent
a7cb73d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
shellole.c
dlls/shell32/shellole.c
+3
-3
No files found.
dlls/shell32/shellole.c
View file @
a46790b3
...
...
@@ -112,10 +112,10 @@ HRESULT WINAPI SHCoCreateInstance(
IID
iid
;
const
CLSID
*
myclsid
=
clsid
;
WCHAR
sKeyName
[
MAX_PATH
];
const
WCHAR
sCLSID
[
7
]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
'\\'
,
'\0'
};
static
const
WCHAR
sCLSID
[
]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
'\\'
,
'\0'
};
WCHAR
sClassID
[
60
];
const
WCHAR
sInProcServer32
[
16
]
=
{
'\\'
,
'I'
,
'n'
,
'p'
,
'r'
,
'o'
,
'c'
,
'S'
,
'e'
,
'r'
,
'v'
,
'e'
,
'r'
,
'3'
,
'2'
,
'\0'
};
const
WCHAR
sLoadWithoutCOM
[
15
]
=
{
'L'
,
'o'
,
'a'
,
'd'
,
'W'
,
'i'
,
't'
,
'h'
,
'o'
,
'u'
,
't'
,
'C'
,
'O'
,
'M'
,
'\0'
};
static
const
WCHAR
sInProcServer32
[]
=
{
'\\'
,
'I'
,
'n'
,
'p'
,
'r'
,
'o'
,
'c'
,
'S'
,
'e'
,
'r'
,
'v'
,
'e'
,
'r'
,
'3'
,
'2'
,
'\0'
};
static
const
WCHAR
sLoadWithoutCOM
[]
=
{
'L'
,
'o'
,
'a'
,
'd'
,
'W'
,
'i'
,
't'
,
'h'
,
'o'
,
'u'
,
't'
,
'C'
,
'O'
,
'M'
,
'\0'
};
WCHAR
sDllPath
[
MAX_PATH
];
HKEY
hKey
=
0
;
DWORD
dwSize
;
...
...
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