;--- include file created by h2incx v0.85, copyright 2005 japheth
;--- source file: WINSVC.H, last modified: 4/24/1998 0:0
ifndef _WINSVC_
_WINSVC_	EQU	<>
if  NOT defined(WINADVAPI)
if  NOT defined(_ADVAPI32_)
WINADVAPI	EQU	<DECLSPEC_IMPORT>
else 
WINADVAPI	EQU	<>
endif 
endif 
ifdef __cplusplus 
;extern "C"{ 
endif 
SERVICES_ACTIVE_DATABASEW	EQU	<L"ServicesActive">
SERVICES_FAILED_DATABASEW	EQU	<L"ServicesFailed">
SERVICES_ACTIVE_DATABASEA	EQU	<"ServicesActive">
SERVICES_FAILED_DATABASEA	EQU	<"ServicesFailed">
SC_GROUP_IDENTIFIERW	EQU	<L'+'>
SC_GROUP_IDENTIFIERA	EQU	<'+'>
ifdef UNICODE 
SERVICES_ACTIVE_DATABASE	EQU	<SERVICES_ACTIVE_DATABASEW>
SERVICES_FAILED_DATABASE	EQU	<SERVICES_FAILED_DATABASEW>
SC_GROUP_IDENTIFIER	EQU	<SC_GROUP_IDENTIFIERW>
else 
SERVICES_ACTIVE_DATABASE	EQU	<SERVICES_ACTIVE_DATABASEA>
SERVICES_FAILED_DATABASE	EQU	<SERVICES_FAILED_DATABASEA>
SC_GROUP_IDENTIFIER	EQU	<SC_GROUP_IDENTIFIERA>
endif 
SERVICE_NO_CHANGE	EQU	0ffffffffh
SERVICE_ACTIVE	EQU	00000001h
SERVICE_INACTIVE	EQU	00000002h
SERVICE_STATE_ALL	EQU	( SERVICE_ACTIVE  or  SERVICE_INACTIVE )
SERVICE_CONTROL_STOP	EQU	00000001h
SERVICE_CONTROL_PAUSE	EQU	00000002h
SERVICE_CONTROL_CONTINUE	EQU	00000003h
SERVICE_CONTROL_INTERROGATE	EQU	00000004h
SERVICE_CONTROL_SHUTDOWN	EQU	00000005h
SERVICE_CONTROL_PARAMCHANGE	EQU	00000006h
SERVICE_CONTROL_NETBINDADD	EQU	00000007h
SERVICE_CONTROL_NETBINDREMOVE	EQU	00000008h
SERVICE_CONTROL_NETBINDENABLE	EQU	00000009h
SERVICE_CONTROL_NETBINDDISABLE	EQU	0000000Ah
SERVICE_STOPPED	EQU	00000001h
SERVICE_START_PENDING	EQU	00000002h
SERVICE_STOP_PENDING	EQU	00000003h
SERVICE_RUNNING	EQU	00000004h
SERVICE_CONTINUE_PENDING	EQU	00000005h
SERVICE_PAUSE_PENDING	EQU	00000006h
SERVICE_PAUSED	EQU	00000007h
SERVICE_ACCEPT_STOP	EQU	00000001h
SERVICE_ACCEPT_PAUSE_CONTINUE	EQU	00000002h
SERVICE_ACCEPT_SHUTDOWN	EQU	00000004h
SERVICE_ACCEPT_PARAMCHANGE	EQU	00000008h
SERVICE_ACCEPT_NETBINDCHANGE	EQU	00000010h
SC_MANAGER_CONNECT	EQU	0001h
SC_MANAGER_CREATE_SERVICE	EQU	0002h
SC_MANAGER_ENUMERATE_SERVICE	EQU	0004h
SC_MANAGER_LOCK	EQU	0008h
SC_MANAGER_QUERY_LOCK_STATUS	EQU	0010h
SC_MANAGER_MODIFY_BOOT_CONFIG	EQU	0020h
SC_MANAGER_ALL_ACCESS	EQU	( STANDARD_RIGHTS_REQUIRED  or  SC_MANAGER_CONNECT  or  SC_MANAGER_CREATE_SERVICE  or  SC_MANAGER_ENUMERATE_SERVICE  or  SC_MANAGER_LOCK  or  SC_MANAGER_QUERY_LOCK_STATUS  or  SC_MANAGER_MODIFY_BOOT_CONFIG )
SERVICE_QUERY_CONFIG	EQU	0001h
SERVICE_CHANGE_CONFIG	EQU	0002h
SERVICE_QUERY_STATUS	EQU	0004h
SERVICE_ENUMERATE_DEPENDENTS	EQU	0008h
SERVICE_START	EQU	0010h
SERVICE_STOP	EQU	0020h
SERVICE_PAUSE_CONTINUE	EQU	0040h
SERVICE_INTERROGATE	EQU	0080h
SERVICE_USER_DEFINED_CONTROL	EQU	0100h
SERVICE_ALL_ACCESS	EQU	(STANDARD_RIGHTS_REQUIRED  or \
			SERVICE_QUERY_CONFIG  or \
            SERVICE_CHANGE_CONFIG  or \
            SERVICE_QUERY_STATUS  or \
            SERVICE_ENUMERATE_DEPENDENTS or \
            SERVICE_START  or \
            SERVICE_STOP  or \
            SERVICE_PAUSE_CONTINUE  or \
            SERVICE_INTERROGATE  or \
            SERVICE_USER_DEFINED_CONTROL )
SERVICE_CONFIG_DESCRIPTION	EQU	1
SERVICE_CONFIG_FAILURE_ACTIONS	EQU	2
SERVICE_DESCRIPTIONA	struct
lpDescription	LPSTR	?
SERVICE_DESCRIPTIONA	ends

LPSERVICE_DESCRIPTIONA typedef ptr SERVICE_DESCRIPTIONA

SERVICE_DESCRIPTIONW	struct
lpDescription	LPWSTR	?
SERVICE_DESCRIPTIONW	ends

LPSERVICE_DESCRIPTIONW typedef ptr SERVICE_DESCRIPTIONW

ifdef UNICODE 
SERVICE_DESCRIPTION  typedef SERVICE_DESCRIPTIONW
LPSERVICE_DESCRIPTION  typedef LPSERVICE_DESCRIPTIONW
else 
SERVICE_DESCRIPTION  typedef SERVICE_DESCRIPTIONA
LPSERVICE_DESCRIPTION  typedef LPSERVICE_DESCRIPTIONA
endif 
SC_ACTION_TYPE typedef DWORD
SC_ACTION_NONE = 0 
SC_ACTION_RESTART = 1 
SC_ACTION_REBOOT = 2 
SC_ACTION_RUN_COMMAND = 3 

SC_ACTION	struct
Type_	SC_ACTION_TYPE	?
Delay	DWORD	?
SC_ACTION	ends

LPSC_ACTION typedef ptr SC_ACTION

SERVICE_FAILURE_ACTIONSA	struct
dwResetPeriod	DWORD	?
lpRebootMsg	LPSTR	?
lpCommand	LPSTR	?
cActions	DWORD	?
lpsaActions	DWORD ?
SERVICE_FAILURE_ACTIONSA	ends

LPSERVICE_FAILURE_ACTIONSA typedef ptr SERVICE_FAILURE_ACTIONSA

SERVICE_FAILURE_ACTIONSW	struct
dwResetPeriod	DWORD	?
lpRebootMsg	LPWSTR	?
lpCommand	LPWSTR	?
cActions	DWORD	?
lpsaActions	DWORD ?
SERVICE_FAILURE_ACTIONSW	ends

LPSERVICE_FAILURE_ACTIONSW typedef ptr SERVICE_FAILURE_ACTIONSW

ifdef UNICODE 
SERVICE_FAILURE_ACTIONS  typedef SERVICE_FAILURE_ACTIONSW
LPSERVICE_FAILURE_ACTIONS  typedef LPSERVICE_FAILURE_ACTIONSW
else 
SERVICE_FAILURE_ACTIONS  typedef SERVICE_FAILURE_ACTIONSA
LPSERVICE_FAILURE_ACTIONS  typedef LPSERVICE_FAILURE_ACTIONSA
endif 
SC_HANDLE  typedef HANDLE
LPSC_HANDLE  typedef ptr SC_HANDLE
SERVICE_STATUS_HANDLE  typedef DWORD
SERVICE_STATUS	struct
dwServiceType	DWORD	?
dwCurrentState	DWORD	?
dwControlsAccepted	DWORD	?
dwWin32ExitCode	DWORD	?
dwServiceSpecificExitCode	DWORD	?
dwCheckPoint	DWORD	?
dwWaitHint	DWORD	?
SERVICE_STATUS	ends

LPSERVICE_STATUS typedef ptr SERVICE_STATUS

ENUM_SERVICE_STATUSA	struct
lpServiceName	LPSTR	?
lpDisplayName	LPSTR	?
ServiceStatus	SERVICE_STATUS	<>
ENUM_SERVICE_STATUSA	ends

LPENUM_SERVICE_STATUSA typedef ptr ENUM_SERVICE_STATUSA

ENUM_SERVICE_STATUSW	struct
lpServiceName	LPWSTR	?
lpDisplayName	LPWSTR	?
ServiceStatus	SERVICE_STATUS	<>
ENUM_SERVICE_STATUSW	ends

LPENUM_SERVICE_STATUSW typedef ptr ENUM_SERVICE_STATUSW

ifdef UNICODE 
ENUM_SERVICE_STATUS  typedef ENUM_SERVICE_STATUSW
LPENUM_SERVICE_STATUS  typedef LPENUM_SERVICE_STATUSW
else 
ENUM_SERVICE_STATUS  typedef ENUM_SERVICE_STATUSA
LPENUM_SERVICE_STATUS  typedef LPENUM_SERVICE_STATUSA
endif 
SC_LOCK  typedef LPVOID
QUERY_SERVICE_LOCK_STATUSA	struct
fIsLocked	DWORD	?
lpLockOwner	LPSTR	?
dwLockDuration	DWORD	?
QUERY_SERVICE_LOCK_STATUSA	ends

LPQUERY_SERVICE_LOCK_STATUSA typedef ptr QUERY_SERVICE_LOCK_STATUSA

QUERY_SERVICE_LOCK_STATUSW	struct
fIsLocked	DWORD	?
lpLockOwner	LPWSTR	?
dwLockDuration	DWORD	?
QUERY_SERVICE_LOCK_STATUSW	ends

LPQUERY_SERVICE_LOCK_STATUSW typedef ptr QUERY_SERVICE_LOCK_STATUSW

ifdef UNICODE 
QUERY_SERVICE_LOCK_STATUS  typedef QUERY_SERVICE_LOCK_STATUSW
LPQUERY_SERVICE_LOCK_STATUS  typedef LPQUERY_SERVICE_LOCK_STATUSW
else 
QUERY_SERVICE_LOCK_STATUS  typedef QUERY_SERVICE_LOCK_STATUSA
LPQUERY_SERVICE_LOCK_STATUS  typedef LPQUERY_SERVICE_LOCK_STATUSA
endif 
QUERY_SERVICE_CONFIGA	struct
dwServiceType	DWORD	?
dwStartType	DWORD	?
dwErrorControl	DWORD	?
lpBinaryPathName	LPSTR	?
lpLoadOrderGroup	LPSTR	?
dwTagId	DWORD	?
lpDependencies	LPSTR	?
lpServiceStartName	LPSTR	?
lpDisplayName	LPSTR	?
QUERY_SERVICE_CONFIGA	ends

LPQUERY_SERVICE_CONFIGA typedef ptr QUERY_SERVICE_CONFIGA

QUERY_SERVICE_CONFIGW	struct
dwServiceType	DWORD	?
dwStartType	DWORD	?
dwErrorControl	DWORD	?
lpBinaryPathName	LPWSTR	?
lpLoadOrderGroup	LPWSTR	?
dwTagId	DWORD	?
lpDependencies	LPWSTR	?
lpServiceStartName	LPWSTR	?
lpDisplayName	LPWSTR	?
QUERY_SERVICE_CONFIGW	ends

LPQUERY_SERVICE_CONFIGW typedef ptr QUERY_SERVICE_CONFIGW

ifdef UNICODE 
QUERY_SERVICE_CONFIG  typedef QUERY_SERVICE_CONFIGW
LPQUERY_SERVICE_CONFIG  typedef LPQUERY_SERVICE_CONFIGW
else 
QUERY_SERVICE_CONFIG  typedef QUERY_SERVICE_CONFIGA
LPQUERY_SERVICE_CONFIG  typedef LPQUERY_SERVICE_CONFIGA
endif 
proto_LPSERVICE_MAIN_FUNCTIONW typedef proto stdcall :DWORD,:ptr LPWSTR
LPSERVICE_MAIN_FUNCTIONW typedef ptr proto_LPSERVICE_MAIN_FUNCTIONW
proto_LPSERVICE_MAIN_FUNCTIONA typedef proto stdcall :DWORD,:ptr LPSTR
LPSERVICE_MAIN_FUNCTIONA typedef ptr proto_LPSERVICE_MAIN_FUNCTIONA
ifdef UNICODE 
LPSERVICE_MAIN_FUNCTION	EQU	<LPSERVICE_MAIN_FUNCTIONW>
else 
LPSERVICE_MAIN_FUNCTION	EQU	<LPSERVICE_MAIN_FUNCTIONA>
endif 
SERVICE_TABLE_ENTRYA	struct
lpServiceName	LPSTR	?
lpServiceProc	LPSERVICE_MAIN_FUNCTIONA	?
SERVICE_TABLE_ENTRYA	ends

LPSERVICE_TABLE_ENTRYA typedef ptr SERVICE_TABLE_ENTRYA

SERVICE_TABLE_ENTRYW	struct
lpServiceName	LPWSTR	?
lpServiceProc	LPSERVICE_MAIN_FUNCTIONW	?
SERVICE_TABLE_ENTRYW	ends

LPSERVICE_TABLE_ENTRYW typedef ptr SERVICE_TABLE_ENTRYW

ifdef UNICODE 
SERVICE_TABLE_ENTRY  typedef SERVICE_TABLE_ENTRYW
LPSERVICE_TABLE_ENTRY  typedef LPSERVICE_TABLE_ENTRYW
else 
SERVICE_TABLE_ENTRY  typedef SERVICE_TABLE_ENTRYA
LPSERVICE_TABLE_ENTRY  typedef LPSERVICE_TABLE_ENTRYA
endif 
proto_LPHANDLER_FUNCTION typedef proto stdcall :DWORD
LPHANDLER_FUNCTION typedef ptr proto_LPHANDLER_FUNCTION
proto_ChangeServiceConfigA typedef proto stdcall  :SC_HANDLE, :DWORD, :DWORD, :DWORD, :LPSTR, :LPSTR, :LPDWORD, :LPSTR, :LPSTR, :LPSTR, :LPSTR
externdef stdcall _imp__ChangeServiceConfigA@44: ptr proto_ChangeServiceConfigA
ChangeServiceConfigA equ <_imp__ChangeServiceConfigA@44>
proto_ChangeServiceConfigW typedef proto stdcall  :SC_HANDLE, :DWORD, :DWORD, :DWORD, :LPWSTR, :LPWSTR, :LPDWORD, :LPWSTR, :LPWSTR, :LPWSTR, :LPWSTR
externdef stdcall _imp__ChangeServiceConfigW@44: ptr proto_ChangeServiceConfigW
ChangeServiceConfigW equ <_imp__ChangeServiceConfigW@44>
ifdef UNICODE 
ChangeServiceConfig	EQU	<ChangeServiceConfigW>
else 
ChangeServiceConfig	EQU	<ChangeServiceConfigA>
endif 
proto_ChangeServiceConfig2A typedef proto stdcall  :SC_HANDLE, :DWORD, :LPVOID
externdef stdcall _imp__ChangeServiceConfig2A@12: ptr proto_ChangeServiceConfig2A
ChangeServiceConfig2A equ <_imp__ChangeServiceConfig2A@12>
proto_ChangeServiceConfig2W typedef proto stdcall  :SC_HANDLE, :DWORD, :LPVOID
externdef stdcall _imp__ChangeServiceConfig2W@12: ptr proto_ChangeServiceConfig2W
ChangeServiceConfig2W equ <_imp__ChangeServiceConfig2W@12>
ifdef UNICODE 
ChangeServiceConfig2	EQU	<ChangeServiceConfig2W>
else 
ChangeServiceConfig2	EQU	<ChangeServiceConfig2A>
endif 
proto_CloseServiceHandle typedef proto stdcall  :SC_HANDLE
externdef stdcall _imp__CloseServiceHandle@4: ptr proto_CloseServiceHandle
CloseServiceHandle equ <_imp__CloseServiceHandle@4>
proto_ControlService typedef proto stdcall  :SC_HANDLE, :DWORD, :LPSERVICE_STATUS
externdef stdcall _imp__ControlService@12: ptr proto_ControlService
ControlService equ <_imp__ControlService@12>
proto_CreateServiceA typedef proto stdcall  :SC_HANDLE, :LPSTR, :LPSTR, :DWORD, :DWORD, :DWORD, :DWORD, :LPSTR, :LPSTR, :LPDWORD, :LPSTR, :LPSTR, :LPSTR
externdef stdcall _imp__CreateServiceA@52: ptr proto_CreateServiceA
CreateServiceA equ <_imp__CreateServiceA@52>
proto_CreateServiceW typedef proto stdcall  :SC_HANDLE, :LPWSTR, :LPWSTR, :DWORD, :DWORD, :DWORD, :DWORD, :LPWSTR, :LPWSTR, :LPDWORD, :LPWSTR, :LPWSTR, :LPWSTR
externdef stdcall _imp__CreateServiceW@52: ptr proto_CreateServiceW
CreateServiceW equ <_imp__CreateServiceW@52>
ifdef UNICODE 
CreateService	EQU	<CreateServiceW>
else 
CreateService	EQU	<CreateServiceA>
endif 
proto_DeleteService typedef proto stdcall  :SC_HANDLE
externdef stdcall _imp__DeleteService@4: ptr proto_DeleteService
DeleteService equ <_imp__DeleteService@4>
proto_EnumDependentServicesA typedef proto stdcall  :SC_HANDLE, :DWORD, :LPENUM_SERVICE_STATUSA, :DWORD, :LPDWORD, :LPDWORD
externdef stdcall _imp__EnumDependentServicesA@24: ptr proto_EnumDependentServicesA
EnumDependentServicesA equ <_imp__EnumDependentServicesA@24>
proto_EnumDependentServicesW typedef proto stdcall  :SC_HANDLE, :DWORD, :LPENUM_SERVICE_STATUSW, :DWORD, :LPDWORD, :LPDWORD
externdef stdcall _imp__EnumDependentServicesW@24: ptr proto_EnumDependentServicesW
EnumDependentServicesW equ <_imp__EnumDependentServicesW@24>
ifdef UNICODE 
EnumDependentServices	EQU	<EnumDependentServicesW>
else 
EnumDependentServices	EQU	<EnumDependentServicesA>
endif 
proto_EnumServicesStatusA typedef proto stdcall  :SC_HANDLE, :DWORD, :DWORD, :LPENUM_SERVICE_STATUSA, :DWORD, :LPDWORD, :LPDWORD, :LPDWORD
externdef stdcall _imp__EnumServicesStatusA@32: ptr proto_EnumServicesStatusA
EnumServicesStatusA equ <_imp__EnumServicesStatusA@32>
proto_EnumServicesStatusW typedef proto stdcall  :SC_HANDLE, :DWORD, :DWORD, :LPENUM_SERVICE_STATUSW, :DWORD, :LPDWORD, :LPDWORD, :LPDWORD
externdef stdcall _imp__EnumServicesStatusW@32: ptr proto_EnumServicesStatusW
EnumServicesStatusW equ <_imp__EnumServicesStatusW@32>
ifdef UNICODE 
EnumServicesStatus	EQU	<EnumServicesStatusW>
else 
EnumServicesStatus	EQU	<EnumServicesStatusA>
endif 
proto_GetServiceKeyNameA typedef proto stdcall  :SC_HANDLE, :LPSTR, :LPSTR, :LPDWORD
externdef stdcall _imp__GetServiceKeyNameA@16: ptr proto_GetServiceKeyNameA
GetServiceKeyNameA equ <_imp__GetServiceKeyNameA@16>
proto_GetServiceKeyNameW typedef proto stdcall  :SC_HANDLE, :LPWSTR, :LPWSTR, :LPDWORD
externdef stdcall _imp__GetServiceKeyNameW@16: ptr proto_GetServiceKeyNameW
GetServiceKeyNameW equ <_imp__GetServiceKeyNameW@16>
ifdef UNICODE 
GetServiceKeyName	EQU	<GetServiceKeyNameW>
else 
GetServiceKeyName	EQU	<GetServiceKeyNameA>
endif 
proto_GetServiceDisplayNameA typedef proto stdcall  :SC_HANDLE, :LPSTR, :LPSTR, :LPDWORD
externdef stdcall _imp__GetServiceDisplayNameA@16: ptr proto_GetServiceDisplayNameA
GetServiceDisplayNameA equ <_imp__GetServiceDisplayNameA@16>
proto_GetServiceDisplayNameW typedef proto stdcall  :SC_HANDLE, :LPWSTR, :LPWSTR, :LPDWORD
externdef stdcall _imp__GetServiceDisplayNameW@16: ptr proto_GetServiceDisplayNameW
GetServiceDisplayNameW equ <_imp__GetServiceDisplayNameW@16>
ifdef UNICODE 
GetServiceDisplayName	EQU	<GetServiceDisplayNameW>
else 
GetServiceDisplayName	EQU	<GetServiceDisplayNameA>
endif 
proto_LockServiceDatabase typedef proto stdcall  :SC_HANDLE
externdef stdcall _imp__LockServiceDatabase@4: ptr proto_LockServiceDatabase
LockServiceDatabase equ <_imp__LockServiceDatabase@4>
proto_NotifyBootConfigStatus typedef proto stdcall  :BOOL
externdef stdcall _imp__NotifyBootConfigStatus@4: ptr proto_NotifyBootConfigStatus
NotifyBootConfigStatus equ <_imp__NotifyBootConfigStatus@4>
proto_OpenSCManagerA typedef proto stdcall  :LPSTR, :LPSTR, :DWORD
externdef stdcall _imp__OpenSCManagerA@12: ptr proto_OpenSCManagerA
OpenSCManagerA equ <_imp__OpenSCManagerA@12>
proto_OpenSCManagerW typedef proto stdcall  :LPWSTR, :LPWSTR, :DWORD
externdef stdcall _imp__OpenSCManagerW@12: ptr proto_OpenSCManagerW
OpenSCManagerW equ <_imp__OpenSCManagerW@12>
ifdef UNICODE 
OpenSCManager	EQU	<OpenSCManagerW>
else 
OpenSCManager	EQU	<OpenSCManagerA>
endif 
proto_OpenServiceA typedef proto stdcall  :SC_HANDLE, :LPSTR, :DWORD
externdef stdcall _imp__OpenServiceA@12: ptr proto_OpenServiceA
OpenServiceA equ <_imp__OpenServiceA@12>
proto_OpenServiceW typedef proto stdcall  :SC_HANDLE, :LPWSTR, :DWORD
externdef stdcall _imp__OpenServiceW@12: ptr proto_OpenServiceW
OpenServiceW equ <_imp__OpenServiceW@12>
ifdef UNICODE 
OpenService	EQU	<OpenServiceW>
else 
OpenService	EQU	<OpenServiceA>
endif 
proto_QueryServiceConfigA typedef proto stdcall  :SC_HANDLE, :LPQUERY_SERVICE_CONFIGA, :DWORD, :LPDWORD
externdef stdcall _imp__QueryServiceConfigA@16: ptr proto_QueryServiceConfigA
QueryServiceConfigA equ <_imp__QueryServiceConfigA@16>
proto_QueryServiceConfigW typedef proto stdcall  :SC_HANDLE, :LPQUERY_SERVICE_CONFIGW, :DWORD, :LPDWORD
externdef stdcall _imp__QueryServiceConfigW@16: ptr proto_QueryServiceConfigW
QueryServiceConfigW equ <_imp__QueryServiceConfigW@16>
ifdef UNICODE 
QueryServiceConfig	EQU	<QueryServiceConfigW>
else 
QueryServiceConfig	EQU	<QueryServiceConfigA>
endif 
proto_QueryServiceConfig2A typedef proto stdcall  :SC_HANDLE, :DWORD, :LPBYTE, :DWORD, :LPDWORD
externdef stdcall _imp__QueryServiceConfig2A@20: ptr proto_QueryServiceConfig2A
QueryServiceConfig2A equ <_imp__QueryServiceConfig2A@20>
proto_QueryServiceConfig2W typedef proto stdcall  :SC_HANDLE, :DWORD, :LPBYTE, :DWORD, :LPDWORD
externdef stdcall _imp__QueryServiceConfig2W@20: ptr proto_QueryServiceConfig2W
QueryServiceConfig2W equ <_imp__QueryServiceConfig2W@20>
ifdef UNICODE 
QueryServiceConfig2	EQU	<QueryServiceConfig2W>
else 
QueryServiceConfig2	EQU	<QueryServiceConfig2A>
endif 
proto_QueryServiceLockStatusA typedef proto stdcall  :SC_HANDLE, :LPQUERY_SERVICE_LOCK_STATUSA, :DWORD, :LPDWORD
externdef stdcall _imp__QueryServiceLockStatusA@16: ptr proto_QueryServiceLockStatusA
QueryServiceLockStatusA equ <_imp__QueryServiceLockStatusA@16>
proto_QueryServiceLockStatusW typedef proto stdcall  :SC_HANDLE, :LPQUERY_SERVICE_LOCK_STATUSW, :DWORD, :LPDWORD
externdef stdcall _imp__QueryServiceLockStatusW@16: ptr proto_QueryServiceLockStatusW
QueryServiceLockStatusW equ <_imp__QueryServiceLockStatusW@16>
ifdef UNICODE 
QueryServiceLockStatus	EQU	<QueryServiceLockStatusW>
else 
QueryServiceLockStatus	EQU	<QueryServiceLockStatusA>
endif 
proto_QueryServiceObjectSecurity typedef proto stdcall  :SC_HANDLE, :SECURITY_INFORMATION, :PSECURITY_DESCRIPTOR, :DWORD, :LPDWORD
externdef stdcall _imp__QueryServiceObjectSecurity@20: ptr proto_QueryServiceObjectSecurity
QueryServiceObjectSecurity equ <_imp__QueryServiceObjectSecurity@20>
proto_QueryServiceStatus typedef proto stdcall  :SC_HANDLE, :LPSERVICE_STATUS
externdef stdcall _imp__QueryServiceStatus@8: ptr proto_QueryServiceStatus
QueryServiceStatus equ <_imp__QueryServiceStatus@8>
proto_RegisterServiceCtrlHandlerA typedef proto stdcall  :LPSTR, :LPHANDLER_FUNCTION
externdef stdcall _imp__RegisterServiceCtrlHandlerA@8: ptr proto_RegisterServiceCtrlHandlerA
RegisterServiceCtrlHandlerA equ <_imp__RegisterServiceCtrlHandlerA@8>
proto_RegisterServiceCtrlHandlerW typedef proto stdcall  :LPWSTR, :LPHANDLER_FUNCTION
externdef stdcall _imp__RegisterServiceCtrlHandlerW@8: ptr proto_RegisterServiceCtrlHandlerW
RegisterServiceCtrlHandlerW equ <_imp__RegisterServiceCtrlHandlerW@8>
ifdef UNICODE 
RegisterServiceCtrlHandler	EQU	<RegisterServiceCtrlHandlerW>
else 
RegisterServiceCtrlHandler	EQU	<RegisterServiceCtrlHandlerA>
endif 
proto_SetServiceObjectSecurity typedef proto stdcall  :SC_HANDLE, :SECURITY_INFORMATION, :PSECURITY_DESCRIPTOR
externdef stdcall _imp__SetServiceObjectSecurity@12: ptr proto_SetServiceObjectSecurity
SetServiceObjectSecurity equ <_imp__SetServiceObjectSecurity@12>
proto_SetServiceStatus typedef proto stdcall  :SERVICE_STATUS_HANDLE, :LPSERVICE_STATUS
externdef stdcall _imp__SetServiceStatus@8: ptr proto_SetServiceStatus
SetServiceStatus equ <_imp__SetServiceStatus@8>
proto_StartServiceCtrlDispatcherA typedef proto stdcall  :ptr SERVICE_TABLE_ENTRYA
externdef stdcall _imp__StartServiceCtrlDispatcherA@4: ptr proto_StartServiceCtrlDispatcherA
StartServiceCtrlDispatcherA equ <_imp__StartServiceCtrlDispatcherA@4>
proto_StartServiceCtrlDispatcherW typedef proto stdcall  :ptr SERVICE_TABLE_ENTRYW
externdef stdcall _imp__StartServiceCtrlDispatcherW@4: ptr proto_StartServiceCtrlDispatcherW
StartServiceCtrlDispatcherW equ <_imp__StartServiceCtrlDispatcherW@4>
ifdef UNICODE 
StartServiceCtrlDispatcher	EQU	<StartServiceCtrlDispatcherW>
else 
StartServiceCtrlDispatcher	EQU	<StartServiceCtrlDispatcherA>
endif 
proto_StartServiceA typedef proto stdcall  :SC_HANDLE, :DWORD, :ptr LPSTR
externdef stdcall _imp__StartServiceA@12: ptr proto_StartServiceA
StartServiceA equ <_imp__StartServiceA@12>
proto_StartServiceW typedef proto stdcall  :SC_HANDLE, :DWORD, :ptr LPWSTR
externdef stdcall _imp__StartServiceW@12: ptr proto_StartServiceW
StartServiceW equ <_imp__StartServiceW@12>
ifdef UNICODE 
StartService	EQU	<StartServiceW>
else 
StartService	EQU	<StartServiceA>
endif 
proto_UnlockServiceDatabase typedef proto stdcall  :SC_LOCK
externdef stdcall _imp__UnlockServiceDatabase@4: ptr proto_UnlockServiceDatabase
UnlockServiceDatabase equ <_imp__UnlockServiceDatabase@4>
ifdef __cplusplus 
endif 
endif 
