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
c5339be9
Commit
c5339be9
authored
Apr 22, 2007
by
Rolf Kalbermatter
Committed by
Alexandre Julliard
Apr 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add EnumServicesStatusExA/W stub implementation.
parent
a2fbbd92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
2 deletions
+32
-2
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-2
service.c
dlls/advapi32/service.c
+30
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
c5339be9
...
...
@@ -210,8 +210,8 @@
@ stub EnumServiceGroupA
@ stub EnumServiceGroupW
@ stdcall EnumServicesStatusA (long long long ptr long ptr ptr ptr)
# @ stub EnumServicesStatusExA
# @ stub EnumServicesStatusExW
@ stdcall EnumServicesStatusExA(long long long long ptr long ptr ptr ptr str)
@ stdcall EnumServicesStatusExW(long long long long ptr long ptr ptr ptr wstr)
@ stdcall EnumServicesStatusW (long long long ptr long ptr ptr ptr)
# @ stub EnumerateTraceGuids
# @ stub EqualDomainSid
...
...
dlls/advapi32/service.c
View file @
c5339be9
...
...
@@ -1918,6 +1918,36 @@ EnumServicesStatusW( SC_HANDLE hSCManager, DWORD dwServiceType,
}
/******************************************************************************
* EnumServicesStatusExA [ADVAPI32.@]
*/
BOOL
WINAPI
EnumServicesStatusExA
(
SC_HANDLE
hSCManager
,
SC_ENUM_TYPE
InfoLevel
,
DWORD
dwServiceType
,
DWORD
dwServiceState
,
LPBYTE
lpServices
,
DWORD
cbBufSize
,
LPDWORD
pcbBytesNeeded
,
LPDWORD
lpServicesReturned
,
LPDWORD
lpResumeHandle
,
LPCSTR
pszGroupName
)
{
FIXME
(
"%p level=%d type=%x state=%x %p %x %p %p %p %s
\n
"
,
hSCManager
,
InfoLevel
,
dwServiceType
,
dwServiceState
,
lpServices
,
cbBufSize
,
pcbBytesNeeded
,
lpServicesReturned
,
lpResumeHandle
,
debugstr_a
(
pszGroupName
));
SetLastError
(
ERROR_ACCESS_DENIED
);
return
FALSE
;
}
/******************************************************************************
* EnumServicesStatusExW [ADVAPI32.@]
*/
BOOL
WINAPI
EnumServicesStatusExW
(
SC_HANDLE
hSCManager
,
SC_ENUM_TYPE
InfoLevel
,
DWORD
dwServiceType
,
DWORD
dwServiceState
,
LPBYTE
lpServices
,
DWORD
cbBufSize
,
LPDWORD
pcbBytesNeeded
,
LPDWORD
lpServicesReturned
,
LPDWORD
lpResumeHandle
,
LPCWSTR
pszGroupName
)
{
FIXME
(
"%p level=%d type=%x state=%x %p %x %p %p %p %s
\n
"
,
hSCManager
,
InfoLevel
,
dwServiceType
,
dwServiceState
,
lpServices
,
cbBufSize
,
pcbBytesNeeded
,
lpServicesReturned
,
lpResumeHandle
,
debugstr_w
(
pszGroupName
));
SetLastError
(
ERROR_ACCESS_DENIED
);
return
FALSE
;
}
/******************************************************************************
* GetServiceKeyNameA [ADVAPI32.@]
*/
BOOL
WINAPI
GetServiceKeyNameA
(
SC_HANDLE
hSCManager
,
LPCSTR
lpDisplayName
,
...
...
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