first cut of the unmanaged c++ call from w8