get_descriptor_length


unsigned get_descriptor_length(const descriptor* security)

This function returns the length of a descriptor.

Parameters

const * security

A pointer to the descriptor whose length is being queried.

Return

unsigned

The length of the security descriptor.

Notes

The value returned includes the size of the associated access lists and security identities.