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
06b57327
Commit
06b57327
authored
Jun 14, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Jun 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Add stub implementations of IEnumWbemClassObject and IWbemClassObject.
parent
de2ee1b3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
2 deletions
+14
-2
Makefile.in
dlls/wbemprox/Makefile.in
+1
-0
class.c
dlls/wbemprox/class.c
+0
-0
wbemlocator.c
dlls/wbemprox/wbemlocator.c
+2
-2
wbemprox_private.h
dlls/wbemprox/wbemprox_private.h
+11
-0
No files found.
dlls/wbemprox/Makefile.in
View file @
06b57327
...
@@ -2,6 +2,7 @@ MODULE = wbemprox.dll
...
@@ -2,6 +2,7 @@ MODULE = wbemprox.dll
IMPORTS
=
ole32 advapi32
IMPORTS
=
ole32 advapi32
C_SRCS
=
\
C_SRCS
=
\
class.c
\
main.c
\
main.c
\
services.c
\
services.c
\
wbemlocator.c
wbemlocator.c
...
...
dlls/wbemprox/class.c
0 → 100644
View file @
06b57327
This diff is collapsed.
Click to expand it.
dlls/wbemprox/wbemlocator.c
View file @
06b57327
...
@@ -58,7 +58,7 @@ static ULONG WINAPI wbem_locator_Release(
...
@@ -58,7 +58,7 @@ static ULONG WINAPI wbem_locator_Release(
if
(
!
refs
)
if
(
!
refs
)
{
{
TRACE
(
"destroying %p
\n
"
,
wl
);
TRACE
(
"destroying %p
\n
"
,
wl
);
HeapFree
(
GetProcessHeap
(),
0
,
wl
);
heap_free
(
wl
);
}
}
return
refs
;
return
refs
;
}
}
...
@@ -129,7 +129,7 @@ HRESULT WbemLocator_create( IUnknown *pUnkOuter, LPVOID *ppObj )
...
@@ -129,7 +129,7 @@ HRESULT WbemLocator_create( IUnknown *pUnkOuter, LPVOID *ppObj )
TRACE
(
"(%p,%p)
\n
"
,
pUnkOuter
,
ppObj
);
TRACE
(
"(%p,%p)
\n
"
,
pUnkOuter
,
ppObj
);
wl
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
*
wl
)
);
wl
=
heap_alloc
(
sizeof
(
*
wl
)
);
if
(
!
wl
)
return
E_OUTOFMEMORY
;
if
(
!
wl
)
return
E_OUTOFMEMORY
;
wl
->
IWbemLocator_iface
.
lpVtbl
=
&
wbem_locator_vtbl
;
wl
->
IWbemLocator_iface
.
lpVtbl
=
&
wbem_locator_vtbl
;
...
...
dlls/wbemprox/wbemprox_private.h
View file @
06b57327
...
@@ -18,3 +18,14 @@
...
@@ -18,3 +18,14 @@
HRESULT
WbemLocator_create
(
IUnknown
*
,
LPVOID
*
)
DECLSPEC_HIDDEN
;
HRESULT
WbemLocator_create
(
IUnknown
*
,
LPVOID
*
)
DECLSPEC_HIDDEN
;
HRESULT
WbemServices_create
(
IUnknown
*
,
LPVOID
*
)
DECLSPEC_HIDDEN
;
HRESULT
WbemServices_create
(
IUnknown
*
,
LPVOID
*
)
DECLSPEC_HIDDEN
;
static
void
*
heap_alloc
(
size_t
len
)
__WINE_ALLOC_SIZE
(
1
);
static
inline
void
*
heap_alloc
(
size_t
len
)
{
return
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
}
static
inline
BOOL
heap_free
(
void
*
mem
)
{
return
HeapFree
(
GetProcessHeap
(),
0
,
mem
);
}
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