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
f817cd7a
Commit
f817cd7a
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 a stub implementation of IWbemServices.
parent
7a16382c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletion
+15
-1
Makefile.in
dlls/wbemprox/Makefile.in
+1
-0
services.c
dlls/wbemprox/services.c
+0
-0
wbemlocator.c
dlls/wbemprox/wbemlocator.c
+13
-1
wbemprox_private.h
dlls/wbemprox/wbemprox_private.h
+1
-0
No files found.
dlls/wbemprox/Makefile.in
View file @
f817cd7a
...
...
@@ -3,6 +3,7 @@ IMPORTS = ole32 advapi32
C_SRCS
=
\
main.c
\
services.c
\
wbemlocator.c
IDL_R_SRCS
=
wbemprox.idl
...
...
dlls/wbemprox/services.c
0 → 100644
View file @
f817cd7a
This diff is collapsed.
Click to expand it.
dlls/wbemprox/wbemlocator.c
View file @
f817cd7a
...
...
@@ -23,7 +23,6 @@
#include "windef.h"
#include "winbase.h"
#include "initguid.h"
#include "objbase.h"
#include "wbemcli.h"
...
...
@@ -98,8 +97,21 @@ static HRESULT WINAPI wbem_locator_ConnectServer(
IWbemContext
*
pCtx
,
IWbemServices
**
ppNamespace
)
{
HRESULT
hr
;
FIXME
(
"%p, %s, %s, %s, %s, 0x%08x, %s, %p, %p)
\n
"
,
iface
,
debugstr_w
(
NetworkResource
),
debugstr_w
(
User
),
debugstr_w
(
Password
),
debugstr_w
(
Locale
),
SecurityFlags
,
debugstr_w
(
Authority
),
pCtx
,
ppNamespace
);
if
(((
NetworkResource
[
0
]
==
'\\'
&&
NetworkResource
[
1
]
==
'\\'
)
||
(
NetworkResource
[
0
]
==
'/'
&&
NetworkResource
[
1
]
==
'/'
))
&&
NetworkResource
[
2
]
!=
'.'
)
{
FIXME
(
"remote computer not supported
\n
"
);
return
WBEM_E_TRANSPORT_FAILURE
;
}
hr
=
WbemServices_create
(
NULL
,
(
void
**
)
ppNamespace
);
if
(
SUCCEEDED
(
hr
))
return
WBEM_NO_ERROR
;
return
WBEM_E_FAILED
;
}
...
...
dlls/wbemprox/wbemprox_private.h
View file @
f817cd7a
...
...
@@ -17,3 +17,4 @@
*/
HRESULT
WbemLocator_create
(
IUnknown
*
,
LPVOID
*
)
DECLSPEC_HIDDEN
;
HRESULT
WbemServices_create
(
IUnknown
*
,
LPVOID
*
)
DECLSPEC_HIDDEN
;
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