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
a33ab348
Commit
a33ab348
authored
Feb 11, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Feb 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browseui: Add undocumented Component Category Cache Daemon stub.
parent
e07112ba
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
175 additions
and
0 deletions
+175
-0
Makefile.in
dlls/browseui/Makefile.in
+1
-0
browseui.h
dlls/browseui/browseui.h
+3
-0
browseui_main.c
dlls/browseui/browseui_main.c
+4
-0
compcatcachedaemon.c
dlls/browseui/compcatcachedaemon.c
+159
-0
regsvr.c
dlls/browseui/regsvr.c
+8
-0
No files found.
dlls/browseui/Makefile.in
View file @
a33ab348
...
@@ -10,6 +10,7 @@ EXTRADEFS = -DCOM_NO_WINDOWS_H
...
@@ -10,6 +10,7 @@ EXTRADEFS = -DCOM_NO_WINDOWS_H
C_SRCS
=
\
C_SRCS
=
\
aclmulti.c
\
aclmulti.c
\
browseui_main.c
\
browseui_main.c
\
compcatcachedaemon.c
\
progressdlg.c
\
progressdlg.c
\
regsvr.c
regsvr.c
...
...
dlls/browseui/browseui.h
View file @
a33ab348
...
@@ -26,5 +26,8 @@ extern HINSTANCE BROWSEUI_hinstance;
...
@@ -26,5 +26,8 @@ extern HINSTANCE BROWSEUI_hinstance;
HRESULT
WINAPI
ACLMulti_Constructor
(
IUnknown
*
punkOuter
,
IUnknown
**
ppOut
);
HRESULT
WINAPI
ACLMulti_Constructor
(
IUnknown
*
punkOuter
,
IUnknown
**
ppOut
);
HRESULT
WINAPI
ProgressDialog_Constructor
(
IUnknown
*
punkOuter
,
IUnknown
**
ppOut
);
HRESULT
WINAPI
ProgressDialog_Constructor
(
IUnknown
*
punkOuter
,
IUnknown
**
ppOut
);
HRESULT
WINAPI
CompCatCacheDaemon_Constructor
(
IUnknown
*
punkOuter
,
IUnknown
**
ppOut
);
extern
const
GUID
CLSID_CompCatCacheDaemon
;
#endif
/* __WINE_SHDOCVW_H */
#endif
/* __WINE_SHDOCVW_H */
dlls/browseui/browseui_main.c
View file @
a33ab348
...
@@ -37,6 +37,9 @@
...
@@ -37,6 +37,9 @@
#include "browseui.h"
#include "browseui.h"
#include "initguid.h"
DEFINE_GUID
(
CLSID_CompCatCacheDaemon
,
0x8C7461EF
,
0x2b13
,
0x11d2
,
0xbe
,
0x35
,
0x30
,
0x78
,
0x30
,
0x2c
,
0x20
,
0x30
);
WINE_DEFAULT_DEBUG_CHANNEL
(
browseui
);
WINE_DEFAULT_DEBUG_CHANNEL
(
browseui
);
LONG
BROWSEUI_refCount
=
0
;
LONG
BROWSEUI_refCount
=
0
;
...
@@ -51,6 +54,7 @@ static const struct {
...
@@ -51,6 +54,7 @@ static const struct {
}
ClassesTable
[]
=
{
}
ClassesTable
[]
=
{
{
&
CLSID_ACLMulti
,
ACLMulti_Constructor
},
{
&
CLSID_ACLMulti
,
ACLMulti_Constructor
},
{
&
CLSID_ProgressDialog
,
ProgressDialog_Constructor
},
{
&
CLSID_ProgressDialog
,
ProgressDialog_Constructor
},
{
&
CLSID_CompCatCacheDaemon
,
CompCatCacheDaemon_Constructor
},
{
NULL
,
NULL
}
{
NULL
,
NULL
}
};
};
...
...
dlls/browseui/compcatcachedaemon.c
0 → 100644
View file @
a33ab348
/*
* Component Category Cache 'Daemon'
*
* Copyright (C) 2008 Maarten Lankhorst
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#define COBJMACROS
#include "wine/debug.h"
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "winuser.h"
#include "shlwapi.h"
#include "winerror.h"
#include "objbase.h"
#include "shlguid.h"
#include "shlobj.h"
#include "wine/unicode.h"
#include "browseui.h"
#include "resids.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
browseui
);
typedef
struct
tagCCCD
{
const
IRunnableTaskVtbl
*
vtbl
;
LONG
refCount
;
CRITICAL_SECTION
cs
;
}
CompCatCacheDaemon
;
static
const
IRunnableTaskVtbl
CompCatCacheDaemonVtbl
;
HRESULT
WINAPI
CompCatCacheDaemon_Constructor
(
IUnknown
*
pUnkOuter
,
IUnknown
**
ppOut
)
{
CompCatCacheDaemon
*
This
;
if
(
pUnkOuter
)
return
CLASS_E_NOAGGREGATION
;
This
=
CoTaskMemAlloc
(
sizeof
(
CompCatCacheDaemon
));
if
(
This
==
NULL
)
return
E_OUTOFMEMORY
;
ZeroMemory
(
This
,
sizeof
(
*
This
));
This
->
vtbl
=
&
CompCatCacheDaemonVtbl
;
This
->
refCount
=
1
;
InitializeCriticalSection
(
&
This
->
cs
);
TRACE
(
"returning %p
\n
"
,
This
);
*
ppOut
=
(
IUnknown
*
)
This
;
BROWSEUI_refCount
++
;
return
S_OK
;
}
static
void
CompCatCacheDaemon_Destructor
(
CompCatCacheDaemon
*
This
)
{
TRACE
(
"destroying %p
\n
"
,
This
);
DeleteCriticalSection
(
&
This
->
cs
);
CoTaskMemFree
(
This
);
BROWSEUI_refCount
--
;
}
static
HRESULT
WINAPI
CompCatCacheDaemon_QueryInterface
(
IRunnableTask
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
CompCatCacheDaemon
*
This
=
(
CompCatCacheDaemon
*
)
iface
;
*
ppvOut
=
NULL
;
if
(
IsEqualIID
(
iid
,
&
IID_IRunnableTask
)
||
IsEqualIID
(
iid
,
&
IID_IUnknown
))
{
*
ppvOut
=
This
;
}
if
(
*
ppvOut
)
{
IRunnableTask_AddRef
(
iface
);
return
S_OK
;
}
FIXME
(
"unsupported interface: %s
\n
"
,
debugstr_guid
(
iid
));
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
CompCatCacheDaemon_AddRef
(
IRunnableTask
*
iface
)
{
CompCatCacheDaemon
*
This
=
(
CompCatCacheDaemon
*
)
iface
;
return
InterlockedIncrement
(
&
This
->
refCount
);
}
static
ULONG
WINAPI
CompCatCacheDaemon_Release
(
IRunnableTask
*
iface
)
{
CompCatCacheDaemon
*
This
=
(
CompCatCacheDaemon
*
)
iface
;
ULONG
ret
;
ret
=
InterlockedDecrement
(
&
This
->
refCount
);
if
(
ret
==
0
)
CompCatCacheDaemon_Destructor
(
This
);
return
ret
;
}
static
HRESULT
WINAPI
CompCatCacheDaemon_Run
(
IRunnableTask
*
iface
)
{
FIXME
(
"stub
\n
"
);
return
S_OK
;
}
static
HRESULT
WINAPI
CompCatCacheDaemon_Kill
(
IRunnableTask
*
iface
,
BOOL
fWait
)
{
FIXME
(
"stub
\n
"
);
return
S_OK
;
}
static
HRESULT
WINAPI
CompCatCacheDaemon_Suspend
(
IRunnableTask
*
iface
)
{
FIXME
(
"stub
\n
"
);
return
S_OK
;
}
static
HRESULT
WINAPI
CompCatCacheDaemon_Resume
(
IRunnableTask
*
iface
)
{
FIXME
(
"stub
\n
"
);
return
S_OK
;
}
static
ULONG
WINAPI
CompCatCacheDaemon_IsRunning
(
IRunnableTask
*
iface
)
{
FIXME
(
"stub
\n
"
);
return
0
;
}
static
const
IRunnableTaskVtbl
CompCatCacheDaemonVtbl
=
{
CompCatCacheDaemon_QueryInterface
,
CompCatCacheDaemon_AddRef
,
CompCatCacheDaemon_Release
,
CompCatCacheDaemon_Run
,
CompCatCacheDaemon_Kill
,
CompCatCacheDaemon_Suspend
,
CompCatCacheDaemon_Resume
,
CompCatCacheDaemon_IsRunning
};
dlls/browseui/regsvr.c
View file @
a33ab348
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#include "ole2.h"
#include "ole2.h"
#include "shlguid.h"
#include "shlguid.h"
#include "browseui.h"
#include "wine/debug.h"
#include "wine/debug.h"
...
@@ -454,6 +455,13 @@ static struct regsvr_coclass const coclass_list[] = {
...
@@ -454,6 +455,13 @@ static struct regsvr_coclass const coclass_list[] = {
"browseui.dll"
,
"browseui.dll"
,
"Both"
"Both"
},
},
{
&
CLSID_CompCatCacheDaemon
,
"Component Catagory Cache Daemon"
,
NULL
,
"browseui.dll"
,
"Both"
},
{
NULL
}
/* list terminator */
{
NULL
}
/* list terminator */
};
};
...
...
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