mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-03 06:28:48 +00:00
Fixed taskbar progress indicator
This commit is contained in:
1 parent
7794d8044d
commit
cc244ccb3c
1 file changed
+1
-5
@@ -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