I am trying to get the owner of a file for a file out on the network. Research has lead me to the API GetNamedSecurityInfo, but whenever I call it, it returns a 'cannot find entry point' error. There are examples of this API out there, but this error keeps popping up. Perhaps it is the signature, but it checks out with the documentation. Anyone know why this would be happening?
For files on the local drive, WMI works just fine. It's the files on the network that necessitate using the API. Is there another way to pull this info?
Thanks in advance.