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
db07476c
Commit
db07476c
authored
May 06, 2007
by
Bernard Ladenthin
Committed by
Alexandre Julliard
May 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browseui: Implement ClassFactory_LockServer in browseui dll.
parent
770e49cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
browseui.h
dlls/browseui/browseui.h
+4
-0
browseui_main.c
dlls/browseui/browseui_main.c
+12
-2
No files found.
dlls/browseui/browseui.h
View file @
db07476c
...
...
@@ -23,6 +23,10 @@
extern
LONG
BROWSEUI_refCount
;
extern
LONG
module_ref
;
#define LOCK_MODULE() InterlockedIncrement(&module_ref)
#define UNLOCK_MODULE() InterlockedDecrement(&module_ref)
HRESULT
WINAPI
ACLMulti_Constructor
(
IUnknown
*
punkOuter
,
IUnknown
**
ppOut
);
#endif
/* __WINE_SHDOCVW_H */
dlls/browseui/browseui_main.c
View file @
db07476c
...
...
@@ -43,6 +43,8 @@ LONG BROWSEUI_refCount = 0;
HINSTANCE
browseui_hinstance
=
0
;
LONG
module_ref
=
0
;
typedef
HRESULT
(
WINAPI
*
LPFNCONSTRUCTOR
)(
IUnknown
*
pUnkOuter
,
IUnknown
**
ppvOut
);
static
const
struct
{
...
...
@@ -126,8 +128,16 @@ static HRESULT WINAPI ClassFactory_CreateInstance(IClassFactory *iface, IUnknown
static
HRESULT
WINAPI
ClassFactory_LockServer
(
IClassFactory
*
iface
,
BOOL
fLock
)
{
FIXME
(
"(%p, %s) - not implemented
\n
"
,
iface
,
(
fLock
?
"TRUE"
:
"FALSE"
));
return
E_NOTIMPL
;
ClassFactory
*
This
=
(
ClassFactory
*
)
iface
;
TRACE
(
"(%p)->(%x)
\n
"
,
This
,
fLock
);
if
(
fLock
)
LOCK_MODULE
();
else
UNLOCK_MODULE
();
return
S_OK
;
}
static
const
IClassFactoryVtbl
ClassFactoryVtbl
=
{
...
...
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