Vcl.SvcMgr.TService.Win32ErrCode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Win32ErrCode: DWord read FWin32ErrorCode write FWin32ErrorCode;

C++

__property unsigned Win32ErrCode = {read=FWin32ErrorCode, write=FWin32ErrorCode, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TService

Description

Indicates the Win32 error code reported by the service if a service specific code is not defined.

Win32ErrCode specifies a Win32 error code that the service uses to report an error that occurs when it is starting or stopping. If an error code specific to the service is defined, this property is automatically set to ERROR_SERVICE_SPECIFIC_ERROR and the service specific error is reported instead.

See Also