|
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
| l
| An error occurred.
| IDOK
| A file was undeleted. File Manager repaints its windows.
| IDCANCEL
| No file was undeleted.
|
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|