FM_UNDELETE_PROC function pointer

Specifies an application-defined callback function called by File Manager when the user chooses the Undelete command from the File menu.

Syntax

typedef DWORD ( APIENTRY *FM_UNDELETE_PROC)(
   HWND  hwndOwner,
   LPSTR lpszDir
);

Parameters

hwndOwner

Type: HWND

The window handle to File Manager. An undelete DLL should use this handle to specify the owner window for any dialog box or message box the DLL might display.

lpszDir

Type: LPSTR

The address of a null-terminated string that contains the name of the initial directory.

Return value

Type: DWORD

Returns one of the following values.

Return code Description
-1
An error occurred.
IDOK
A file was undeleted. File Manager repaints its window.
IDCANCEL
No file was undeleted.

 

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Wfext.h