Posted by: mlord
Hijack v268 - 23/05/2002 17:26
Hijack v268 is now out.
The only change is a one-liner to the EMPEG_HIJACK_WAITMENU ioctl() call, which should now cause it to remove the userland menu items between calls.
So, if an app.. say.. a menu multiplexor.. binds several menu entries at once and waits for one to be selected (that's what EMPEG_HIJACK_WAITMENU is for), then on exit from the ioctl(), the menu entries will have disappeared again.
Or at least in theory. I have never used userland menu entries, so this one-liner is completely untested. And it includes one certain bug that will crash Hijack... a free trophy (of sorts) to the first person to find the bug!
Cheers!
Mark
The only change is a one-liner to the EMPEG_HIJACK_WAITMENU ioctl() call, which should now cause it to remove the userland menu items between calls.
So, if an app.. say.. a menu multiplexor.. binds several menu entries at once and waits for one to be selected (that's what EMPEG_HIJACK_WAITMENU is for), then on exit from the ioctl(), the menu entries will have disappeared again.
Or at least in theory. I have never used userland menu entries, so this one-liner is completely untested. And it includes one certain bug that will crash Hijack... a free trophy (of sorts) to the first person to find the bug!
Cheers!
Mark