Displaying 1 result from an estimated 1 matches for "ace_buf".
Did you mean:
trace_buf
2006 Mar 20
5
Need some ACL help for win32-file
...mplicit access grant''
end
ace_count = acl_buf.unpack(''CCSSS'')[3]
ace_ptr = [0].pack(''L'')
# stuck here
0.upto(ace_count - 1){ |i|
if @@GetAce.call(acl_buf, i, ace_ptr) == 0
next
end
ace_buf = 0.chr * 4
@@memcpy.call(ace_buf, ace_ptr.unpack(''L'').first, 4)
p ace_buf.unpack(''CCS'') # Not what I expect
}
end