dsquery: Register CommonQuery coclass.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2017-09-15 11:41:39 -05:00 committed by Alexandre Julliard
parent d6851e6748
commit 1d311fd4a4
5 changed files with 39 additions and 3 deletions

2
configure vendored
View File

@ -18307,7 +18307,7 @@ wine_fn_config_dll dpwsockx enable_dpwsockx
wine_fn_config_dll drmclien enable_drmclien
wine_fn_config_dll dsound enable_dsound clean,implib
wine_fn_config_test dlls/dsound/tests dsound_test
wine_fn_config_dll dsquery enable_dsquery
wine_fn_config_dll dsquery enable_dsquery clean
wine_fn_config_dll dssenh enable_dssenh
wine_fn_config_test dlls/dssenh/tests dssenh_test
wine_fn_config_dll dswave enable_dswave clean

View File

@ -3097,7 +3097,7 @@ WINE_CONFIG_DLL(dpwsockx)
WINE_CONFIG_DLL(drmclien)
WINE_CONFIG_DLL(dsound,,[clean,implib])
WINE_CONFIG_TEST(dlls/dsound/tests)
WINE_CONFIG_DLL(dsquery)
WINE_CONFIG_DLL(dsquery,,[clean])
WINE_CONFIG_DLL(dssenh)
WINE_CONFIG_TEST(dlls/dssenh/tests)
WINE_CONFIG_DLL(dswave,,[clean])

View File

@ -3,3 +3,6 @@ IMPORTS = uuid
C_SRCS = \
main.c
IDL_SRCS = \
dsquery.idl

23
dlls/dsquery/dsquery.idl Normal file
View File

@ -0,0 +1,23 @@
/*
* COM Classes for dsquery
*
* Copyright 2017 Zebediah Figura 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
*/
#pragma makedep register
#include "cmnquery.idl"

View File

@ -18,6 +18,12 @@
import "oaidl.idl";
#ifndef __WIDL__
#define threading(model)
#define progid(str)
#define vi_progid(str)
#endif
[
object,
uuid(1a3114b8-a62e-11d0-a6c5-00a0c906af45),
@ -76,4 +82,8 @@ interface ICommonQuery : IUnknown
HRESULT OpenQueryWindow([in] HWND parent, [in] LPOPENQUERYWINDOW query_window, [out] IDataObject **data_object);
}
cpp_quote("DEFINE_GUID(CLSID_CommonQuery, 0x83bc5ec0, 0x6f2a, 0x11d0, 0xa1,0xc4, 0x00,0xaa,0x00,0xc1,0x6e,0x65);")
[
threading(apartment),
uuid(83bc5ec0-6f2a-11d0-a1c4-00aa00c16e65)
]
coclass CommonQuery { interface ICommonQuery; }