<< Back


pfnRemoteDirectoryCreated

Synopsis

void (CALLBACK* pfnRemoteDirectoryCreated) (FVSDK_CALLBACK_DATA pvRemoteDirectoryCreatedData, LPCTSTR pszPath);

Description

Called when a remote directory is created.

Parameters

pvRemoteDirectoryCreatedData

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

Return Value

None

Example

void CALLBACK OnRemoteDirectoryCreated(FVSDK_CALLBACK_DATA pvLocalFileChangedData, LPCTSTR pszPath)
{
    LPCTSTR lpszFmt = "The remote directory has been created:\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));
} // OnRemoteDirectoryCreated