New Czech resources.
[wine/wine-kai.git] / dlls / devenum / devenum_private.h
blobc303ba49a8c0adcb8845db14061cd0b9dee668f9
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 <stdarg.h>
27 #include "windef.h"
28 #include "winbase.h"
29 #include "winuser.h"
30 #include "winreg.h"
31 #include "winerror.h"
33 #define COBJMACROS
34 #define COM_NO_WINDOWS_H
36 #include "ole2.h"
37 #include "strmif.h"
38 #include "olectl.h"
39 #include "wine/unicode.h"
40 #include "uuids.h"
42 /**********************************************************************
43 * Dll lifetime tracking declaration for devenum.dll
45 extern DWORD dll_ref;
47 /**********************************************************************
48 * ClassFactory declaration for devenum.dll
50 typedef struct
52 /* IUnknown fields */
53 IClassFactoryVtbl *lpVtbl;
54 DWORD ref;
55 } ClassFactoryImpl;
57 typedef struct
59 ICreateDevEnumVtbl *lpVtbl;
60 DWORD ref;
61 } CreateDevEnumImpl;
63 typedef struct
65 IEnumMonikerVtbl *lpVtbl;
66 DWORD ref;
67 DWORD index;
68 HKEY hkey;
69 } EnumMonikerImpl;
71 typedef struct
73 IMonikerVtbl *lpVtbl;
75 DWORD ref;
76 HKEY hkey;
77 } MediaCatMoniker;
79 typedef struct
81 IPropertyBagVtbl *lpVtbl;
82 DWORD ref;
83 HKEY hkey;
84 } RegPropBagImpl;
86 typedef struct
88 IParseDisplayNameVtbl *lpVtbl;
89 DWORD ref;
90 } ParseDisplayNameImpl;
92 MediaCatMoniker * DEVENUM_IMediaCatMoniker_Construct();
93 HRESULT WINAPI DEVENUM_ICreateDevEnum_CreateClassEnumerator(
94 ICreateDevEnum * iface,
95 REFCLSID clsidDeviceClass,
96 IEnumMoniker **ppEnumMoniker,
97 DWORD dwFlags);
99 extern ClassFactoryImpl DEVENUM_ClassFactory;
100 extern CreateDevEnumImpl DEVENUM_CreateDevEnum;
101 extern ParseDisplayNameImpl DEVENUM_ParseDisplayName;
103 /**********************************************************************
104 * Global string constant declarations
106 extern const WCHAR clsid_keyname[6];
107 extern const WCHAR wszInstanceKeyName[];
108 #define CLSID_STR_LEN (sizeof(clsid_keyname) / sizeof(WCHAR))
110 /**********************************************************************
111 * Resource IDs
113 #define IDS_DEVENUM_DSDEFAULT 7
114 #define IDS_DEVENUM_DS 8
115 #define IDS_DEVENUM_WODEFAULT 9
116 #define IDS_DEVENUM_MIDEFAULT 10
117 #define IDS_DEVENUM_KSDEFAULT 11
118 #define IDS_DEVENUM_KS 12