For reference, I'm looking for something that behaves similarly to this:
--wrap=symbol Use a wrapper function for symbol. Any undefined reference to symbol will be resolved to "__wrap_symbol". Any undefined reference to "__real_symbol" will be resolved to symbol.
Does such a thing exist for link.exe? I didn't see anything stick out on the MSDN linker page.
EDIT: My dev environment doesn't support DLLs, so a DLL only solution won't help here.