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
598f4738
Commit
598f4738
authored
Apr 07, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netprofm: COM cleanup for INetworkListManager.
parent
6b616a0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
list.c
dlls/netprofm/list.c
+5
-5
No files found.
dlls/netprofm/list.c
View file @
598f4738
...
...
@@ -32,14 +32,14 @@ WINE_DEFAULT_DEBUG_CHANNEL(netprofm);
struct
list_manager
{
const
INetworkListManagerVtbl
*
vtbl
;
LONG
refs
;
INetworkListManager
INetworkListManager_iface
;
LONG
refs
;
};
static
inline
struct
list_manager
*
impl_from_INetworkListManager
(
INetworkListManager
*
iface
)
{
return
(
struct
list_manager
*
)((
char
*
)
iface
-
FIELD_OFFSET
(
struct
list_manager
,
vtbl
)
);
return
CONTAINING_RECORD
(
iface
,
struct
list_manager
,
INetworkListManager_iface
);
}
static
ULONG
WINAPI
list_manager_AddRef
(
...
...
@@ -221,10 +221,10 @@ HRESULT list_manager_create( void **obj )
TRACE
(
"%p
\n
"
,
obj
);
if
(
!
(
mgr
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
mgr
)
)))
return
E_OUTOFMEMORY
;
mgr
->
v
tbl
=
&
list_manager_vtbl
;
mgr
->
INetworkListManager_iface
.
lpV
tbl
=
&
list_manager_vtbl
;
mgr
->
refs
=
1
;
*
obj
=
&
mgr
->
vtbl
;
*
obj
=
&
mgr
->
INetworkListManager_iface
;
TRACE
(
"returning iface %p
\n
"
,
*
obj
);
return
S_OK
;
}
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