fix As method in WinInterfaceSmartPtr