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
939179d6
Commit
939179d6
authored
Jan 14, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix, add and rearrange winsvc.h declarations.
parent
b7f67815
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
11 deletions
+17
-11
service.c
dlls/advapi32/service.c
+2
-2
winsvc.h
include/winsvc.h
+15
-9
No files found.
dlls/advapi32/service.c
View file @
939179d6
...
...
@@ -566,7 +566,7 @@ StartServiceCtrlDispatcherW( LPSERVICE_TABLE_ENTRYW servent )
/******************************************************************************
* LockServiceDatabase [ADVAPI32.@]
*/
LPVOID
WINAPI
LockServiceDatabase
(
SC_HANDLE
hSCManager
)
SC_LOCK
WINAPI
LockServiceDatabase
(
SC_HANDLE
hSCManager
)
{
HANDLE
ret
;
...
...
@@ -589,7 +589,7 @@ LPVOID WINAPI LockServiceDatabase (SC_HANDLE hSCManager)
/******************************************************************************
* UnlockServiceDatabase [ADVAPI32.@]
*/
BOOL
WINAPI
UnlockServiceDatabase
(
LPVOID
ScLock
)
BOOL
WINAPI
UnlockServiceDatabase
(
SC_LOCK
ScLock
)
{
TRACE
(
"%p
\n
"
,
ScLock
);
...
...
include/winsvc.h
View file @
939179d6
...
...
@@ -114,7 +114,7 @@ extern "C" {
typedef
HANDLE
SC_HANDLE
,
*
LPSC_HANDLE
;
typedef
DWORD
SERVICE_STATUS_HANDLE
;
typedef
LPVOID
SC_LOCK
;
/* Service status structure */
...
...
@@ -285,21 +285,34 @@ BOOL WINAPI EnumServicesStatusA(SC_HANDLE,DWORD,DWORD,LPENUM_SERVICE_STAT
BOOL
WINAPI
EnumServicesStatusW
(
SC_HANDLE
,
DWORD
,
DWORD
,
LPENUM_SERVICE_STATUSW
,
DWORD
,
LPDWORD
,
LPDWORD
,
LPDWORD
);
#define EnumServicesStatus WINELIB_NAME_AW(EnumServicesStatus)
BOOL
WINAPI
GetServiceDisplayNameA
(
SC_HANDLE
,
LPCSTR
,
LPSTR
,
LPDWORD
);
BOOL
WINAPI
GetServiceDisplayNameW
(
SC_HANDLE
,
LPCWSTR
,
LPWSTR
,
LPDWORD
);
#define GetServiceDisplayName WINELIB_NAME_AW(GetServiceDisplayName)
BOOL
WINAPI
GetServiceKeyNameA
(
SC_HANDLE
,
LPCSTR
,
LPSTR
,
LPDWORD
);
BOOL
WINAPI
GetServiceKeyNameW
(
SC_HANDLE
,
LPCWSTR
,
LPWSTR
,
LPDWORD
);
#define GetServiceKeyName WINELIB_NAME_AW(GetServiceKeyName)
SC_LOCK
WINAPI
LockServiceDatabase
(
SC_HANDLE
);
SC_HANDLE
WINAPI
OpenSCManagerA
(
LPCSTR
,
LPCSTR
,
DWORD
);
SC_HANDLE
WINAPI
OpenSCManagerW
(
LPCWSTR
,
LPCWSTR
,
DWORD
);
#define OpenSCManager WINELIB_NAME_AW(OpenSCManager)
SC_HANDLE
WINAPI
OpenServiceA
(
SC_HANDLE
,
LPCSTR
,
DWORD
);
SC_HANDLE
WINAPI
OpenServiceW
(
SC_HANDLE
,
LPCWSTR
,
DWORD
);
#define OpenService WINELIB_NAME_AW(OpenService)
BOOL
WINAPI
QueryServiceStatus
(
SC_HANDLE
,
LPSERVICE_STATUS
);
BOOL
WINAPI
QueryServiceStatusEx
(
SC_HANDLE
,
SC_STATUS_TYPE
,
LPBYTE
,
DWORD
,
LPDWORD
);
BOOL
WINAPI
QueryServiceConfigA
(
SC_HANDLE
,
LPQUERY_SERVICE_CONFIGA
,
DWORD
,
LPDWORD
);
BOOL
WINAPI
QueryServiceConfigW
(
SC_HANDLE
,
LPQUERY_SERVICE_CONFIGW
,
DWORD
,
LPDWORD
);
#define QueryServiceConfig WINELIB_NAME_AW(QueryServiceConfig)
BOOL
WINAPI
QueryServiceLockStatusA
(
SC_HANDLE
,
LPQUERY_SERVICE_LOCK_STATUSA
,
DWORD
,
LPDWORD
);
BOOL
WINAPI
QueryServiceLockStatusW
(
SC_HANDLE
,
LPQUERY_SERVICE_LOCK_STATUSW
,
DWORD
,
LPDWORD
);
#define QueryServiceLockStatus WINELIB_NAME_AW(QueryServiceLockStatus)
SERVICE_STATUS_HANDLE
WINAPI
RegisterServiceCtrlHandlerA
(
LPCSTR
,
LPHANDLER_FUNCTION
);
SERVICE_STATUS_HANDLE
WINAPI
RegisterServiceCtrlHandlerW
(
LPCWSTR
,
LPHANDLER_FUNCTION
);
#define RegisterServiceCtrlHandler WINELIB_NAME_AW(RegisterServiceCtrlHandler)
SERVICE_STATUS_HANDLE
WINAPI
RegisterServiceCtrlHandlerExA
(
LPCSTR
,
LPHANDLER_FUNCTION_EX
,
LPVOID
);
SERVICE_STATUS_HANDLE
WINAPI
RegisterServiceCtrlHandlerExW
(
LPCWSTR
,
LPHANDLER_FUNCTION_EX
,
LPVOID
);
#define RegisterServiceCtrlHandlerEx WINELIB_NAME_AW(RegisterServiceCtrlHandlerEx)
BOOL
WINAPI
SetServiceObjectSecurity
(
SC_HANDLE
,
SECURITY_INFORMATION
,
PSECURITY_DESCRIPTOR
);
BOOL
WINAPI
SetServiceStatus
(
SERVICE_STATUS_HANDLE
,
LPSERVICE_STATUS
);
BOOL
WINAPI
StartServiceA
(
SC_HANDLE
,
DWORD
,
LPCSTR
*
);
BOOL
WINAPI
StartServiceW
(
SC_HANDLE
,
DWORD
,
LPCWSTR
*
);
...
...
@@ -307,14 +320,7 @@ BOOL WINAPI StartServiceW(SC_HANDLE,DWORD,LPCWSTR*);
BOOL
WINAPI
StartServiceCtrlDispatcherA
(
LPSERVICE_TABLE_ENTRYA
);
BOOL
WINAPI
StartServiceCtrlDispatcherW
(
LPSERVICE_TABLE_ENTRYW
);
#define StartServiceCtrlDispatcher WINELIB_NAME_AW(StartServiceCtrlDispatcher)
BOOL
WINAPI
QueryServiceStatus
(
SC_HANDLE
,
LPSERVICE_STATUS
);
BOOL
WINAPI
QueryServiceStatusEx
(
SC_HANDLE
,
SC_STATUS_TYPE
,
LPBYTE
,
DWORD
,
LPDWORD
);
BOOL
WINAPI
QueryServiceConfigA
(
SC_HANDLE
,
LPQUERY_SERVICE_CONFIGA
,
DWORD
,
LPDWORD
);
BOOL
WINAPI
QueryServiceConfigW
(
SC_HANDLE
,
LPQUERY_SERVICE_CONFIGW
,
DWORD
,
LPDWORD
);
#define QueryServiceConfig WINELIB_NAME_AW(QueryServiceConfig)
BOOL
WINAPI
QueryServiceLockStatusA
(
SC_HANDLE
,
LPQUERY_SERVICE_LOCK_STATUSA
,
DWORD
,
LPDWORD
);
BOOL
WINAPI
QueryServiceLockStatusW
(
SC_HANDLE
,
LPQUERY_SERVICE_LOCK_STATUSW
,
DWORD
,
LPDWORD
);
#define QueryServiceLockStatus WINELIB_NAME_AW(QueryServiceLockStatus)
BOOL
WINAPI
UnlockServiceDatabase
(
SC_LOCK
);
#ifdef __cplusplus
}
/* extern "C" */
...
...
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