<< Back


pfnUploadFileRename

Synopsis

void (CALLBACK* pfnUploadFileRename) (FVSDK_CALLBACK_DATA pvUploadFileRenameData, LPCTSTR pszSourcePath, LPCTSTR pszDestPath);

Description

Called after an uploaded file has been renamed. This call is made when the automatic rename operation has occurred.

Parameters

pvUploadFileRenameData

The DWORD value set in the FVSDK_Session structure. The meaning of this value is application defined.

pszOldFileName

A NULL terminated string containing the original file name.

pszNewFileName

A NULL terminated string containing the new file name.

Return Value

None

Example

void CALLBACK OnUploadFileRename(FVSDK_CALLBACK_DATA pvUploadFileRenameData, LPCTSTR pszOldFileName, LPCTSTR pszNewFileName)
{
    // ... perform some operations ...
} // OnUploadFileRename