Hello, after just a bit of searching I could find this:
http://blogs.msdn.com/michkap/archive/2006/03/10/548670.aspx http://blogs.msdn.com/michkap/archive/2006/02/23/538455.aspx
So instead of creating some weird function export, duplicating code or even creating a whole locality static lib, we can just use that compatible /F:unattend.inf switch!
Also, it looks like we use exported func "LocalePageProc@16", which looks like a hack too.
WBR, Aleksey Bragin.