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
c0b0d3b4
Commit
c0b0d3b4
authored
Feb 25, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services: Pass resume index to server.
parent
3c186a65
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
service.c
dlls/advapi32/service.c
+1
-4
svcctl.idl
include/wine/svcctl.idl
+3
-2
rpc.c
programs/services/rpc.c
+6
-2
No files found.
dlls/advapi32/service.c
View file @
c0b0d3b4
...
...
@@ -1619,9 +1619,6 @@ EnumServicesStatusW( SC_HANDLE hmngr, DWORD type, DWORD state, LPENUM_SERVICE_ST
TRACE
(
"%p 0x%x 0x%x %p %u %p %p %p
\n
"
,
hmngr
,
type
,
state
,
services
,
size
,
needed
,
returned
,
resume_handle
);
if
(
resume_handle
)
FIXME
(
"resume handle not supported
\n
"
);
if
(
!
hmngr
)
{
SetLastError
(
ERROR_INVALID_HANDLE
);
...
...
@@ -1637,7 +1634,7 @@ EnumServicesStatusW( SC_HANDLE hmngr, DWORD type, DWORD state, LPENUM_SERVICE_ST
__TRY
{
err
=
svcctl_EnumServicesStatusW
(
hmngr
,
type
,
state
,
(
BYTE
*
)
services
,
size
,
needed
,
returned
);
err
=
svcctl_EnumServicesStatusW
(
hmngr
,
type
,
state
,
(
BYTE
*
)
services
,
size
,
needed
,
returned
,
resume_handle
);
}
__EXCEPT
(
rpc_filter
)
{
...
...
include/wine/svcctl.idl
View file @
c0b0d3b4
...
...
@@ -253,7 +253,7 @@ typedef struct _SC_RPC_CONFIG_INFOW {
/*
Not
compatible
with
Windows
function
0
x0d
*/
DWORD
svcctl_EnumDependentServicesW
(/*
FIXME
*/)
;
/*
Not
c
ompatible
with
Windows
function
0
x0e
*/
/*
C
ompatible
with
Windows
function
0
x0e
*/
DWORD
svcctl_EnumServicesStatusW
(
[
in
]
SC_RPC_HANDLE
hmngr
,
[
in
]
DWORD
type
,
...
...
@@ -261,7 +261,8 @@ typedef struct _SC_RPC_CONFIG_INFOW {
[
out
,
size_is
(
size
)
]
BYTE
*
buffer
,
[
in
]
DWORD
size
,
[
out
]
LPDWORD
needed
,
[
out
]
LPDWORD
returned
[
out
]
LPDWORD
returned
,
[
in
,
out
,
unique
]
LPDWORD
resume
)
;
/*
Compatible
with
Windows
function
0
x0f
*/
...
...
programs/services/rpc.c
View file @
c0b0d3b4
...
...
@@ -1276,7 +1276,8 @@ DWORD __cdecl svcctl_EnumServicesStatusW(
BYTE
*
buffer
,
DWORD
size
,
LPDWORD
needed
,
LPDWORD
returned
)
LPDWORD
returned
,
LPDWORD
resume
)
{
DWORD
err
,
sz
,
total_size
,
num_services
;
DWORD_PTR
offset
;
...
...
@@ -1284,7 +1285,7 @@ DWORD __cdecl svcctl_EnumServicesStatusW(
struct
service_entry
*
service
;
ENUM_SERVICE_STATUSW
*
s
;
WINE_TRACE
(
"(%p, 0x%x, 0x%x, %p, %u, %p, %p
)
\n
"
,
hmngr
,
type
,
state
,
buffer
,
size
,
needed
,
returned
);
WINE_TRACE
(
"(%p, 0x%x, 0x%x, %p, %u, %p, %p
, %p)
\n
"
,
hmngr
,
type
,
state
,
buffer
,
size
,
needed
,
returned
,
resume
);
if
(
!
type
||
!
state
)
return
ERROR_INVALID_PARAMETER
;
...
...
@@ -1292,6 +1293,9 @@ DWORD __cdecl svcctl_EnumServicesStatusW(
if
((
err
=
validate_scm_handle
(
hmngr
,
SC_MANAGER_ENUMERATE_SERVICE
,
&
manager
))
!=
ERROR_SUCCESS
)
return
err
;
if
(
resume
)
WINE_FIXME
(
"resume index not supported
\n
"
);
scmdatabase_lock_exclusive
(
manager
->
db
);
total_size
=
num_services
=
0
;
...
...
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