Make WINE_GET_SONAME work on NetBSD.
[wine/wine64.git] / dlls / devenum / devenum_private.h
blob0bd063843988621b982e2dca6d803059c3c22c98
1 /*
2 * includes for devenum.dll
4 * Copyright (C) 2002 John K. Hohm
5 * Copyright (C) 2002 Robert Shearman
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 * NOTES ON FILE:
22 * - Private file where devenum globals are declared
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winuser.h"
28 #include "winreg.h"
29 #include "winerror.h"
31 #define COM_NO_WINDOWS_H
32 #include "ole2.h"
33 #include "strmif.h"
34 #include "wine/obj_property.h"
35 #include "wine/unicode.h"
36 #include "uuids.h"
38 /**********************************************************************
39 * Dll lifetime tracking declaration for devenum.dll
41 extern DWORD dll_ref;
43 /**********************************************************************
44 * ClassFactory declaration for devenum.dll
46 typedef struct
48 /* IUnknown fields */
49 ICOM_VFIELD(IClassFactory);
50 DWORD ref;
51 } ClassFactoryImpl;
53 typedef struct
55 ICOM_VFIELD(ICreateDevEnum);
56 DWORD ref;
57 } CreateDevEnumImpl;
59 typedef struct
61 ICOM_VFIELD(IEnumMoniker);
62 DWORD ref;
63 DWORD index;
64 HKEY hkey;
65 } EnumMonikerImpl;
67 typedef struct
69 ICOM_VFIELD(IMoniker);
71 DWORD ref;
72 HKEY hkey;
73 } MediaCatMoniker;
75 typedef struct
77 ICOM_VFIELD(IPropertyBag);
78 DWORD ref;
79 HKEY hkey;
80 } RegPropBagImpl;
82 typedef struct
84 ICOM_VFIELD(IParseDisplayName);
85 DWORD ref;
86 } ParseDisplayNameImpl;
88 MediaCatMoniker * DEVENUM_IMediaCatMoniker_Construct();
89 HRESULT WINAPI DEVENUM_ICreateDevEnum_CreateClassEnumerator(
90 ICreateDevEnum * iface,
91 REFCLSID clsidDeviceClass,
92 IEnumMoniker **ppEnumMoniker,
93 DWORD dwFlags);
95 extern ClassFactoryImpl DEVENUM_ClassFactory;
96 extern CreateDevEnumImpl DEVENUM_CreateDevEnum;
97 extern ParseDisplayNameImpl DEVENUM_ParseDisplayName;
99 /**********************************************************************
100 * Global string constant declarations
102 extern const WCHAR clsid_keyname[6];
103 extern const WCHAR wszInstanceKeyName[];
104 extern const WCHAR wszRegSeperator[];
105 #define CLSID_STR_LEN (sizeof(clsid_keyname) / sizeof(WCHAR))
107 /**********************************************************************
108 * Resource IDs
110 #define IDS_DEVENUM_DSDEFAULT 7
111 #define IDS_DEVENUM_DS 8
112 #define IDS_DEVENUM_WODEFAULT 9
113 #define IDS_DEVENUM_MIDEFAULT 10
114 #define IDS_DEVENUM_KSDEFAULT 11
115 #define IDS_DEVENUM_KS 12