advapi: Constify argument of StartServiceCtrlDispatcher[AW] functions.
This commit is contained in:
parent
c88ccdc1ef
commit
112257e59d
|
@ -755,7 +755,7 @@ static BOOL service_run_threads(void)
|
|||
*
|
||||
* See StartServiceCtrlDispatcherW.
|
||||
*/
|
||||
BOOL WINAPI StartServiceCtrlDispatcherA( LPSERVICE_TABLE_ENTRYA servent )
|
||||
BOOL WINAPI StartServiceCtrlDispatcherA( const SERVICE_TABLE_ENTRYA *servent )
|
||||
{
|
||||
service_data *info;
|
||||
DWORD sz, len;
|
||||
|
@ -801,7 +801,7 @@ BOOL WINAPI StartServiceCtrlDispatcherA( LPSERVICE_TABLE_ENTRYA servent )
|
|||
* Success: TRUE.
|
||||
* Failure: FALSE.
|
||||
*/
|
||||
BOOL WINAPI StartServiceCtrlDispatcherW( LPSERVICE_TABLE_ENTRYW servent )
|
||||
BOOL WINAPI StartServiceCtrlDispatcherW( const SERVICE_TABLE_ENTRYW *servent )
|
||||
{
|
||||
service_data *info;
|
||||
DWORD sz, len;
|
||||
|
|
|
@ -326,8 +326,8 @@ BOOL WINAPI SetServiceStatus(SERVICE_STATUS_HANDLE,LPSERVICE_STATUS);
|
|||
BOOL WINAPI StartServiceA(SC_HANDLE,DWORD,LPCSTR*);
|
||||
BOOL WINAPI StartServiceW(SC_HANDLE,DWORD,LPCWSTR*);
|
||||
#define StartService WINELIB_NAME_AW(StartService)
|
||||
BOOL WINAPI StartServiceCtrlDispatcherA(LPSERVICE_TABLE_ENTRYA);
|
||||
BOOL WINAPI StartServiceCtrlDispatcherW(LPSERVICE_TABLE_ENTRYW);
|
||||
BOOL WINAPI StartServiceCtrlDispatcherA(const SERVICE_TABLE_ENTRYA*);
|
||||
BOOL WINAPI StartServiceCtrlDispatcherW(const SERVICE_TABLE_ENTRYW*);
|
||||
#define StartServiceCtrlDispatcher WINELIB_NAME_AW(StartServiceCtrlDispatcher)
|
||||
BOOL WINAPI UnlockServiceDatabase(SC_LOCK);
|
||||
|
||||
|
|
Loading…
Reference in New Issue