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
7a23361a
Commit
7a23361a
authored
Nov 27, 2018
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comsvcs: Implement IHolder Alloc/Free Resource.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a68d7800
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
main.c
dlls/comsvcs/main.c
+14
-4
No files found.
dlls/comsvcs/main.c
View file @
7a23361a
...
@@ -107,19 +107,29 @@ static ULONG WINAPI holder_Release(IHolder *iface)
...
@@ -107,19 +107,29 @@ static ULONG WINAPI holder_Release(IHolder *iface)
static
HRESULT
WINAPI
holder_AllocResource
(
IHolder
*
iface
,
const
RESTYPID
typeid
,
RESID
*
resid
)
static
HRESULT
WINAPI
holder_AllocResource
(
IHolder
*
iface
,
const
RESTYPID
typeid
,
RESID
*
resid
)
{
{
holder
*
This
=
impl_from_IHolder
(
iface
);
holder
*
This
=
impl_from_IHolder
(
iface
);
HRESULT
hr
;
TIMEINSECS
secs
;
FIXM
E
(
"(%p)->(%08lx, %p) stub
\n
"
,
This
,
typeid
,
resid
);
TRAC
E
(
"(%p)->(%08lx, %p) stub
\n
"
,
This
,
typeid
,
resid
);
return
E_NOTIMPL
;
hr
=
IDispenserDriver_CreateResource
(
This
->
driver
,
typeid
,
resid
,
&
secs
);
TRACE
(
"<- 0x%08x
\n
"
,
hr
);
return
hr
;
}
}
static
HRESULT
WINAPI
holder_FreeResource
(
IHolder
*
iface
,
const
RESID
resid
)
static
HRESULT
WINAPI
holder_FreeResource
(
IHolder
*
iface
,
const
RESID
resid
)
{
{
holder
*
This
=
impl_from_IHolder
(
iface
);
holder
*
This
=
impl_from_IHolder
(
iface
);
HRESULT
hr
;
FIXM
E
(
"(%p)->(%08lx) stub
\n
"
,
This
,
resid
);
TRAC
E
(
"(%p)->(%08lx) stub
\n
"
,
This
,
resid
);
return
E_NOTIMPL
;
hr
=
IDispenserDriver_DestroyResource
(
This
->
driver
,
resid
);
TRACE
(
"<- 0x%08x
\n
"
,
hr
);
return
hr
;
}
}
static
HRESULT
WINAPI
holder_TrackResource
(
IHolder
*
iface
,
const
RESID
resid
)
static
HRESULT
WINAPI
holder_TrackResource
(
IHolder
*
iface
,
const
RESID
resid
)
...
...
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