void (CALLBACK* pfnLocalDirCreated) (FVSDK_CALLBACK_DATA pvLocalDirCreatedData, LPCTSTR pszPath);
Called when a local directory is created.
pvLocalDirCreatedData
The DWORD value set in the FVSDK_Session structure. The meaning of this value is application defined.
pszPath
A NULL terminated string containing the new local directory's full path.
None
void CALLBACK OnLocalDirCreated(FVSDK_CALLBACK_DATA pvLocalDirCreatedData, LPCTSTR pszPath)
{
LPCTSTR lpszFmt = "The local 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));
} // OnLocalDirCreated