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
9704fcaf
Commit
9704fcaf
authored
Dec 31, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100: Fixed NULL catmap handling in AtlRegisterClassCategoriesHelper.
parent
8cd903aa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
atl.c
dlls/atl100/atl.c
+3
-0
atl.c
dlls/atl100/tests/atl.c
+7
-0
No files found.
dlls/atl100/atl.c
View file @
9704fcaf
...
@@ -429,6 +429,9 @@ HRESULT WINAPI AtlRegisterClassCategoriesHelper(REFCLSID clsid, const struct _AT
...
@@ -429,6 +429,9 @@ HRESULT WINAPI AtlRegisterClassCategoriesHelper(REFCLSID clsid, const struct _AT
TRACE
(
"(%s %p %x)
\n
"
,
debugstr_guid
(
clsid
),
catmap
,
reg
);
TRACE
(
"(%s %p %x)
\n
"
,
debugstr_guid
(
clsid
),
catmap
,
reg
);
if
(
!
catmap
)
return
S_OK
;
if
(
!
catreg
)
{
if
(
!
catreg
)
{
ICatRegister
*
new_catreg
;
ICatRegister
*
new_catreg
;
...
...
dlls/atl100/tests/atl.c
View file @
9704fcaf
...
@@ -154,6 +154,13 @@ static void test_regcat(void)
...
@@ -154,6 +154,13 @@ static void test_regcat(void)
test_key_not_exists
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{"
CLSID_TEST_STR
"}
\\
Implemented Categories"
);
test_key_not_exists
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{"
CLSID_TEST_STR
"}
\\
Implemented Categories"
);
test_key_not_exists
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{"
CLSID_TEST_STR
"}
\\
Required Categories"
);
test_key_not_exists
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{"
CLSID_TEST_STR
"}
\\
Required Categories"
);
test_key_exists
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{"
CLSID_TEST_STR
"}"
);
test_key_exists
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{"
CLSID_TEST_STR
"}"
);
ok
(
RegDeleteKeyA
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{"
CLSID_TEST_STR
"}"
)
==
ERROR_SUCCESS
,
"Could not delete key
\n
"
);
hres
=
AtlRegisterClassCategoriesHelper
(
&
CLSID_Test
,
NULL
,
TRUE
);
ok
(
hres
==
S_OK
,
"AtlRegisterClassCategoriesHelper failed: %08x
\n
"
,
hres
);
test_key_not_exists
(
HKEY_CLASSES_ROOT
,
"CLSID
\\
{"
CLSID_TEST_STR
"}"
);
}
}
static
void
test_typelib
(
void
)
static
void
test_typelib
(
void
)
...
...
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