Call this method to get access to the context for the current request.
template <typename Interface> HRESULT GetContext( Interface** ppInterface ) throw(...); HRESULT GetContext( REFIID riid, void** ppv );
- [in] The interface ID of the requested interface.
- ppv, ppInterface
- [out] Address of the pointer variable that, on success, receives the interface pointer to the requested interface.
Returns S_OK on success, or an error HRESULT on failure.
You can successfully query for the following interfaces using GetContext:
Typically this method is an override for ITagReplacerImpl::GetContext.