Callbacks with returned pointer added to next chain, donotreturn pointers to structs on the stack. Remember to assign InNext to the next pointer of your struct or otherwise you may break the next chain.