Pass a locally modified version of SHELLEXECUTEINFO to
[wine/wine-kai.git] / dlls / devenum / devenum_private.h
blob4b6083a1fc69fe1f7518eeec3057ec0d3fdafaf3
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 "wingdi.h"
30 #include "winuser.h"
31 #include "winreg.h"
32 #include "winerror.h"
34 #define COBJMACROS
35 #define COM_NO_WINDOWS_H
37 #include "ole2.h"
38 #include "strmif.h"
39 #include "olectl.h"
40 #include "wine/unicode.h"
41 #include "uuids.h"
43 /**********************************************************************
44 * Dll lifetime tracking declaration for devenum.dll
46 extern LONG dll_refs;
47 static inline void DEVENUM_LockModule(void) { InterlockedIncrement(&dll_refs); }
48 static inline void DEVENUM_UnlockModule(void) { InterlockedDecrement(&dll_refs); }
51 /**********************************************************************
52 * ClassFactory declaration for devenum.dll
54 typedef struct
56 const IClassFactoryVtbl *lpVtbl;
57 } ClassFactoryImpl;
59 typedef struct
61 const ICreateDevEnumVtbl *lpVtbl;
62 } CreateDevEnumImpl;
64 typedef struct
66 const IParseDisplayNameVtbl *lpVtbl;
67 } ParseDisplayNameImpl;
69 typedef struct
71 const IEnumMonikerVtbl *lpVtbl;
72 LONG ref;
73 DWORD index;
74 HKEY hkey;
75 } EnumMonikerImpl;
77 typedef struct
79 const IMonikerVtbl *lpVtbl;
80 LONG ref;
81 HKEY hkey;
82 } MediaCatMoniker;
84 MediaCatMoniker * DEVENUM_IMediaCatMoniker_Construct(void);
85 HRESULT DEVENUM_IEnumMoniker_Construct(HKEY hkey, IEnumMoniker ** ppEnumMoniker);
86 HRESULT WINAPI DEVENUM_ICreateDevEnum_CreateClassEnumerator(
87 ICreateDevEnum * iface,
88 REFCLSID clsidDeviceClass,
89 IEnumMoniker **ppEnumMoniker,
90 DWORD dwFlags);
92 extern ClassFactoryImpl DEVENUM_ClassFactory;
93 extern CreateDevEnumImpl DEVENUM_CreateDevEnum;
94 extern ParseDisplayNameImpl DEVENUM_ParseDisplayName;
96 /**********************************************************************
97 * Global string constant declarations
99 extern const WCHAR clsid_keyname[6];
100 extern const WCHAR wszInstanceKeyName[];
101 #define CLSID_STR_LEN (sizeof(clsid_keyname) / sizeof(WCHAR))
103 /**********************************************************************
104 * Resource IDs
106 #define IDS_DEVENUM_DSDEFAULT 7
107 #define IDS_DEVENUM_DS 8
108 #define IDS_DEVENUM_WODEFAULT 9
109 #define IDS_DEVENUM_MIDEFAULT 10
110 #define IDS_DEVENUM_KSDEFAULT 11
111 #define IDS_DEVENUM_KS 12