Using Win32 functions in Visual FoxPro Image Gallery
URL Monikers
Code examples:
Obtaining current Internet Explorer browser version and UserAgent
..msdn    Add comment     W32 Constants      Translate this page
Retrieves the user agent string in use.
Code examples:
Obtaining current Internet Explorer browser version and UserAgent
HRESULT ObtainUserAgentString(
    DWORD dwOption,
    LPCSTR pcszUAOut,
    DWORD *cbSize
FoxPro declaration:
DECLARE INTEGER ObtainUserAgentString IN urlmon;
    INTEGER   dwOption,;
    STRING  @ pcszUAOut,;
    INTEGER @ cbSize

Reserved. Must be set to 0.

Pointer to a string value that contains the user agent string currently being used.

Pointer to an unsigned long integer value that contains the length of the string.
Return value:
Returns one of the following values: E_INVALIDARG, E_OUTOFMEMORY, NOERROR (0)
Word Index links for the ObtainUserAgentString :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2003-07-11 11:44:25
Modified: 2003-07-11 11:46:12
Visited in last 7 days: 30
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
19 sec.Function: 'JetEndSession'
39 sec.Function: 'RemoveProp'
59 sec.Function: 'CeGlobalMemoryStatus'
1.32 min.Function: 'AVIStreamLength'
1.65 min.Function: 'CeGetStoreInformation'
2.05 min.Function: 'SetLastError'
2.4 min.Function: 'CryptGetHashParam'
2.77 min.Function: 'IcmpCreateFile'
3.1 min.Function: 'GdipSetMatrixElements'
3.45 min.Function: 'GetMapMode'
Advertise here!