Also make it return FALSE to indicate failure instead of E_FAIL. Define AtlAxWinInit() and AtlAxCreateControl() in atliface.idl.