pad.mattdiesel.co.uk

Snippet - NULL Security Descriptor

NULL Security Descriptor (AutoIt)

Comment on http://stackoverflow.com/questions/22919518/autoit-how-to-create-a-tagsecurity-attributes-object-and-pass-in-to-winapi?noredirect=1
Created 2014-04-08 19:11:08.024890 by Matt.

1
2
3
4
$tSA = DllStructCreate($tagSECURITY_ATTRIBUTES)
DllStructSetData($tSA, "Length", DllStructGetSize($tSA))
DllStructSetData($tSA, "Descriptor", 0)
DllStructSetData($tsA, "InheritHandle", 0)