Microsoft DirectX 9.0

IDShowPlugin::get_UserAgent

The get_UserAgent method retrieves the User-Agent field from the HTTP header.

Syntax

HRESULT get_UserAgent(
  BSTR *pUserAgent
);

Parameters

pUserAgent

Pointer to a variable that receives the User-Agent string.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Remarks

The caller must release the returned BSTR, by calling SysFreeString.

See Also