Displaying 1 result from an estimated 1 matches for "ccsss".
Did you mean:
cciss
2006 Mar 20
5
Need some ACL help for win32-file
...sec_buf,
dacl_present,
acl_ptr,
dacl_defaulted
)
if val == 0
raise ArgumentError, get_last_error
end
acl_buf = 0.chr * 8
@@memcpy.call(acl_buf, acl_ptr.unpack(''L'').first, 8)
if acl_buf.unpack(''CCSSS'').first == 0
raise ArgumentError, ''DACL is NULL: implicit access grant''
end
ace_count = acl_buf.unpack(''CCSSS'')[3]
ace_ptr = [0].pack(''L'')
# stuck here
0.upto(ace_count - 1){ |i|
if @@...