You just need to add the library with the implementation of __imp_MessageBoxW to your command:
__imp_MessageBoxW
cl /EHsc winbasicb.cpp user32.lib