CreateService

Declaration

Declare Function CreateService Lib "advapi32.dll" Alias "CreateServiceA" (ByVal hSCManager As Long, ByVal lpServiceName As String, ByVal lpDisplayName As String, ByVal dwDesiredAccess As Long, ByVal dwServiceType As Long, ByVal dwStartType As Long, ByVal dwErrorControl As Long, ByVal lpBinaryPathName As String, ByVal lpLoadOrderGroup As String, lpdwTagId As Long, ByVal lpDependencies As String, ByVal lp As String, ByVal lpPassword As String) As Long

Parameters

hSCManager

lpServiceName

lpDisplayName

dwDesiredAccess

dwServiceType

dwStartType

dwErrorControl

lpBinaryPathName

lpLoadOrderGroup

lpdwTagId

lpDependencies

lp

lpPassword

For more Information, contact us via email at info@earlsoft.co.uk.