Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
8e2bee8c
Commit
8e2bee8c
authored
Apr 02, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comcat: Constify some variables.
parent
970cfc74
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
information.c
dlls/comcat/information.c
+2
-2
register.c
dlls/comcat/register.c
+4
-4
No files found.
dlls/comcat/information.c
View file @
8e2bee8c
...
@@ -35,7 +35,7 @@ struct class_categories {
...
@@ -35,7 +35,7 @@ struct class_categories {
};
};
static
struct
class_categories
*
COMCAT_PrepareClassCategories
(
static
struct
class_categories
*
COMCAT_PrepareClassCategories
(
ULONG
impl_count
,
CATID
*
impl_catids
,
ULONG
req_count
,
CATID
*
req_catids
);
ULONG
impl_count
,
const
CATID
*
impl_catids
,
ULONG
req_count
,
const
CATID
*
req_catids
);
static
HRESULT
COMCAT_IsClassOfCategories
(
static
HRESULT
COMCAT_IsClassOfCategories
(
HKEY
key
,
struct
class_categories
const
*
class_categories
);
HKEY
key
,
struct
class_categories
const
*
class_categories
);
static
LPENUMGUID
COMCAT_CLSID_IEnumGUID_Construct
(
static
LPENUMGUID
COMCAT_CLSID_IEnumGUID_Construct
(
...
@@ -513,7 +513,7 @@ static HRESULT COMCAT_GetCategoryDesc(HKEY key, LCID lcid, PWCHAR pszDesc,
...
@@ -513,7 +513,7 @@ static HRESULT COMCAT_GetCategoryDesc(HKEY key, LCID lcid, PWCHAR pszDesc,
* COMCAT_PrepareClassCategories
* COMCAT_PrepareClassCategories
*/
*/
static
struct
class_categories
*
COMCAT_PrepareClassCategories
(
static
struct
class_categories
*
COMCAT_PrepareClassCategories
(
ULONG
impl_count
,
CATID
*
impl_catids
,
ULONG
req_count
,
CATID
*
req_catids
)
ULONG
impl_count
,
const
CATID
*
impl_catids
,
ULONG
req_count
,
const
CATID
*
req_catids
)
{
{
struct
class_categories
*
categories
;
struct
class_categories
*
categories
;
WCHAR
*
strings
;
WCHAR
*
strings
;
...
...
dlls/comcat/register.c
View file @
8e2bee8c
...
@@ -41,10 +41,10 @@ static const WCHAR req_keyname[20] = {
...
@@ -41,10 +41,10 @@ static const WCHAR req_keyname[20] = {
static
HRESULT
COMCAT_RegisterClassCategories
(
static
HRESULT
COMCAT_RegisterClassCategories
(
REFCLSID
rclsid
,
LPCWSTR
type
,
REFCLSID
rclsid
,
LPCWSTR
type
,
ULONG
cCategories
,
CATID
*
rgcatid
);
ULONG
cCategories
,
const
CATID
*
rgcatid
);
static
HRESULT
COMCAT_UnRegisterClassCategories
(
static
HRESULT
COMCAT_UnRegisterClassCategories
(
REFCLSID
rclsid
,
LPCWSTR
type
,
REFCLSID
rclsid
,
LPCWSTR
type
,
ULONG
cCategories
,
CATID
*
rgcatid
);
ULONG
cCategories
,
const
CATID
*
rgcatid
);
/**********************************************************************
/**********************************************************************
* COMCAT_ICatRegister_QueryInterface
* COMCAT_ICatRegister_QueryInterface
...
@@ -256,7 +256,7 @@ static HRESULT COMCAT_RegisterClassCategories(
...
@@ -256,7 +256,7 @@ static HRESULT COMCAT_RegisterClassCategories(
REFCLSID
rclsid
,
REFCLSID
rclsid
,
LPCWSTR
type
,
LPCWSTR
type
,
ULONG
cCategories
,
ULONG
cCategories
,
CATID
*
rgcatid
)
const
CATID
*
rgcatid
)
{
{
WCHAR
keyname
[
39
];
WCHAR
keyname
[
39
];
HRESULT
res
;
HRESULT
res
;
...
@@ -309,7 +309,7 @@ static HRESULT COMCAT_UnRegisterClassCategories(
...
@@ -309,7 +309,7 @@ static HRESULT COMCAT_UnRegisterClassCategories(
REFCLSID
rclsid
,
REFCLSID
rclsid
,
LPCWSTR
type
,
LPCWSTR
type
,
ULONG
cCategories
,
ULONG
cCategories
,
CATID
*
rgcatid
)
const
CATID
*
rgcatid
)
{
{
WCHAR
keyname
[
68
]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
'\\'
};
WCHAR
keyname
[
68
]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
'\\'
};
HRESULT
res
;
HRESULT
res
;
...
...
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