Is there an easy way of programmatically determining if a file sy-stem NT security?

i.e. file system objects can be secured with acl’s dacl’s and such. Is
there a volume attribute or something I am missing, or must you just
determine this by observing error codes to security type calls?

Thanks