<< Back


pfnLocalDirCreated

Synopsis

void (CALLBACK* pfnLocalDirCreated) (FVSDK_CALLBACK_DATA pvLocalDirCreatedData, LPCTSTR pszPath);

Description

Called when a local directory is created.

Parameters

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.

Return Value

None

Example

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