msxml3/tests: Add test saving XML with non-english characters.
[wine.git] / include / dsclient.h
blobc19cf35e9b0c2a43ef37fc360948ed8d5180c858
1 /*
2 * Copyright 2020 Dmitry Timoshkov
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __DSCLIENT_H_
20 #define __DSCLIENT_H_
22 DEFINE_GUID(CLSID_DsDisplaySpecifier,0x1ab4a8c0,0x6a0b,0x11d2,0xad,0x49,0x00,0xc0,0x4f,0xa3,0x1a,0x86);
23 #define IID_IDsDisplaySpecifier CLSID_DsDisplaySpecifier
25 #define DSECAF_NOTLISTED 0x00000001
27 typedef HRESULT (CALLBACK *LPDSENUMATTRIBUTES)(LPARAM, LPCWSTR, LPCWSTR, DWORD);
29 #define DSCCIF_HASWIZARDDIALOG 0x00000001
30 #define DSCCIF_HASWIZARDPRIMARYPAGE 0x00000002
32 typedef struct
34 DWORD dwFlags;
35 CLSID clsidWizardDialog;
36 CLSID clsidWizardPrimaryPage;
37 DWORD cWizardExtensions;
38 CLSID aWizardExtensions[1];
39 } DSCLASSCREATIONINFO, *LPDSCLASSCREATIONINFO;
41 #undef INTERFACE
42 #define INTERFACE IDsDisplaySpecifier
43 DECLARE_INTERFACE_IID_(IDsDisplaySpecifier, IUnknown, "1ab4a8c0-6a0b-11d2-ad49-00c04fa31a86")
45 STDMETHOD(QueryInterface)(THIS_ REFIID iid, void **obj) PURE;
46 STDMETHOD_(ULONG,AddRef)(THIS) PURE;
47 STDMETHOD_(ULONG,Release)(THIS) PURE;
48 STDMETHOD(SetServer)(THIS_ LPCWSTR server, LPCWSTR user, LPCWSTR password, DWORD flags) PURE;
49 STDMETHOD(SetLanguageID)(THIS_ LANGID lang) PURE;
50 STDMETHOD(GetDisplaySpecifier)(THIS_ LPCWSTR object, REFIID iid, void **obj) PURE;
51 STDMETHOD(GetIconLocation)(THIS_ LPCWSTR object, DWORD flags, LPWSTR buffer, INT size, INT *id) PURE;
52 STDMETHOD_(HICON,GetIcon)(THIS_ LPCWSTR object, DWORD flags, INT cx, INT cy) PURE;
53 STDMETHOD(GetFriendlyClassName)(THIS_ LPCWSTR object, LPWSTR buffer, INT size) PURE;
54 STDMETHOD(GetFriendlyAttributeName)(THIS_ LPCWSTR object, LPCWSTR name, LPWSTR buffer, UINT size) PURE;
55 STDMETHOD_(BOOL,IsClassContainer)(THIS_ LPCWSTR object, LPCWSTR path, DWORD flags) PURE;
56 STDMETHOD(GetClassCreationInfo)(THIS_ LPCWSTR object, LPDSCLASSCREATIONINFO *info) PURE;
57 STDMETHOD(EnumClassAttributes)(THIS_ LPCWSTR object, LPDSENUMATTRIBUTES cb, LPARAM param) PURE;
58 STDMETHOD_(ADSTYPE,GetAttributeADsType)(THIS_ LPCWSTR name) PURE;
61 #endif /* __DSCLIENT_H_ */