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