<< Back


pfnRemoteFileDeleted

Synopsis

void (CALLBACK* pfnRemoteFileDeleted) (FVSDK_CALLBACK_DATA pvRemoteFileDeletedData, LPCTSTR pszPath);

Description

Called when a remote file is deleted.

Parameters

pvRemoteFileDeletedData

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 path of the deleted remote file.

Return Value

None

Example

void CALLBACK OnRemoteFileDeleted(FVSDK_CALLBACK_DATA pvRemoteFileDeletedData, LPCTSTR pszPath)
{
    LPCTSTR lpszFmt = "The remote 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));
} // OnRemoteFileDeleted