Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "StartService" in [All]

advapi32

.

    /// Required to call the StartService function to start the service.

.

    /// calls the StartService function. For more information, see

.

    ''' Required to call the StartService function to start the service.

.

    ''' calls the StartService function. For more information, see

.
Summary
The StartService function starts a service.
.

public static extern bool StartService(

.

Declare Function StartService Lib "advapi32.dll" Alias "StartServiceA" (ByVal hService As IntPtr, ByVal dwNumServiceArgs As Long, ByVal lpServiceArgVectors As String) As Boolean

.

Win32.StartService( hService, 0, null ) ;

.

    Dim ret As Boolean = StartService(scManager, 0, Nothing)

.
Documentation
[StartService] on MSDN
.

http://msdn.microsoft.com/library/en-us/dllproc/base/startservice.asp?frame=true

Enums

.

            RestartService = 1,

.

        RestartService = 1


 
Access PInvoke.net directly from VS: