Commit aece1f73 authored by Alexandre Julliard's avatar Alexandre Julliard

objsel: Convert dll registration to the IRegistrar mechanism.

parent 7e863444
...@@ -3,8 +3,9 @@ IMPORTS = strmiids uuid ole32 advapi32 ...@@ -3,8 +3,9 @@ IMPORTS = strmiids uuid ole32 advapi32
C_SRCS = \ C_SRCS = \
factory.c \ factory.c \
objsel.c \ objsel.c
regsvr.c
IDL_R_SRCS = objsel_classes.idl
RC_SRCS = objsel.rc RC_SRCS = objsel.rc
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
*/ */
#include "objsel_private.h" #include "objsel_private.h"
#include "rpcproxy.h"
#include "wine/debug.h" #include "wine/debug.h"
...@@ -69,6 +70,24 @@ HRESULT WINAPI DllCanUnloadNow(void) ...@@ -69,6 +70,24 @@ HRESULT WINAPI DllCanUnloadNow(void)
} }
/***********************************************************************
* DllRegisterServer (OBJSEL.@)
*/
HRESULT WINAPI DllRegisterServer(void)
{
return __wine_register_resources( hInstance, NULL );
}
/***********************************************************************
* DllUnregisterServer (OBJSEL.@)
*/
HRESULT WINAPI DllUnregisterServer(void)
{
return __wine_unregister_resources( hInstance, NULL );
}
/********************************************************************** /**********************************************************************
* OBJSEL_IDsObjectPicker_Destroy (also IUnknown) * OBJSEL_IDsObjectPicker_Destroy (also IUnknown)
*/ */
......
/*
* COM Classes for objsel
*
* Copyright 2010 Alexandre Julliard
*
* 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
*/
[
threading(both),
uuid(17d6ccd8-3b7b-11d2-b9e0-00c04fd8dbf7)
]
coclass DsObjectPicker { interface IDsObjectPicker; }
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
extern "C" { extern "C" {
#endif #endif
DEFINE_GUID(CLSID_DsObjectPicker, 0x17d6ccd8, 0x3b7b, 0x11d2, 0x00b9, 0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7); DEFINE_GUID(CLSID_DsObjectPicker, 0x17d6ccd8, 0x3b7b, 0x11d2, 0xb9,0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7);
DEFINE_GUID(IID_IDsObjectPicker, 0x0c87e64e, 0x3b7a, 0x11d2, 0x00b9, 0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7); DEFINE_GUID(IID_IDsObjectPicker, 0x0c87e64e, 0x3b7a, 0x11d2, 0xb9,0xe0,0x00,0xc0,0x4f,0xd8,0xdb,0xf7);
#define CFSTR_DSOP_DS_SELECTION_LIST TEXT("CFSTR_DSOP_DS_SELECTION_LIST") #define CFSTR_DSOP_DS_SELECTION_LIST TEXT("CFSTR_DSOP_DS_SELECTION_LIST")
......
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