| Line |  | 
|---|
| 1 | #ifndef WINE_DSHOW_DEVENUM_H | 
|---|
| 2 | #define WINE_DSHOW_DEVENUM_H | 
|---|
| 3 |  | 
|---|
| 4 | /* | 
|---|
| 5 | implements CLSID_SystemDeviceEnum. | 
|---|
| 6 |  | 
|---|
| 7 | - At least, the following interfaces should be implemented: | 
|---|
| 8 |  | 
|---|
| 9 | IUnknown | 
|---|
| 10 | + ICreateDevEnum | 
|---|
| 11 | */ | 
|---|
| 12 |  | 
|---|
| 13 | #include "iunk.h" | 
|---|
| 14 |  | 
|---|
| 15 | typedef struct SDE_ICreateDevEnumImpl | 
|---|
| 16 | { | 
|---|
| 17 | ICOM_VFIELD(ICreateDevEnum); | 
|---|
| 18 | } SDE_ICreateDevEnumImpl; | 
|---|
| 19 |  | 
|---|
| 20 | typedef struct CSysDevEnum | 
|---|
| 21 | { | 
|---|
| 22 | QUARTZ_IUnkImpl unk; | 
|---|
| 23 | SDE_ICreateDevEnumImpl  createdevenum; | 
|---|
| 24 | } CSysDevEnum; | 
|---|
| 25 |  | 
|---|
| 26 | #define CSysDevEnum_THIS(iface,member)          CSysDevEnum*    This = ((CSysDevEnum*)(((char*)iface)-offsetof(CSysDevEnum,member))) | 
|---|
| 27 |  | 
|---|
| 28 | HRESULT QUARTZ_CreateSystemDeviceEnum(IUnknown* punkOuter,void** ppobj); | 
|---|
| 29 |  | 
|---|
| 30 |  | 
|---|
| 31 | HRESULT CSysDevEnum_InitICreateDevEnum( CSysDevEnum* psde ); | 
|---|
| 32 | void CSysDevEnum_UninitICreateDevEnum( CSysDevEnum* psde ); | 
|---|
| 33 |  | 
|---|
| 34 |  | 
|---|
| 35 | #endif  /* WINE_DSHOW_DEVENUM_H */ | 
|---|
| 36 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.