Commit 8e2bee8c authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

comcat: Constify some variables.

parent 970cfc74
......@@ -35,7 +35,7 @@ struct class_categories {
};
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(
HKEY key, struct class_categories const* class_categories);
static LPENUMGUID COMCAT_CLSID_IEnumGUID_Construct(
......@@ -513,7 +513,7 @@ static HRESULT COMCAT_GetCategoryDesc(HKEY key, LCID lcid, PWCHAR pszDesc,
* 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;
WCHAR *strings;
......
......@@ -41,10 +41,10 @@ static const WCHAR req_keyname[20] = {
static HRESULT COMCAT_RegisterClassCategories(
REFCLSID rclsid, LPCWSTR type,
ULONG cCategories, CATID *rgcatid);
ULONG cCategories, const CATID *rgcatid);
static HRESULT COMCAT_UnRegisterClassCategories(
REFCLSID rclsid, LPCWSTR type,
ULONG cCategories, CATID *rgcatid);
ULONG cCategories, const CATID *rgcatid);
/**********************************************************************
* COMCAT_ICatRegister_QueryInterface
......@@ -256,7 +256,7 @@ static HRESULT COMCAT_RegisterClassCategories(
REFCLSID rclsid,
LPCWSTR type,
ULONG cCategories,
CATID *rgcatid)
const CATID *rgcatid)
{
WCHAR keyname[39];
HRESULT res;
......@@ -309,7 +309,7 @@ static HRESULT COMCAT_UnRegisterClassCategories(
REFCLSID rclsid,
LPCWSTR type,
ULONG cCategories,
CATID *rgcatid)
const CATID *rgcatid)
{
WCHAR keyname[68] = { 'C', 'L', 'S', 'I', 'D', '\\' };
HRESULT res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment