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
1ad2087e
Commit
1ad2087e
authored
Sep 24, 2002
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 24, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert HKEY to a void*.
parent
d56fd1a7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
comcat_main.c
dlls/comcat/comcat_main.c
+1
-1
shellpath.c
dlls/shell32/shellpath.c
+14
-14
shellreg.c
dlls/shell32/shellreg.c
+1
-1
windef.h
include/windef.h
+1
-1
No files found.
dlls/comcat/comcat_main.c
View file @
1ad2087e
...
@@ -53,7 +53,7 @@ static const WCHAR tm_valname[15] = {
...
@@ -53,7 +53,7 @@ static const WCHAR tm_valname[15] = {
'e'
,
'l'
,
0
};
'e'
,
'l'
,
0
};
static
const
WCHAR
tm_value
[
5
]
=
{
'B'
,
'o'
,
't'
,
'h'
,
0
};
static
const
WCHAR
tm_value
[
5
]
=
{
'B'
,
'o'
,
't'
,
'h'
,
0
};
static
struct
regsvr_entry
regsvr_entries
[
6
]
=
{
static
struct
regsvr_entry
regsvr_entries
[
6
]
=
{
{
HKEY_CLASSES_ROOT
,
0
,
clsid_keyname
},
{
(
int
)
HKEY_CLASSES_ROOT
,
0
,
clsid_keyname
},
{
0
,
1
,
class_keyname
},
{
0
,
1
,
class_keyname
},
{
1
,
1
,
NULL
,
class_name
},
{
1
,
1
,
NULL
,
class_name
},
{
1
,
1
,
ips32_keyname
},
{
1
,
1
,
ips32_keyname
},
...
...
dlls/shell32/shellpath.c
View file @
1ad2087e
...
@@ -690,7 +690,7 @@ static const CSIDL_DATA CSIDL_Data[] =
...
@@ -690,7 +690,7 @@ static const CSIDL_DATA CSIDL_Data[] =
"Desktop"
"Desktop"
},
},
{
/* CSIDL_INTERNET */
{
/* CSIDL_INTERNET */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
NULL
,
NULL
,
},
},
...
@@ -735,7 +735,7 @@ static const CSIDL_DATA CSIDL_Data[] =
...
@@ -735,7 +735,7 @@ static const CSIDL_DATA CSIDL_Data[] =
"SendTo"
"SendTo"
},
},
{
/* CSIDL_BITBUCKET (is this c:\recycled ?) */
{
/* CSIDL_BITBUCKET (is this c:\recycled ?) */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
"recycled"
"recycled"
},
},
...
@@ -745,17 +745,17 @@ static const CSIDL_DATA CSIDL_Data[] =
...
@@ -745,17 +745,17 @@ static const CSIDL_DATA CSIDL_Data[] =
"Start Menu"
"Start Menu"
},
},
{
/* CSIDL_MYDOCUMENTS */
{
/* CSIDL_MYDOCUMENTS */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
NULL
,
NULL
,
},
},
{
/* CSIDL_MYMUSIC */
{
/* CSIDL_MYMUSIC */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
NULL
,
NULL
,
},
},
{
/* CSIDL_MYVIDEO */
{
/* CSIDL_MYVIDEO */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
NULL
,
NULL
,
},
},
...
@@ -770,12 +770,12 @@ static const CSIDL_DATA CSIDL_Data[] =
...
@@ -770,12 +770,12 @@ static const CSIDL_DATA CSIDL_Data[] =
"Desktop"
"Desktop"
},
},
{
/* CSIDL_DRIVES */
{
/* CSIDL_DRIVES */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
"My Computer"
"My Computer"
},
},
{
/* CSIDL_NETWORK */
{
/* CSIDL_NETWORK */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
"Network Neighborhood"
"Network Neighborhood"
},
},
...
@@ -830,12 +830,12 @@ static const CSIDL_DATA CSIDL_Data[] =
...
@@ -830,12 +830,12 @@ static const CSIDL_DATA CSIDL_Data[] =
"Local Settings
\\
Application Data"
,
"Local Settings
\\
Application Data"
,
},
},
{
/* CSIDL_ALTSTARTUP */
{
/* CSIDL_ALTSTARTUP */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
NULL
NULL
},
},
{
/* CSIDL_COMMON_ALTSTARTUP */
{
/* CSIDL_COMMON_ALTSTARTUP */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
NULL
NULL
},
},
...
@@ -910,17 +910,17 @@ static const CSIDL_DATA CSIDL_Data[] =
...
@@ -910,17 +910,17 @@ static const CSIDL_DATA CSIDL_Data[] =
"Program Files
\\
Common Files"
/* ? */
"Program Files
\\
Common Files"
/* ? */
},
},
{
/* CSIDL_COMMON_TEMPLATES */
{
/* CSIDL_COMMON_TEMPLATES */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
NULL
NULL
},
},
{
/* CSIDL_COMMON_DOCUMENTS */
{
/* CSIDL_COMMON_DOCUMENTS */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
NULL
NULL
},
},
{
/* CSIDL_COMMON_ADMINTOOLS */
{
/* CSIDL_COMMON_ADMINTOOLS */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
NULL
NULL
},
},
...
@@ -930,7 +930,7 @@ static const CSIDL_DATA CSIDL_Data[] =
...
@@ -930,7 +930,7 @@ static const CSIDL_DATA CSIDL_Data[] =
"Start Menu
\\
Programs
\\
Administrative Tools"
"Start Menu
\\
Programs
\\
Administrative Tools"
},
},
{
/* CSIDL_CONNECTIONS */
{
/* CSIDL_CONNECTIONS */
0
,
1
,
/* FIXME */
0
,
(
HKEY
)
1
,
/* FIXME */
NULL
,
NULL
,
NULL
NULL
},
},
...
@@ -1020,7 +1020,7 @@ BOOL WINAPI SHGetSpecialFolderPathA (
...
@@ -1020,7 +1020,7 @@ BOOL WINAPI SHGetSpecialFolderPathA (
ERR
(
"folder unknown or not allowed
\n
"
);
ERR
(
"folder unknown or not allowed
\n
"
);
return
FALSE
;
return
FALSE
;
}
}
if
(
CSIDL_Data
[
folder
].
hRootKey
==
1
)
if
(
CSIDL_Data
[
folder
].
hRootKey
==
(
HKEY
)
1
)
{
{
FIXME
(
"folder unknown, please add.
\n
"
);
FIXME
(
"folder unknown, please add.
\n
"
);
return
FALSE
;
return
FALSE
;
...
...
dlls/shell32/shellreg.c
View file @
1ad2087e
...
@@ -156,7 +156,7 @@ HRESULT WINAPI SHRegCloseKey (HKEY hkey)
...
@@ -156,7 +156,7 @@ HRESULT WINAPI SHRegCloseKey (HKEY hkey)
*/
*/
static
inline
void
fix_win16_hkey
(
HKEY
*
hkey
)
static
inline
void
fix_win16_hkey
(
HKEY
*
hkey
)
{
{
if
(
*
hkey
==
0
||
*
hkey
==
1
)
*
hkey
=
HKEY_CLASSES_ROOT
;
if
(
*
hkey
==
0
||
*
hkey
==
(
HKEY
)
1
)
*
hkey
=
HKEY_CLASSES_ROOT
;
}
}
/******************************************************************************
/******************************************************************************
...
...
include/windef.h
View file @
1ad2087e
...
@@ -82,7 +82,7 @@ DECLARE_OLD_HANDLE(HFONT);
...
@@ -82,7 +82,7 @@ DECLARE_OLD_HANDLE(HFONT);
DECLARE_HANDLE
(
HHOOK
);
DECLARE_HANDLE
(
HHOOK
);
DECLARE_OLD_HANDLE
(
HICON
);
DECLARE_OLD_HANDLE
(
HICON
);
DECLARE_OLD_HANDLE
(
HINSTANCE
);
DECLARE_OLD_HANDLE
(
HINSTANCE
);
DECLARE_
OLD_
HANDLE
(
HKEY
);
DECLARE_HANDLE
(
HKEY
);
DECLARE_HANDLE
(
HKL
);
DECLARE_HANDLE
(
HKL
);
DECLARE_OLD_HANDLE
(
HMENU
);
DECLARE_OLD_HANDLE
(
HMENU
);
DECLARE_HANDLE
(
HMETAFILE
);
DECLARE_HANDLE
(
HMETAFILE
);
...
...
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