Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> dfldeleteidget()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DflDeleteIDGet()
------------------------------------------------------------------------------
 Purpose:
 Get the ID of the object that deleted a deleted file.

 Syntax:
 dwObjID = DflDeleteIDGet()

 Parameters:
 None.

 Returns:
 A numeric value (unsigned long int).

 The CA-Clipper name for this function is:
 DflDelIDGet()

 Description:
 DflDeleteIDGet() returns the bindery object ID number of the user that
 deleted the last deleted file returned by the function DirDeletedFileList().

 DflDeleteIDGet() can only be called after DirDeletedFileList() returns a
 valid file name.

 Example:
 // To list the deleted files in directory SYS:DATA\WP, the
 // date and time they were deleted and the user that deleted them:
 lpszFilename = DirDeletedFileList( "SYS:DATA\WP" )
 ? "Deleted files in directory SYS:DATA\WP"
 ? "File name | Date Deleted | Time Deleted | Deletor"
 do while ( !empty( lpszFilename ) )
    ? lpszfilename+" "+ DflDeleteDateGet() +;
    " "+DflDeleteTimeGet()+" "+UsrNameGet(DflDeleteIDGet())
    lpszFilename = DirDeletedFileList( "" )
 enddo

 Notes:
 This function only works with NetWare 386 and appropriate trustee
 access rights are required.

See Also: DirDeletedFileList() DflDeleteDateGet() DflDeleteTimeGet()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson