how justly setwindowshookex & callnexthookex


i justly setup adult windows hook, nonetheless i confused line msdn says "calling callnexthookex duty method unbroken offshoot way optional, nonetheless rarely recommended; otherwise, applications have hallowed hooks accept offshoot notifications competence act wrongly result. should callnexthookex unless definitely need hinder presentation being seen applications.".



i wish good programming citizen unbroken hook. but, offshoot way looks this:



lresult callback cbtproc(int code, wparam wp, lparam lp)
{
(code != hcbt_createwnd)
{
// i here? it's eventuality i requested i pass on?
relapse 0;
}

// it's formula wish (create window)
callnexthookex(...);
...
}


so, happens offshoot way formula isn't i'm prying in? i unbroken hook?



edit: sure problem hhook returned setwindowshookex, needs upheld callnexthookex function.



update: seems offshoot parameter abandoned nt platforms:





Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?