<< Back


pfnRemoteDirectoryDeleted

Synopsis

void (CALLBACK* pfnRemoteDirectoryDeleted) (FVSDK_CALLBACK_DATA pvRemoteDirectoryDeletedData, LPCTSTR pszPath);

Description

Called when a remote directory is deleted.

Parameters

pvRemoteDirectoryDeletedData

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 directory.

Return Value

None

Example

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