StormLib API Reference
bool WINAPI SFileSetAddFileCallback( HANDLE hMpq // Handle to an open MPQ. SFILE_ADDFILE_CALLBACK pfnAddFileCB // Pointer to callback function void * pvUserData // Pointer to custom data );
Function SFileSetAddFileCallback sets a callback that will be called during operations performed by SFileAddFileEx. Registering a callback will help the calling application to show a progress about the operation, which enhances user experience with the application.
void WINAPI AddFileCallback( void * pvUserData, // Custom pointer passed to SFileSetAddFileCallback DWORD dwBytesWritten, // Number of bytes already written DWORD dwTotalBytes, // Total number of bytes to be written bool bFinalCall // If true, this is the last call to the callback function );
The function never fails and always sets the callback.
|Available in Storm.dll||No|
|Ordinal number in Storm.dll 1.00||N/A|
|Ordinal number in Storm.dll 1.09||N/A|
Copyright (c) Ladislav Zezula 2003 - 2010