Sha256: d357c0c28e012154f883c8744e7ef2fecda67b091f393f29b65664b81107e5a3
Contents?: true
Size: 1.13 KB
Versions: 5
Compression:
Stored size: 1.13 KB
Contents
require 'windows/api' module Windows module Security module Authentication API.auto_namespace = 'Windows::Security::Authentication' API.auto_constant = true API.auto_method = true API.auto_unicode = false private POLICY_VIEW_LOCAL_INFORMATION = 0x00000001 POLICY_VIEW_AUDIT_INFORMATION = 0x00000002 POLICY_GET_PRIVATE_INFORMATION = 0x00000004 POLICY_TRUST_ADMIN = 0x00000008 POLICY_CREATE_ACCOUNT = 0x00000010 POLICY_CREATE_SECRET = 0x00000020 POLICY_CREATE_PRIVILEGE = 0x00000040 POLICY_SET_DEFAULT_QUOTA_LIMITS = 0x00000080 POLICY_SET_AUDIT_REQUIREMENTS = 0x00000100 POLICY_AUDIT_LOG_ADMIN = 0x00000200 POLICY_SERVER_ADMIN = 0x00000400 POLICY_LOOKUP_NAMES = 0x00000800 POLICY_NOTIFICATION = 0x00001000 API.new('LsaOpenPolicy', 'PPLP', 'L', 'advapi32') API.new('LsaClose', 'L', 'L', 'advapi32') API.new('LsaNtStatusToWinError', 'L', 'L', 'advapi32') end end end
Version data entries
5 entries across 5 versions & 1 rubygems