Commit ea0361f3 authored by Mikołaj Zalewski's avatar Mikołaj Zalewski Committed by Alexandre Julliard

browseui: Add the browseui DLL.

parent 46812a4b
...@@ -30,6 +30,7 @@ dlls/avicap32/libavicap32.def ...@@ -30,6 +30,7 @@ dlls/avicap32/libavicap32.def
dlls/avifil32/libavifil32.def dlls/avifil32/libavifil32.def
dlls/avifil32/rsrc.res dlls/avifil32/rsrc.res
dlls/avifile.dll16 dlls/avifile.dll16
dlls/browseui/version.res
dlls/cabinet/cabinet.res dlls/cabinet/cabinet.res
dlls/cabinet/libcabinet.def dlls/cabinet/libcabinet.def
dlls/cabinet/tests/*.ok dlls/cabinet/tests/*.ok
......
...@@ -164,6 +164,7 @@ ALL_MAKEFILES = \ ...@@ -164,6 +164,7 @@ ALL_MAKEFILES = \
dlls/atl/Makefile \ dlls/atl/Makefile \
dlls/avicap32/Makefile \ dlls/avicap32/Makefile \
dlls/avifil32/Makefile \ dlls/avifil32/Makefile \
dlls/browseui/Makefile \
dlls/cabinet/Makefile \ dlls/cabinet/Makefile \
dlls/cabinet/tests/Makefile \ dlls/cabinet/tests/Makefile \
dlls/capi2032/Makefile \ dlls/capi2032/Makefile \
...@@ -493,6 +494,7 @@ dlls/amstream/Makefile: dlls/amstream/Makefile.in dlls/Makedll.rules ...@@ -493,6 +494,7 @@ dlls/amstream/Makefile: dlls/amstream/Makefile.in dlls/Makedll.rules
dlls/atl/Makefile: dlls/atl/Makefile.in dlls/Makedll.rules dlls/atl/Makefile: dlls/atl/Makefile.in dlls/Makedll.rules
dlls/avicap32/Makefile: dlls/avicap32/Makefile.in dlls/Makedll.rules dlls/avicap32/Makefile: dlls/avicap32/Makefile.in dlls/Makedll.rules
dlls/avifil32/Makefile: dlls/avifil32/Makefile.in dlls/Makedll.rules dlls/avifil32/Makefile: dlls/avifil32/Makefile.in dlls/Makedll.rules
dlls/browseui/Makefile: dlls/browseui/Makefile.in dlls/Makedll.rules
dlls/cabinet/Makefile: dlls/cabinet/Makefile.in dlls/Makedll.rules dlls/cabinet/Makefile: dlls/cabinet/Makefile.in dlls/Makedll.rules
dlls/cabinet/tests/Makefile: dlls/cabinet/tests/Makefile.in dlls/Maketest.rules dlls/cabinet/tests/Makefile: dlls/cabinet/tests/Makefile.in dlls/Maketest.rules
dlls/capi2032/Makefile: dlls/capi2032/Makefile.in dlls/Makedll.rules dlls/capi2032/Makefile: dlls/capi2032/Makefile.in dlls/Makedll.rules
......
...@@ -1535,6 +1535,7 @@ dlls/amstream/Makefile ...@@ -1535,6 +1535,7 @@ dlls/amstream/Makefile
dlls/atl/Makefile dlls/atl/Makefile
dlls/avicap32/Makefile dlls/avicap32/Makefile
dlls/avifil32/Makefile dlls/avifil32/Makefile
dlls/browseui/Makefile
dlls/cabinet/Makefile dlls/cabinet/Makefile
dlls/cabinet/tests/Makefile dlls/cabinet/tests/Makefile
dlls/capi2032/Makefile dlls/capi2032/Makefile
......
...@@ -23,6 +23,7 @@ BASEDIRS = \ ...@@ -23,6 +23,7 @@ BASEDIRS = \
atl \ atl \
avicap32 \ avicap32 \
avifil32 \ avifil32 \
browseui \
cabinet \ cabinet \
capi2032 \ capi2032 \
cards \ cards \
......
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = browseui.dll
IMPORTS = ole32 user32 advapi32 kernel32
EXTRALIBS = -luuid
EXTRADEFS = -DCOM_NO_WINDOWS_H
C_SRCS = \
browseui_main.c \
regsvr.c
RC_SRCS = version.rc
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllGetVersion(ptr)
@ stub DllInstall
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
/*
* browseui - Internet Explorer / Windows Explorer standard UI
*
* Copyright 2001 John R. Sheets (for CodeWeavers)
* Copyright 2004 Mike McCormack (for CodeWeavers)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include "wine/debug.h"
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "shlwapi.h"
#include "initguid.h"
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
LONG BROWSEUI_refCount = 0;
HINSTANCE browseui_hinstance = 0;
/*************************************************************************
* BROWSEUI DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
{
TRACE("%p 0x%x %p\n", hinst, fdwReason, fImpLoad);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinst);
browseui_hinstance = hinst;
break;
}
return TRUE;
}
/*************************************************************************
* DllCanUnloadNow (BROWSEUI.@)
*/
HRESULT WINAPI DllCanUnloadNow(void)
{
return BROWSEUI_refCount ? S_FALSE : S_OK;
}
/***********************************************************************
* DllGetVersion (BROWSEUI.@)
*/
HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *info)
{
if (info->cbSize != sizeof(DLLVERSIONINFO)) FIXME("support DLLVERSIONINFO2\n");
/* this is what IE6 on Windows 98 reports */
info->dwMajorVersion = 6;
info->dwMinorVersion = 0;
info->dwBuildNumber = 2600;
info->dwPlatformID = DLLVER_PLATFORM_WINDOWS;
return NOERROR;
}
/***********************************************************************
* DllGetClassObject (BROWSEUI.@)
*/
HRESULT WINAPI DllGetClassObject(REFCLSID clsid, REFIID iid, LPVOID *ppv)
{
*ppv = NULL;
return CLASS_E_CLASSNOTAVAILABLE;
}
/*
* Copyright 2003 Francois Gouget (for CodeWeavers)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WINE_OLESELFREGISTER
#define WINE_FILEDESCRIPTION_STR "Wine core dll"
#define WINE_FILENAME_STR "browseui.dll"
#define WINE_FILEVERSION 6,0,2900,2180
#define WINE_FILEVERSION_STR "6.0.2900.2180"
#define WINE_PRODUCTVERSION 6,0,2900,2180
#define WINE_PRODUCTVERSION_STR "6.0.2900.2180"
#include "wine/wine_common_ver.rc"
...@@ -2102,6 +2102,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" ...@@ -2102,6 +2102,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,amstream.dll,1 11,,amstream.dll,1
11,,atl.dll,1 11,,atl.dll,1
11,,avifil32.dll,1 11,,avifil32.dll,1
11,,browseui.dll,1
11,,comcat.dll,1 11,,comcat.dll,1
11,,d3dxof.dll,1 11,,d3dxof.dll,1
11,,ddraw.dll,1 11,,ddraw.dll,1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment