mshtml: Check for null pointers in IHTMLLocation_get*.
[wine/hramrach.git] / dlls / msnet32 / msnet_main.c
blob7c759002dfe1ebcb5b3f36d1cccfa5e98da16d22
1 /*
2 * This library is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2.1 of the License, or (at your option) any later version.
7 * This library is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with this library; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 #include "config.h"
19 #include <stdarg.h>
21 #include "windef.h"
22 #include "winbase.h"
23 #include "wine/debug.h"
25 WINE_DEFAULT_DEBUG_CHANNEL(msnet);
28 /***********************************************************************
29 * DllMain (MSNET32.@)
31 BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
33 switch(reason)
35 case DLL_WINE_PREATTACH:
36 return FALSE; /* prefer native version */
37 case DLL_PROCESS_ATTACH:
38 DisableThreadLibraryCalls( inst );
39 break;
41 return TRUE;
44 /***********************************************************************
45 * @ (MSNET32.57)
47 LONG WINAPI MSNET32_57( LONG a1, LONG a2, LPVOID a3, LONG a4, LPVOID a5 )
49 FIXME("(0x%04x 0x%04x %p 0x%04x %p): stub\n", a1, a2, a3, a4, a5);
50 return -1; /* FAILURE */