[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'daemonapp' (#fcl)

# TWinBindings

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Windows Daemon bindings (windows only)

## Declaration

Source position: daemonapp.pp line 201

`type TWinBindings = class(TPersistent)`
`public`
`constructor Create;` |  | Create a new TWinBindings instance
`destructor Destroy; override;` |  | Remove a TWinBindings instance from memory
`procedure Assign(); override;` |  | Copies all properties
`property ErrCode: DWord; [rw]` |  | Service specific error code
`property Win32ErrCode: DWord; [rw]` |  | General windows error code
`published`
`property Dependencies: TDependencies; [rw]` |  | Service dependencies
`property GroupName: string; [rw]` |  | Service group name
`property Password: string; [rw]` |  | Password for service startup
`property UserName: string; [rw]` |  | Username to run service as
`property StartType: TStartType; [rw]` |  | Service startup type.
`property WaitHint: Integer; [rw]` |  | Timeout wait hint
`property IDTag: DWord; [rw]` |  | Location in the service group
`property ServiceType: TServiceType; [rw]` |  | Type of service
`property ErrorSeverity: TErrorSeverity; [rw]` |  | Error severity in case of startup failure
`property AcceptedCodes: TWinControlCodes; [rw]` |  |
`end;`

## Inheritance

`TWinBindings` |  | Windows Daemon bindings (windows only)
`TPersistent,IFPObserved`
`TObject`

## 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.

## See also

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