The TabletManager does not exist prior to 3ds Max 2019, Update 2 so the returned value should be checked for nullptr since a plugin might be running on 3ds Max 2019 prior to Update 2 and in that situation the GetCOREInterface call will return nullptr when asked to provide this interface.