in WindowsStore/WindowsStoreImpl.cpp [34:45]
WindowsStoreErrorType WindowsStoreImpl::Initialize(HWND hwnd, WindowsStoreCallback licenseChangedCallback, void* userData)
{
WindowsStoreErrorType result = WINRT_NO_ERROR;
m_licenseChangedCallback = licenseChangedCallback;
m_hwnd = hwnd;
m_userData = userData;
m_storeContext = StoreContext::GetDefault();
m_eventRegistrationToken = m_storeContext->OfflineLicensesChanged += ref new TypedEventHandler<StoreContext^, Platform::Object^>(std::bind(&WindowsStoreImpl::OfflineLicensesChanged, this, _1, _2));
return result;
}