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
2e82a096
Commit
2e82a096
authored
Oct 21, 2004
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement ChangeServiceConfigA using ChangeServiceConfigW.
parent
1573382d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
service.c
dlls/advapi32/service.c
+26
-2
No files found.
dlls/advapi32/service.c
View file @
2e82a096
...
...
@@ -1462,12 +1462,36 @@ BOOL WINAPI ChangeServiceConfigA( SC_HANDLE hService, DWORD dwServiceType,
LPCSTR
lpLoadOrderGroup
,
LPDWORD
lpdwTagId
,
LPCSTR
lpDependencies
,
LPCSTR
lpServiceStartName
,
LPCSTR
lpPassword
,
LPCSTR
lpDisplayName
)
{
FIXME
(
"%p %ld %ld %ld %s %s %p %p %s %s %s
\n
"
,
LPWSTR
wBinaryPathName
,
wLoadOrderGroup
,
wDependencies
;
LPWSTR
wServiceStartName
,
wPassword
,
wDisplayName
;
BOOL
r
;
TRACE
(
"%p %ld %ld %ld %s %s %p %p %s %s %s
\n
"
,
hService
,
dwServiceType
,
dwStartType
,
dwErrorControl
,
debugstr_a
(
lpBinaryPathName
),
debugstr_a
(
lpLoadOrderGroup
),
lpdwTagId
,
lpDependencies
,
debugstr_a
(
lpServiceStartName
),
debugstr_a
(
lpPassword
),
debugstr_a
(
lpDisplayName
)
);
return
TRUE
;
wBinaryPathName
=
SERV_dup
(
lpBinaryPathName
);
wLoadOrderGroup
=
SERV_dup
(
lpLoadOrderGroup
);
wDependencies
=
SERV_dupmulti
(
lpDependencies
);
wServiceStartName
=
SERV_dup
(
lpServiceStartName
);
wPassword
=
SERV_dup
(
lpPassword
);
wDisplayName
=
SERV_dup
(
lpDisplayName
);
r
=
ChangeServiceConfigW
(
hService
,
dwServiceType
,
dwStartType
,
dwErrorControl
,
wBinaryPathName
,
wLoadOrderGroup
,
lpdwTagId
,
wDependencies
,
wServiceStartName
,
wPassword
,
wDisplayName
);
SERV_free
(
wBinaryPathName
);
SERV_free
(
wLoadOrderGroup
);
SERV_free
(
wDependencies
);
SERV_free
(
wServiceStartName
);
SERV_free
(
wPassword
);
SERV_free
(
wDisplayName
);
return
r
;
}
/******************************************************************************
...
...
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