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
39fb7839
Commit
39fb7839
authored
Mar 10, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Constify some variables.
parent
3b695ae3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
service.c
dlls/advapi32/service.c
+4
-4
No files found.
dlls/advapi32/service.c
View file @
39fb7839
...
@@ -276,7 +276,7 @@ static inline void service_set_multi_string( struct reg_value *val,
...
@@ -276,7 +276,7 @@ static inline void service_set_multi_string( struct reg_value *val,
}
}
static
inline
LONG
service_write_values
(
HKEY
hKey
,
static
inline
LONG
service_write_values
(
HKEY
hKey
,
struct
reg_value
*
val
,
int
n
)
const
struct
reg_value
*
val
,
int
n
)
{
{
LONG
r
=
ERROR_SUCCESS
;
LONG
r
=
ERROR_SUCCESS
;
int
i
;
int
i
;
...
@@ -294,7 +294,7 @@ static inline LONG service_write_values( HKEY hKey,
...
@@ -294,7 +294,7 @@ static inline LONG service_write_values( HKEY hKey,
/******************************************************************************
/******************************************************************************
* Service IPC functions
* Service IPC functions
*/
*/
static
LPWSTR
service_get_pipe_name
(
LPWSTR
service
)
static
LPWSTR
service_get_pipe_name
(
LP
C
WSTR
service
)
{
{
static
const
WCHAR
prefix
[]
=
{
'\\'
,
'\\'
,
'.'
,
'\\'
,
'p'
,
'i'
,
'p'
,
'e'
,
'\\'
,
static
const
WCHAR
prefix
[]
=
{
'\\'
,
'\\'
,
'.'
,
'\\'
,
'p'
,
'i'
,
'p'
,
'e'
,
'\\'
,
'_'
,
'_'
,
'w'
,
'i'
,
'n'
,
'e'
,
's'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
'_'
,
0
};
'_'
,
'_'
,
'w'
,
'i'
,
'n'
,
'e'
,
's'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
'_'
,
0
};
...
@@ -308,7 +308,7 @@ static LPWSTR service_get_pipe_name(LPWSTR service)
...
@@ -308,7 +308,7 @@ static LPWSTR service_get_pipe_name(LPWSTR service)
return
name
;
return
name
;
}
}
static
HANDLE
service_open_pipe
(
LPWSTR
service
)
static
HANDLE
service_open_pipe
(
LP
C
WSTR
service
)
{
{
LPWSTR
szPipe
=
service_get_pipe_name
(
service
);
LPWSTR
szPipe
=
service_get_pipe_name
(
service
);
HANDLE
handle
=
INVALID_HANDLE_VALUE
;
HANDLE
handle
=
INVALID_HANDLE_VALUE
;
...
@@ -329,7 +329,7 @@ static HANDLE service_open_pipe(LPWSTR service)
...
@@ -329,7 +329,7 @@ static HANDLE service_open_pipe(LPWSTR service)
/******************************************************************************
/******************************************************************************
* service_get_event_handle
* service_get_event_handle
*/
*/
static
HANDLE
service_get_event_handle
(
LPWSTR
service
)
static
HANDLE
service_get_event_handle
(
LP
C
WSTR
service
)
{
{
static
const
WCHAR
prefix
[]
=
{
static
const
WCHAR
prefix
[]
=
{
'_'
,
'_'
,
'w'
,
'i'
,
'n'
,
'e'
,
's'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
'_'
,
0
};
'_'
,
'_'
,
'w'
,
'i'
,
'n'
,
'e'
,
's'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
'_'
,
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