| Line | |
|---|
| 1 | /* $Id: umon.cpp,v 1.2 2000-08-02 15:50:41 bird Exp $ */
|
|---|
| 2 | /*
|
|---|
| 3 | * UrlMon
|
|---|
| 4 | *
|
|---|
| 5 | * Copyright 1999 Corel Corporation
|
|---|
| 6 | *
|
|---|
| 7 | * Ulrich Czekalla
|
|---|
| 8 | *
|
|---|
| 9 | */
|
|---|
| 10 |
|
|---|
| 11 | #include "windows.h"
|
|---|
| 12 | #include "objbase.h"
|
|---|
| 13 | #include "debugtools.h"
|
|---|
| 14 |
|
|---|
| 15 | #include "urlmon.h"
|
|---|
| 16 | /*
|
|---|
| 17 | DEFAULT_DEBUG_CHANNEL(win32);
|
|---|
| 18 |
|
|---|
| 19 | #include <os2win.h>
|
|---|
| 20 | #include <odinwrap.h>
|
|---|
| 21 | #include <heapstring.h>
|
|---|
| 22 | #include <winnt.h>
|
|---|
| 23 | #include "urlmon.h"
|
|---|
| 24 | */
|
|---|
| 25 | // ODINDEBUGCHANNEL(imagehlp)
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | /***********************************************************************
|
|---|
| 29 | * CreateURLMoniker (URLMON.6)
|
|---|
| 30 | *
|
|---|
| 31 | * Create a url moniker
|
|---|
| 32 | *
|
|---|
| 33 | * RETURNS
|
|---|
| 34 | * S_OK success
|
|---|
| 35 | * E_OUTOFMEMORY out of memory
|
|---|
| 36 | * MK_E_SYNTAX not a valid url
|
|---|
| 37 | *
|
|---|
| 38 | */
|
|---|
| 39 | HRESULT CreateURLMoniker(IMoniker *pmkContext, LPWSTR szURL, IMoniker **ppmk)
|
|---|
| 40 | {
|
|---|
| 41 | if (NULL != pmkContext)
|
|---|
| 42 | dprintf(("Non-null pmkContext not implemented\n"));
|
|---|
| 43 |
|
|---|
| 44 | return CreateFileMoniker(szURL, ppmk);
|
|---|
| 45 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.