Adding the Undelete Command
File Manager supports a hook for adding an Undelete command to the File menu
(below the Delete command). If an "undelete" dynamic-link library is specified
in the WINFILE.INI file, File Manager adds the Undelete command to the File menu
when starting. When the user chooses the Undelete command, File Manager calls
the DLL.
The [settings] section of the WINFILE.INI file should include a reference to
the undelete DLL, as follows.
[settings]
UNDELETE.DLL=C:\MYDIR\OTHER.DLL
An undelete DLL must include a standard entry point, the
UndeleteFile function. This function must be exported by specifying the name of the
function in the
EXPORTS statement of the DLL's module-definition (.DEF) file.
The
UndeleteFile function is defined as follows:
DWORD APIENTRY UndeleteFile(hwndParent, lpszDir)
HWND hwndParent;
LPSTR lpszDir;
The
hwndParent parameter identifies the parent window for any dialog boxes the DLL creates.
The
lpszDir parameter specifies the initial directory to be used (for example, C:\TEMP).
- 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