Overview
Group
Quick Info

UndeleteFile

The UndeleteFile function is an application-defined callback function that File Manager calls when the user chooses the Undelete command from the File Manager File menu.

DWORD APIENTRY UndeleteFile(

HWND hwndOwner,
// handle of File Manager window
LPSTR lpszDir
// address of name of initial directory
);

Parameters

hwndOwner

Identifies the File Manager window. An "undelete" dynamic-link library (DLL) should use this handle to specify the owner window for any dialog box or message box the DLL may display.

lpszDir

Points to a null-terminated string that contains the name of the initial directory.

Return Values

If the function succeeds, the return value is one of the following:

Value
Meaning
pics/WIN3200090000.gifl
An error occurred.
IDOK
A file was undeleted. File Manager repaints its windows.
IDCANCEL
No file was undeleted.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database