FoxSDK API Reference
ContentsIndexHome
PreviousUpNext
SetCompareFilesForArrangementEventCallback Function
Syntax
C++
int32 BS_CALL SetCompareFilesForArrangementEventCallback(CompareFilesForArrangementEvent callback, void* pUserData);

FoxSDKExport.h

Parameters 
Description 
CompareFilesForArrangementEvent callback 
Name of the event 
void* pUserData 
This value is a custom defined pointer (e.g. the pointer to the window). 

The function returns BS_SDK_ERROR_NO upon successful execution. In case of an error the error code will be returned (see Error Codes).

Specifies an own function as a callback of the type CompareFilesForArrangementEvent. This function will be called every time the event triggers inside the SDK.

Set the call backs as early as possible. They cannot be set during running processes (deletion, writing, scanning).

 //A function according to the typedef CompareFilesForArrangementEvent
void CSampleBurnDlg::OnAddFileEvent(const TCHAR *pcFullPath, const TCHAR *pcJolietName, const TCHAR *pcISOName, const TCHAR* pcUDFName , double dDateTime, double dFileSize, CSampleBurnDlg *pUserData)
{
....
}
//Set the function as a callback to the SDK
SetAddFileEventCallback((AddFileEvent) CSampleBurnDlg::OnAddFileEvent, this);
Copyright (c) 2019 IFoerster Development. All rights reserved.
What do you think about this topic? Send feedback!