Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bfa30775
Commit
bfa30775
authored
Aug 23, 2005
by
Kevin Koltzau
Committed by
Alexandre Julliard
Aug 23, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly declare handles.
parent
575c174d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
service.c
dlls/advapi32/service.c
+3
-3
winsvc.h
include/winsvc.h
+3
-2
No files found.
dlls/advapi32/service.c
View file @
bfa30775
...
...
@@ -895,7 +895,7 @@ SetServiceStatus( SERVICE_STATUS_HANDLE hService, LPSERVICE_STATUS lpStatus )
service_data
*
service
;
BOOL
r
=
TRUE
;
TRACE
(
"%
lx
%lx %lx %lx %lx %lx %lx %lx
\n
"
,
hService
,
TRACE
(
"%
p
%lx %lx %lx %lx %lx %lx %lx
\n
"
,
hService
,
lpStatus
->
dwServiceType
,
lpStatus
->
dwCurrentState
,
lpStatus
->
dwControlsAccepted
,
lpStatus
->
dwWin32ExitCode
,
lpStatus
->
dwServiceSpecificExitCode
,
lpStatus
->
dwCheckPoint
,
...
...
@@ -1511,7 +1511,7 @@ BOOL WINAPI StartServiceW(SC_HANDLE hService, DWORD dwNumServiceArgs,
return
r
;
}
hLock
=
LockServiceDatabase
(
hsvc
->
scm
);
hLock
=
LockServiceDatabase
(
(
SC_HANDLE
)
hsvc
->
scm
);
if
(
!
hLock
)
return
r
;
...
...
@@ -2224,7 +2224,7 @@ BOOL WINAPI SetServiceBits( SERVICE_STATUS_HANDLE hServiceStatus,
BOOL
bSetBitsOn
,
BOOL
bUpdateImmediately
)
{
FIXME
(
"%
08lx
%08lx %x %x
\n
"
,
hServiceStatus
,
dwServiceBits
,
FIXME
(
"%
p
%08lx %x %x
\n
"
,
hServiceStatus
,
dwServiceBits
,
bSetBitsOn
,
bUpdateImmediately
);
return
TRUE
;
}
include/winsvc.h
View file @
bfa30775
...
...
@@ -114,8 +114,9 @@ extern "C" {
/* Handle types */
typedef
HANDLE
SC_HANDLE
,
*
LPSC_HANDLE
;
typedef
DWORD
SERVICE_STATUS_HANDLE
;
DECLARE_HANDLE
(
SC_HANDLE
);
typedef
SC_HANDLE
*
LPSC_HANDLE
;
DECLARE_HANDLE
(
SERVICE_STATUS_HANDLE
);
typedef
LPVOID
SC_LOCK
;
/* Service status structure */
...
...
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