Skip to content

TWinBindings

Windows Daemon bindings (windows only).

Declaration

Source position: daemonapp.pp line 208

type

  TWinBindings = class(TPersistent)
  public
    constructor Create;
    destructor Destroy;
    procedure Assign;
    property ErrCode: DWord; {rw}
    property Win32ErrCode: DWord; {rw}
  published
    property Dependencies: TDependencies; {rw}
    property GroupName: string; {rw}
    property Password: string; {rw}
    property UserName: string; {rw}
    property StartType: TStartType; {rw}
    property WaitHint: Integer; {rw}
    property IDTag: DWord; {rw}
    property ServiceType: TServiceType; {rw}
    property ErrorSeverity: TErrorSeverity; {rw}
    property AcceptedCodes: TWinControlCodes; {rw}
  end;

Description

TWinBindings contains windows-specific properties for the daemon definition (in TDaemonDef.WinBindings). If the daemon should not run on Windows, then the properties can be ignored.

Properties

Member Visibility Description
AcceptedCodes published
Dependencies published Service dependencies.
ErrCode public Service specific error code.
ErrorSeverity published Error severity in case of startup failure.
GroupName published Service group name.
IDTag published Location in the service group.
Password published Password for service startup.
ServiceType published Type of service.
StartType published Service startup type.
UserName published Username to run service as.
WaitHint published Timeout wait hint.
Win32ErrCode public General windows error code.
See all Properties

Methods

Member Visibility Description
Assign public Copies all properties.
Create public Create a new TWinBindings instance.
Destroy public Remove a TWinBindings instance from memory.
See all Methods

See also

Name Description
TDaemonDef Daemon definition.
TDaemonDef.WinBindings Windows-specific bindings (windows only).