Skip to main content
ATL Server Library Reference 
IBrowserCapsSvc::GetCapsUserAgent 

Call this method to get the browser capabilities for the browser identified by a string.


HRESULT GetCapsUserAgent(
   BSTR bstrAgent,
   IBrowserCaps ** ppOut
);

Parameters

bstrAgent

The string identifying the user agent (web browser).

ppOut

[out] Address of the pointer variable that, on success, receives the IBrowserCaps interface pointer of the object describing the capabilities of the browser.

Returns S_OK on success, or an error HRESULT on failure or if no information can be found for the specified user agent.