<< Back


pfnLocalDeleted

Synopsis

void (CALLBACK* pfnLocalDeleted) (FVSDK_CALLBACK_DATA pvLocalDeletedData, LPCTSTR pszPath);

Description

Called when a local file or folder has been deleted.

Parameters

pvLocalDeletedData

The DWORD value set in the FVSDK_Session structure. The meaning of this value is application defined.

pszPath

A NULL terminated string containing the full local path of the deleted file or folder.

Return Value

None

Example

void CALLBACK OnLocalDeleted(FVSDK_CALLBACK_DATA pvLocalDirCreatedData, LPCTSTR pszPath)
{
    LPCTSTR lpszFmt = "The local path has been deleted:\r\n\n%s";
    CString sMsg;

    // create a message to display to the user
    sMsg.Format(lpszFmt, pszPath);

    // display the message to the user
    AfxMessageBox(sMsg, (MB_ICONINFORMATION | MB_OK));
} // OnLocalDeleted