Using Win32 functions in Visual FoxPro Image Gallery
URL Monikers
..msdn
CreateURLMonikerEx
FindMediaType
IsValidURL
ObtainUserAgentString
URLDownloadToCacheFile
URLDownloadToFile
UrlMkGetSessionOption
Code examples:
Obtaining current Internet Explorer browser version and UserAgent
ObtainUserAgentString
..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
Declaration:
HRESULT ObtainUserAgentString(
    DWORD dwOption,
    LPCSTR pcszUAOut,
    DWORD *cbSize
);
FoxPro declaration:
DECLARE INTEGER ObtainUserAgentString IN urlmon;
    INTEGER   dwOption,;
    STRING  @ pcszUAOut,;
    INTEGER @ cbSize

Parameters:
dwOption
Reserved. Must be set to 0.

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

cbSize
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  
FreeTranslation.com 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: 23
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.163.61.66)
18 sec.Function: 'GetBkMode'
35 sec.Function: 'GetClipboardOwner'
53 sec.Function: 'FindExecutable'
1.2 min.Function: 'ClientToScreen'
1.52 min.Function: 'SetFilePointerEx'
1.8 min.Function: 'InternetTimeToSystemTime'
2.07 min.Function: 'CM_Locate_DevNode_Ex'
2.35 min.Function: 'IcmpSendEcho'
2.67 min.Function: 'MAPIAddress'
2.97 min.Function: 'HttpSendRequest'
Google
Advertise here!