Line | |
---|
1 | #ifndef WINE_DSHOW_MONPROP_H
|
---|
2 | #define WINE_DSHOW_MONPROP_H
|
---|
3 |
|
---|
4 | /*
|
---|
5 | implements IPropertyBag for accessing registry.
|
---|
6 |
|
---|
7 | - At least, the following interfaces should be implemented:
|
---|
8 |
|
---|
9 | IUnknown
|
---|
10 | + IPropertyBag
|
---|
11 | */
|
---|
12 |
|
---|
13 | #include "iunk.h"
|
---|
14 |
|
---|
15 | typedef struct DMON_IPropertyBagImpl
|
---|
16 | {
|
---|
17 | ICOM_VFIELD(IPropertyBag);
|
---|
18 | } DMON_IPropertyBagImpl;
|
---|
19 |
|
---|
20 | typedef struct CRegPropertyBag
|
---|
21 | {
|
---|
22 | QUARTZ_IUnkImpl unk;
|
---|
23 | DMON_IPropertyBagImpl propbag;
|
---|
24 | /* IPropertyBag fields */
|
---|
25 | HKEY m_hKey;
|
---|
26 | } CRegPropertyBag;
|
---|
27 |
|
---|
28 | #define CRegPropertyBag_THIS(iface,member) CRegPropertyBag* This = (CRegPropertyBag*)(((char*)iface)-offsetof(CRegPropertyBag,member))
|
---|
29 |
|
---|
30 | HRESULT QUARTZ_CreateRegPropertyBag(
|
---|
31 | HKEY hkRoot, LPCWSTR lpKeyPath,
|
---|
32 | IPropertyBag** ppPropBag );
|
---|
33 |
|
---|
34 | #endif /* WINE_DSHOW_MONPROP_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.