2000-04-11 22:07:00 +02:00
|
|
|
/*
|
|
|
|
* UrlMon
|
|
|
|
*
|
|
|
|
* Copyright 1999 Corel Corporation
|
|
|
|
*
|
|
|
|
* Ulrich Czekalla
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2000-11-30 02:31:28 +01:00
|
|
|
#include "windef.h"
|
2000-04-11 22:07:00 +02:00
|
|
|
#include "objbase.h"
|
|
|
|
#include "debugtools.h"
|
|
|
|
|
|
|
|
#include "urlmon.h"
|
|
|
|
|
|
|
|
DEFAULT_DEBUG_CHANNEL(win32);
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* CreateURLMoniker (URLMON.22)
|
|
|
|
*
|
|
|
|
* Create a url moniker
|
|
|
|
*
|
|
|
|
* RETURNS
|
|
|
|
* S_OK success
|
|
|
|
* E_OUTOFMEMORY out of memory
|
|
|
|
* MK_E_SYNTAX not a valid url
|
|
|
|
*
|
|
|
|
*/
|
2000-06-07 04:15:39 +02:00
|
|
|
HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPWSTR szURL, IMoniker **ppmk)
|
2000-04-11 22:07:00 +02:00
|
|
|
{
|
|
|
|
TRACE("\n");
|
|
|
|
|
|
|
|
if (NULL != pmkContext)
|
|
|
|
FIXME("Non-null pmkContext not implemented\n");
|
|
|
|
|
|
|
|
return CreateFileMoniker(szURL, ppmk);
|
|
|
|
}
|