From 19cb005a2b7fa18436d6e7520b87ea18bf6d7569 Mon Sep 17 00:00:00 2001 From: Ostap Brehin Date: Tue, 3 Sep 2024 19:12:33 +0100 Subject: [PATCH] include: Name parameters in LPPROGRESS_ROUTINE typedef include: Name parameters in LPPROGRESS_ROUTINE typedef --- include/winbase.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/winbase.h b/include/winbase.h index fe143cc7a61..5c7a1901a78 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -1035,9 +1035,10 @@ typedef struct _WIN32_FILE_ATTRIBUTES_DATA { * This one seems to be a Win32 only definition. It also is defined with * WINAPI instead of CALLBACK in the windows headers. */ -typedef DWORD (CALLBACK *LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE_INTEGER, - LARGE_INTEGER, DWORD, DWORD, HANDLE, - HANDLE, LPVOID); +typedef DWORD (CALLBACK *LPPROGRESS_ROUTINE)(LARGE_INTEGER total_file_size, + LARGE_INTEGER total_bytes_transferred, LARGE_INTEGER stream_size, + LARGE_INTEGER stream_bytes_transferred, DWORD stream_number, + DWORD callback_reason, HANDLE source_file, HANDLE destination_file, void *user_data); typedef DWORD (WINAPI *APPLICATION_RECOVERY_CALLBACK)(PVOID);