IDShowPlugin::get_UserAgent
Microsoft DirectShow 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.
Requirements
Header: Include Qnetwork.h
Library: None.
See Also