mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-03 14:38:50 +00:00
Fixed taskbar progress indicator
This commit is contained in:
1 parent
d0d74f2989
commit
3a1d3efa20
1 file changed
-4
@@ -12,11 +12,7 @@ public class WindowsTaskbar extends COMInvoker implements ITaskbar {
|
|||||||
WindowsTaskbar(Pointer ptr, WinDef.HWND hwnd) {
|
WindowsTaskbar(Pointer ptr, WinDef.HWND hwnd) {
|
||||||
this.setPointer(ptr);
|
this.setPointer(ptr);
|
||||||
this.hwnd = hwnd;
|
this.hwnd = hwnd;
|
||||||
try {
|
|
||||||
this.invokeNative(3); // HrInit
|
this.invokeNative(3); // HrInit
|
||||||
} finally {
|
|
||||||
this.invokeNative(2); // Release
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void invokeNative(int ventry, Object... objects) {
|
private void invokeNative(int ventry, Object... objects) {
|
||||||
|
|||||||
Reference in new issue
Block a user