Check for NULL before doing IsEqualGUID().
[wine] / dlls / urlmon / umon.c
1 /*
2  * UrlMon
3  *
4  * Copyright 1999 Corel Corporation
5  *
6  * Ulrich Czekalla
7  *
8  */
9
10 #include "windef.h"
11 #include "objbase.h"
12 #include "debugtools.h"
13
14 #include "urlmon.h"
15
16 DEFAULT_DEBUG_CHANNEL(win32);
17
18 /***********************************************************************
19  *           CreateURLMoniker (URLMON.22)
20  *
21  * Create a url moniker
22  *
23  * RETURNS
24  *    S_OK              success
25  *    E_OUTOFMEMORY     out of memory 
26  *    MK_E_SYNTAX       not a valid url
27  *
28  */
29 HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPWSTR szURL, IMoniker **ppmk)
30 {
31    TRACE("\n");
32
33    if (NULL != pmkContext)
34         FIXME("Non-null pmkContext not implemented\n");
35
36    return CreateFileMoniker(szURL, ppmk);
37 }