class Puppet::FFI::Windows::Structs::SERVICE_DELAYED_AUTO_START_INFO

docs.microsoft.com/en-us/windows/win32/api/winsvc/ns-winsvc-service_delayed_auto_start_info typedef struct _SERVICE_DELAYED_AUTO_START_INFO {

BOOL fDelayedAutostart;

} SERVICE_DELAYED_AUTO_START_INFO, *LPSERVICE_DELAYED_AUTO_START_INFO;

Public Instance Methods

[]=(key, value) click to toggle source

Intercept the accessor so that we can handle either true/false or 1/0. Since there is only one member, there’s no need to check the key name.

    # File lib/puppet/ffi/windows/structs.rb
164 def []=(key, value)
165   [0, false].include?(value) ? aset(key, 0) : aset(key, 1)
166 end
Also aliased as: aset
aset(key, value)
Alias for: []=