Custom C++ or .NET DLLs that "exit" the standard NDC flow to perform complex local logic (like barcode validation) before returning to the host.