GetFileOwner
The FSF.GetFileOwner function is used to determine the owner of the given file.
int WINAPI GetFileOwner( const char *Computer, const char *Name, char *Owner );
Parameters
Computer
Name of the computer containing the file for which you
want to determine the owner. If this value is NULL, then the owner
of the file for the current system is determined.
Name
The name of the file for which you want to determine the owner.
Owner
Pointer to a buffer that receives the file owner. This buffer must be large
enough to hold the returned string (minimum buffer size is - NM)
Return value
If the function succeeds the return value is TRUE, otherwise the return value is FALSE.