Using Win32 functions in Visual FoxPro Image Gallery
URL Monikers
..msdn
CreateURLMonikerEx
FindMediaType
IsValidURL
ObtainUserAgentString
URLDownloadToCacheFile
URLDownloadToFile
UrlMkGetSessionOption
Code examples:
Yet another modal dialog: now HTML-based
CreateURLMonikerEx
..msdn    Add comment     W32 Constants      Translate this page
Creates a URL moniker from a full URL, or from a base context URL moniker and a partial URL.
Code examples:
Yet another modal dialog: now HTML-based
Declaration:
HRESULT CreateURLMonikerEx(      
    IMoniker *pMkCtx,
    LPCWSTR szURL,
    IMoniker **ppmk,
    DWORD dwFlags
);
FoxPro declaration:
DECLARE INTEGER CreateURLMonikerEx IN urlmon;
    INTEGER pMkCtx,;
    STRING szURL,;
    INTEGER @ppmk,;
    LONG dwFlags
Parameters:
pMkCtx
A pointer to an IMoniker interface of the URL moniker to use as the base context when the szURL parameter is a partial URL string. The pMkCtx parameter can be NULL.

szURL
A string value that contains the URL to be parsed.

ppmk
A pointer to an IMoniker interface for the new URL moniker.

dwFlags
A DWORD value that specifies which URL parser to use: URL_MK_LEGACY=0, URL_MK_UNIFORM=1
Return value:
Returns S_OK (0) if successful, or an error value otherwise.
Usage:
cUrl=ToUnicode("file://c:/temp/test.html")
nMoniker=0
nResult=CreateURLMonikerEx(0, cUrl,;
    @nMoniker, URL_MK_UNIFORM)
My comment:
While URL Monitor can be created in VFP code, I am not sure yet if it has to be released and how without resorting to using external routines (IUnknown::Release).

See also: ShowHTMLDialog
Word Index links for the CreateURLMonikerEx :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-12-09 15:41:41
Modified: 2009-12-09 15:54:00
Visited in last 7 days: 78
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.203.76)
2 sec.
Function group: 'Window Station and Desktop'
4 sec.Function: 'NetShareDel'
5 sec.Function: 'GdipDrawImageRectI'
6 sec.Function: 'CertCloseStore'
8 sec.Function: 'UrlMkGetSessionOption'
9 sec.Function: 'QueryPerformanceFrequency'
11 sec.Function: 'InternetAutodialHangup'
12 sec.
Function group: 'GDI+ Graphics'
15 sec.Function: 'LsaLookupSids'
16 sec.
Function group: 'Color'
Google
Advertise here!