Called by an in-place active, windowless object to determine if it still has the keyboard focus or not.
HRESULT GetFocus(void);
Return Values
Remarks
A windowless object calls this method to find out if it currently has the focus or not. As an alternative to calling this method, the object can cache information about whether it has the keyboard focus or not.