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
9c4432f6
Commit
9c4432f6
authored
Nov 12, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl: Fix the name of the Registrar class id.
parent
32ad286d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
atl.rgs
dlls/atl/atl.rgs
+2
-2
registrar.c
dlls/atl/registrar.c
+5
-5
atliface.idl
include/atliface.idl
+1
-1
No files found.
dlls/atl/atl.rgs
View file @
9c4432f6
...
...
@@ -2,10 +2,10 @@ HKCR
{
ATL.Registrar = s 'Registrar Class'
{
CLSID = s '%CLSID_
ATL
Registrar%'
CLSID = s '%CLSID_Registrar%'
}
NoRemove CLSID {
ForceRemove '%CLSID_
ATL
Registrar%' = s 'Registrar Class'
ForceRemove '%CLSID_Registrar%' = s 'Registrar Class'
{
ProgID = s 'ATL.Registrar'
InprocServer32 = s '%MODULE%'
...
...
dlls/atl/registrar.c
View file @
9c4432f6
...
...
@@ -743,7 +743,7 @@ HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID riid, LPVOID *ppvObject)
{
TRACE
(
"(%s %s %p)
\n
"
,
debugstr_guid
(
clsid
),
debugstr_guid
(
riid
),
ppvObject
);
if
(
IsEqualGUID
(
&
CLSID_
ATL
Registrar
,
clsid
))
{
if
(
IsEqualGUID
(
&
CLSID_Registrar
,
clsid
))
{
*
ppvObject
=
&
RegistrarCF
;
return
S_OK
;
}
...
...
@@ -787,14 +787,14 @@ static HRESULT do_register_dll_server(IRegistrar *pRegistrar, LPCOLESTR wszDll,
static
HRESULT
do_register_server
(
BOOL
do_register
)
{
static
const
WCHAR
CLSID_
ATL
RegistrarW
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
'_'
,
'
A'
,
'T'
,
'L'
,
'
R'
,
'e'
,
'g'
,
'i'
,
's'
,
't'
,
'r'
,
'a'
,
'r'
,
0
};
static
const
WCHAR
CLSID_RegistrarW
[]
=
{
'C'
,
'L'
,
'S'
,
'I'
,
'D'
,
'_'
,
'R'
,
'e'
,
'g'
,
'i'
,
's'
,
't'
,
'r'
,
'a'
,
'r'
,
0
};
static
const
WCHAR
atl_dllW
[]
=
{
'a'
,
't'
,
'l'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
WCHAR
clsid_str
[
40
];
const
struct
_ATL_REGMAP_ENTRY
reg_map
[]
=
{{
CLSID_
ATL
RegistrarW
,
clsid_str
},
{
NULL
,
NULL
}};
const
struct
_ATL_REGMAP_ENTRY
reg_map
[]
=
{{
CLSID_RegistrarW
,
clsid_str
},
{
NULL
,
NULL
}};
StringFromGUID2
(
&
CLSID_
ATL
Registrar
,
clsid_str
,
sizeof
(
clsid_str
)
/
sizeof
(
WCHAR
));
StringFromGUID2
(
&
CLSID_Registrar
,
clsid_str
,
sizeof
(
clsid_str
)
/
sizeof
(
WCHAR
));
return
do_register_dll_server
(
NULL
,
atl_dllW
,
MAKEINTRESOURCEW
(
101
),
do_register
,
reg_map
);
}
...
...
include/atliface.idl
View file @
9c4432f6
...
...
@@ -68,7 +68,7 @@ interface IRegistrar : IUnknown
[
in
]
LPCOLESTR
szType
)
;
}
cpp_quote
(
"DEFINE_GUID(CLSID_
ATL
Registrar,0x44ec053a,0x400f,0x11d0,0x9d,0xcd,0x00,0xa0,0xc9,0x03,0x91,0xd3);"
)
cpp_quote
(
"DEFINE_GUID(CLSID_Registrar,0x44ec053a,0x400f,0x11d0,0x9d,0xcd,0x00,0xa0,0xc9,0x03,0x91,0xd3);"
)
cpp_quote
(
"HRESULT WINAPI AtlAxCreateControl(LPCOLESTR,HWND,IStream*,IUnknown**);"
)
cpp_quote
(
"HRESULT WINAPI AtlAxCreateControlEx(LPCOLESTR,HWND,IStream*,IUnknown**,IUnknown**,REFIID,IUnknown*);"
)
...
...
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