void (CALLBACK* pfnLocalFileChanged) (FVSDK_CALLBACK_DATA pvLocalFileChangedData, LPCTSTR pszPath);
Called when an existing local file has been changed.
pvLocalFileChangedData
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 local file that was changed.
None
void CALLBACK OnLocalFileChanged(FVSDK_CALLBACK_DATA pvLocalFileChangedData, LPCTSTR pszPath)
{
LPCTSTR lpszFmt = "The local file has changed:\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));
} // OnLocalFileChanged