HRESULT CDwFontContext::Initialize() { if (hr_ == S_FALSE) { return hr_ = dwriteFactory_->RegisterFontFileLoader(CDwFontFileLoader::GetLoader()); } return hr_; }
virtual HRESULT STDMETHODCALLTYPE RegisterFontFileLoader( IDWriteFontFileLoader* fontFileLoader ) { return orig_this->RegisterFontFileLoader(fontFileLoader); }