ochafik/nativelibs4java — Issue #218: Wrong declaration of ITaskbarList3#SetProgressValue()
Author: xBlackCat
Created: 2011-12-26 10:54:56+00:00
State: open

Syntax from MSDN:
HRESULT SetProgressValue(
[in] HWND hwnd,
[in] ULONGLONG ullCompleted,
[in] ULONGLONG ullTotal
);

Declaration in ITaskbarList3.java:
@Virtual(0) public native int SetProgressValue(Pointer hWnd, int Completed, int Total);

But ULONGLONG is mapped on long - not int.

The improper declaration causing progress state is not changed in x86 Windows 7 systems.