comdlg32: Add implementation of DllRegisterServer/DllUnregisterServer.

This commit is contained in:
David Hedberg 2011-03-29 21:13:18 +02:00 committed by Alexandre Julliard
parent 49250bec7c
commit 18b1f5ca47
5 changed files with 56 additions and 0 deletions

View File

@ -57,4 +57,6 @@ SVG_SRCS = \
pd32_nocollate.svg \ pd32_nocollate.svg \
pd32_portrait.svg pd32_portrait.svg
IDL_R_SRCS = comdlg32_classes.idl
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@

View File

@ -27,6 +27,8 @@
#include "winbase.h" #include "winbase.h"
#include "wingdi.h" #include "wingdi.h"
#include "winuser.h" #include "winuser.h"
#include "objbase.h"
#include "rpcproxy.h"
#include "commdlg.h" #include "commdlg.h"
#include "cderr.h" #include "cderr.h"
#include "wine/debug.h" #include "wine/debug.h"
@ -273,3 +275,19 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void **ppv)
return CLASS_E_CLASSNOTAVAILABLE; return CLASS_E_CLASSNOTAVAILABLE;
} }
/***********************************************************************
* DllRegisterServer (COMMDLG32.@)
*/
HRESULT WINAPI DllRegisterServer(void)
{
return __wine_register_resources(COMDLG32_hInstance, NULL);
}
/***********************************************************************
* DllUnregisterServer (COMMDLG32.@)
*/
HRESULT WINAPI DllUnregisterServer(void)
{
return __wine_unregister_resources(COMDLG32_hInstance, NULL);
}

View File

@ -4,6 +4,8 @@
@ stdcall ChooseFontW(ptr) @ stdcall ChooseFontW(ptr)
@ stdcall CommDlgExtendedError() @ stdcall CommDlgExtendedError()
@ stdcall -private DllGetClassObject(ptr ptr ptr) @ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
@ stdcall FindTextA(ptr) @ stdcall FindTextA(ptr)
@ stdcall FindTextW(ptr) @ stdcall FindTextW(ptr)
@ stdcall GetFileTitleA(str ptr long) @ stdcall GetFileTitleA(str ptr long)

View File

@ -0,0 +1,33 @@
/*
* Coclasses for comdlg32
*
* Copyright 2011 David Hedberg
*
* 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
*/
[
helpstring("File Open Dialog"),
threading(apartment),
uuid(dc1c5a9c-e88a-4dde-a5a1-60f82a20aef7)
]
coclass FileOpenDialog { interface IFileOpenDialog; }
[
helpstring("File Save Dialog"),
threading(apartment),
uuid(c0b4e2f3-ba21-4773-8dba-335ec946eb8b)
]
coclass FileSaveDialog { interface IFileSaveDialog; }

View File

@ -2489,6 +2489,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,avifil32.dll,1 11,,avifil32.dll,1
11,,browseui.dll,1 11,,browseui.dll,1
11,,comctl32.dll,2 11,,comctl32.dll,2
11,,comdlg32.dll,1
11,,cryptdlg.dll,1 11,,cryptdlg.dll,1
11,,cryptnet.dll,1 11,,cryptnet.dll,1
11,,d3dxof.dll,1 11,,d3dxof.dll,1