NTService: Handler

Handler

The Handler sub processes commands from Service Dispatcher. It sets event hStopEvent when processes command SERVICE_CONTROL_STOP or SERVICE_CONTROL_SHUTDOWN.



 Private Sub Handler(
	  ByVal fdwControl As Long )

Parameters

fdwControl
[ByVal] Long. Command to set the service (SERVICE_CONTROL_STOP or SERVICE_CONTROL_SHUTDOWN)

Remarks

See Also

Project pop2owa Overview Class NTService Overview NTService Properties NTService Methods FncPtr ServiceMain