as per TDump, the compiled definition of MIDL_user_allocate does not have the correct signature
solution resulting in the least coupling is a local implementation