Added export API outside the DLL (Windows).