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
7a0396af
Commit
7a0396af
authored
Jun 12, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Make some variables static and/or const.
parent
ec6a1653
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
brsfolder.c
dlls/shell32/brsfolder.c
+1
-1
shellole.c
dlls/shell32/shellole.c
+3
-4
shlview.c
dlls/shell32/shlview.c
+1
-1
No files found.
dlls/shell32/brsfolder.c
View file @
7a0396af
...
...
@@ -64,7 +64,7 @@ static void FillTreeView(browse_info*, LPSHELLFOLDER,
static
HTREEITEM
InsertTreeViewItem
(
browse_info
*
,
IShellFolder
*
,
LPCITEMIDLIST
,
LPCITEMIDLIST
,
IEnumIDList
*
,
HTREEITEM
);
const
WCHAR
szBrowseFolderInfo
[]
=
{
static
const
WCHAR
szBrowseFolderInfo
[]
=
{
'_'
,
'_'
,
'W'
,
'I'
,
'N'
,
'E'
,
'_'
,
'B'
,
'R'
,
'S'
,
'F'
,
'O'
,
'L'
,
'D'
,
'E'
,
'R'
,
'D'
,
'L'
,
'G'
,
'_'
,
'I'
,
'N'
,
'F'
,
'O'
,
0
...
...
dlls/shell32/shellole.c
View file @
7a0396af
...
...
@@ -49,10 +49,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(shell);
extern
HRESULT
WINAPI
IFSFolder_Constructor
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppv
);
const
WCHAR
sShell32
[
12
]
=
{
'S'
,
'H'
,
'E'
,
'L'
,
'L'
,
'3'
,
'2'
,
'.'
,
'D'
,
'L'
,
'L'
,
'\0'
};
const
WCHAR
sOLE32
[
10
]
=
{
'O'
,
'L'
,
'E'
,
'3'
,
'2'
,
'.'
,
'D'
,
'L'
,
'L'
,
'\0'
};
static
const
WCHAR
sShell32
[
12
]
=
{
'S'
,
'H'
,
'E'
,
'L'
,
'L'
,
'3'
,
'2'
,
'.'
,
'D'
,
'L'
,
'L'
,
'\0'
};
static
const
WCHAR
sOLE32
[
10
]
=
{
'O'
,
'L'
,
'E'
,
'3'
,
'2'
,
'.'
,
'D'
,
'L'
,
'L'
,
'\0'
};
HINSTANCE
hShellOle32
=
0
;
/**************************************************************************
* Default ClassFactory types
*/
...
...
@@ -60,7 +59,7 @@ typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid,
IClassFactory
*
IDefClF_fnConstructor
(
LPFNCREATEINSTANCE
lpfnCI
,
PLONG
pcRefDll
,
REFIID
riidInst
);
/* this table contains all CLSID's of shell32 objects */
struct
{
st
atic
const
st
ruct
{
REFIID
riid
;
LPFNCREATEINSTANCE
lpfnCI
;
}
InterfaceTable
[]
=
{
...
...
dlls/shell32/shlview.c
View file @
7a0396af
...
...
@@ -167,7 +167,7 @@ typedef struct
BYTE
bStyle
;
}
MYTOOLINFO
,
*
LPMYTOOLINFO
;
MYTOOLINFO
Tools
[]
=
static
const
MYTOOLINFO
Tools
[]
=
{
{
FCIDM_SHVIEW_BIGICON
,
0
,
0
,
IDS_VIEW_LARGE
,
TBSTATE_ENABLED
,
BTNS_BUTTON
},
{
FCIDM_SHVIEW_SMALLICON
,
0
,
0
,
IDS_VIEW_SMALL
,
TBSTATE_ENABLED
,
BTNS_BUTTON
},
...
...
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