Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #include <fsrmenums.h>
      7 #include <fsrm.h>
      8 
      9 #ifndef _INC_FSRMQUOTA
     10 #define _INC_FSRMQUOTA
     11 #if (_WIN32_WINNT >= 0x0600)
     12 
     13 #ifndef __IFsrmAction_FWD_DEFINED__
     14 #define __IFsrmAction_FWD_DEFINED__
     15 typedef struct IFsrmAction IFsrmAction;
     16 #endif /* __IFsrmAction_FWD_DEFINED__ */
     17 
     18 #ifndef __IFsrmActionCommand_FWD_DEFINED__
     19 #define __IFsrmActionCommand_FWD_DEFINED__
     20 typedef struct IFsrmActionCommand IFsrmActionCommand;
     21 #endif /* __IFsrmActionCommand_FWD_DEFINED__ */
     22 
     23 #ifndef __IFsrmActionEmail_FWD_DEFINED__
     24 #define __IFsrmActionEmail_FWD_DEFINED__
     25 typedef struct IFsrmActionEmail IFsrmActionEmail;
     26 #endif /* __IFsrmActionEmail_FWD_DEFINED__ */
     27 
     28 #ifndef __IFsrmActionEmail2_FWD_DEFINED__
     29 #define __IFsrmActionEmail2_FWD_DEFINED__
     30 typedef struct IFsrmActionEmail2 IFsrmActionEmail2;
     31 #endif /* __IFsrmActionEmail2_FWD_DEFINED__ */
     32 
     33 #ifndef __IFsrmActionEventLog_FWD_DEFINED__
     34 #define __IFsrmActionEventLog_FWD_DEFINED__
     35 typedef struct IFsrmActionEventLog IFsrmActionEventLog;
     36 #endif /* __IFsrmActionEventLog_FWD_DEFINED__ */
     37 
     38 #ifndef __IFsrmActionReport_FWD_DEFINED__
     39 #define __IFsrmActionReport_FWD_DEFINED__
     40 typedef struct IFsrmActionReport IFsrmActionReport;
     41 #endif /* __IFsrmActionReport_FWD_DEFINED__ */
     42 
     43 #ifndef __IFsrmAutoApplyQuota_FWD_DEFINED__
     44 #define __IFsrmAutoApplyQuota_FWD_DEFINED__
     45 typedef struct IFsrmAutoApplyQuota IFsrmAutoApplyQuota;
     46 #endif /* __IFsrmAutoApplyQuota_FWD_DEFINED__ */
     47 
     48 #ifndef __IFsrmClassificationManager_FWD_DEFINED__
     49 #define __IFsrmClassificationManager_FWD_DEFINED__
     50 typedef struct IFsrmClassificationManager IFsrmClassificationManager;
     51 #endif /* __IFsrmClassificationManager_FWD_DEFINED__ */
     52 
     53 #ifndef __IFsrmClassificationRule_FWD_DEFINED__
     54 #define __IFsrmClassificationRule_FWD_DEFINED__
     55 typedef struct IFsrmClassificationRule IFsrmClassificationRule;
     56 #endif /* __IFsrmClassificationRule_FWD_DEFINED__ */
     57 
     58 #ifndef __IFsrmClassifierModuleDefinition_FWD_DEFINED__
     59 #define __IFsrmClassifierModuleDefinition_FWD_DEFINED__
     60 typedef struct IFsrmClassifierModuleDefinition IFsrmClassifierModuleDefinition;
     61 #endif /* __IFsrmClassifierModuleDefinition_FWD_DEFINED__ */
     62 
     63 #ifndef __IFsrmClassifierModuleImplementation_FWD_DEFINED__
     64 #define __IFsrmClassifierModuleImplementation_FWD_DEFINED__
     65 typedef struct IFsrmClassifierModuleImplementation IFsrmClassifierModuleImplementation;
     66 #endif /* __IFsrmClassifierModuleImplementation_FWD_DEFINED__ */
     67 
     68 #ifndef __IFsrmCollection_FWD_DEFINED__
     69 #define __IFsrmCollection_FWD_DEFINED__
     70 typedef struct IFsrmCollection IFsrmCollection;
     71 #endif /* __IFsrmCollection_FWD_DEFINED__ */
     72 
     73 #ifndef __IFsrmCommittableCollection_FWD_DEFINED__
     74 #define __IFsrmCommittableCollection_FWD_DEFINED__
     75 typedef struct IFsrmCommittableCollection IFsrmCommittableCollection;
     76 #endif /* __IFsrmCommittableCollection_FWD_DEFINED__ */
     77 
     78 #ifndef __IFsrmDerivedObjectsResult_FWD_DEFINED__
     79 #define __IFsrmDerivedObjectsResult_FWD_DEFINED__
     80 typedef struct IFsrmDerivedObjectsResult IFsrmDerivedObjectsResult;
     81 #endif /* __IFsrmDerivedObjectsResult_FWD_DEFINED__ */
     82 
     83 #ifndef __IFsrmExportImport_FWD_DEFINED__
     84 #define __IFsrmExportImport_FWD_DEFINED__
     85 typedef struct IFsrmExportImport IFsrmExportImport;
     86 #endif /* __IFsrmExportImport_FWD_DEFINED__ */
     87 
     88 #ifndef __IFsrmFileGroup_FWD_DEFINED__
     89 #define __IFsrmFileGroup_FWD_DEFINED__
     90 typedef struct IFsrmFileGroup IFsrmFileGroup;
     91 #endif /* __IFsrmFileGroup_FWD_DEFINED__ */
     92 
     93 #ifndef __IFsrmFileGroupImported_FWD_DEFINED__
     94 #define __IFsrmFileGroupImported_FWD_DEFINED__
     95 typedef struct IFsrmFileGroupImported IFsrmFileGroupImported;
     96 #endif /* __IFsrmFileGroupImported_FWD_DEFINED__ */
     97 
     98 #ifndef __IFsrmFileGroupManager_FWD_DEFINED__
     99 #define __IFsrmFileGroupManager_FWD_DEFINED__
    100 typedef struct IFsrmFileGroupManager IFsrmFileGroupManager;
    101 #endif /* __IFsrmFileGroupManager_FWD_DEFINED__ */
    102 
    103 #ifndef __IFsrmFileManagementJob_FWD_DEFINED__
    104 #define __IFsrmFileManagementJob_FWD_DEFINED__
    105 typedef struct IFsrmFileManagementJob IFsrmFileManagementJob;
    106 #endif /* __IFsrmFileManagementJob_FWD_DEFINED__ */
    107 
    108 #ifndef __IFsrmFileManagementJobManager_FWD_DEFINED__
    109 #define __IFsrmFileManagementJobManager_FWD_DEFINED__
    110 typedef struct IFsrmFileManagementJobManager IFsrmFileManagementJobManager;
    111 #endif /* __IFsrmFileManagementJobManager_FWD_DEFINED__ */
    112 
    113 #ifndef __IFsrmFileScreen_FWD_DEFINED__
    114 #define __IFsrmFileScreen_FWD_DEFINED__
    115 typedef struct IFsrmFileScreen IFsrmFileScreen;
    116 #endif /* __IFsrmFileScreen_FWD_DEFINED__ */
    117 
    118 #ifndef __IFsrmFileScreenBase_FWD_DEFINED__
    119 #define __IFsrmFileScreenBase_FWD_DEFINED__
    120 typedef struct IFsrmFileScreenBase IFsrmFileScreenBase;
    121 #endif /* __IFsrmFileScreenBase_FWD_DEFINED__ */
    122 
    123 #ifndef __IFsrmFileScreenException_FWD_DEFINED__
    124 #define __IFsrmFileScreenException_FWD_DEFINED__
    125 typedef struct IFsrmFileScreenException IFsrmFileScreenException;
    126 #endif /* __IFsrmFileScreenException_FWD_DEFINED__ */
    127 
    128 #ifndef __IFsrmFileScreenManager_FWD_DEFINED__
    129 #define __IFsrmFileScreenManager_FWD_DEFINED__
    130 typedef struct IFsrmFileScreenManager IFsrmFileScreenManager;
    131 #endif /* __IFsrmFileScreenManager_FWD_DEFINED__ */
    132 
    133 #ifndef __IFsrmFileScreenTemplate_FWD_DEFINED__
    134 #define __IFsrmFileScreenTemplate_FWD_DEFINED__
    135 typedef struct IFsrmFileScreenTemplate IFsrmFileScreenTemplate;
    136 #endif /* __IFsrmFileScreenTemplate_FWD_DEFINED__ */
    137 
    138 #ifndef __IFsrmFileScreenTemplateImported_FWD_DEFINED__
    139 #define __IFsrmFileScreenTemplateImported_FWD_DEFINED__
    140 typedef struct IFsrmFileScreenTemplateImported IFsrmFileScreenTemplateImported;
    141 #endif /* __IFsrmFileScreenTemplateImported_FWD_DEFINED__ */
    142 
    143 #ifndef __IFsrmFileScreenTemplateManager_FWD_DEFINED__
    144 #define __IFsrmFileScreenTemplateManager_FWD_DEFINED__
    145 typedef struct IFsrmFileScreenTemplateManager IFsrmFileScreenTemplateManager;
    146 #endif /* __IFsrmFileScreenTemplateManager_FWD_DEFINED__ */
    147 
    148 #ifndef __IFsrmMutableCollection_FWD_DEFINED__
    149 #define __IFsrmMutableCollection_FWD_DEFINED__
    150 typedef struct IFsrmMutableCollection IFsrmMutableCollection;
    151 #endif /* __IFsrmMutableCollection_FWD_DEFINED__ */
    152 
    153 #ifndef __IFsrmObject_FWD_DEFINED__
    154 #define __IFsrmObject_FWD_DEFINED__
    155 typedef struct IFsrmObject IFsrmObject;
    156 #endif /* __IFsrmObject_FWD_DEFINED__ */
    157 
    158 #ifndef __IFsrmPathMapper_FWD_DEFINED__
    159 #define __IFsrmPathMapper_FWD_DEFINED__
    160 typedef struct IFsrmPathMapper IFsrmPathMapper;
    161 #endif /* __IFsrmPathMapper_FWD_DEFINED__ */
    162 
    163 #ifndef __IFsrmPipelineModuleConnector_FWD_DEFINED__
    164 #define __IFsrmPipelineModuleConnector_FWD_DEFINED__
    165 typedef struct IFsrmPipelineModuleConnector IFsrmPipelineModuleConnector;
    166 #endif /* __IFsrmPipelineModuleConnector_FWD_DEFINED__ */
    167 
    168 #ifndef __IFsrmPipelineModuleDefinition_FWD_DEFINED__
    169 #define __IFsrmPipelineModuleDefinition_FWD_DEFINED__
    170 typedef struct IFsrmPipelineModuleDefinition IFsrmPipelineModuleDefinition;
    171 #endif /* __IFsrmPipelineModuleDefinition_FWD_DEFINED__ */
    172 
    173 #ifndef __IFsrmPipelineModuleImplementation_FWD_DEFINED__
    174 #define __IFsrmPipelineModuleImplementation_FWD_DEFINED__
    175 typedef struct IFsrmPipelineModuleImplementation IFsrmPipelineModuleImplementation;
    176 #endif /* __IFsrmPipelineModuleImplementation_FWD_DEFINED__ */
    177 
    178 #ifndef __IFsrmProperty_FWD_DEFINED__
    179 #define __IFsrmProperty_FWD_DEFINED__
    180 typedef struct IFsrmProperty IFsrmProperty;
    181 #endif /* __IFsrmProperty_FWD_DEFINED__ */
    182 
    183 #ifndef __IFsrmPropertyBag_FWD_DEFINED__
    184 #define __IFsrmPropertyBag_FWD_DEFINED__
    185 typedef struct IFsrmPropertyBag IFsrmPropertyBag;
    186 #endif /* __IFsrmPropertyBag_FWD_DEFINED__ */
    187 
    188 #ifndef __IFsrmPropertyCondition_FWD_DEFINED__
    189 #define __IFsrmPropertyCondition_FWD_DEFINED__
    190 typedef struct IFsrmPropertyCondition IFsrmPropertyCondition;
    191 #endif /* __IFsrmPropertyCondition_FWD_DEFINED__ */
    192 
    193 #ifndef __IFsrmPropertyDefinition_FWD_DEFINED__
    194 #define __IFsrmPropertyDefinition_FWD_DEFINED__
    195 typedef struct IFsrmPropertyDefinition IFsrmPropertyDefinition;
    196 #endif /* __IFsrmPropertyDefinition_FWD_DEFINED__ */
    197 
    198 #ifndef __IFsrmQuota_FWD_DEFINED__
    199 #define __IFsrmQuota_FWD_DEFINED__
    200 typedef struct IFsrmQuota IFsrmQuota;
    201 #endif /* __IFsrmQuota_FWD_DEFINED__ */
    202 
    203 #ifndef __IFsrmQuotaBase_FWD_DEFINED__
    204 #define __IFsrmQuotaBase_FWD_DEFINED__
    205 typedef struct IFsrmQuotaBase IFsrmQuotaBase;
    206 #endif /* __IFsrmQuotaBase_FWD_DEFINED__ */
    207 
    208 #ifndef __IFsrmQuotaManager_FWD_DEFINED__
    209 #define __IFsrmQuotaManager_FWD_DEFINED__
    210 typedef struct IFsrmQuotaManager IFsrmQuotaManager;
    211 #endif /* __IFsrmQuotaManager_FWD_DEFINED__ */
    212 
    213 #ifndef __IFsrmQuotaManagerEx_FWD_DEFINED__
    214 #define __IFsrmQuotaManagerEx_FWD_DEFINED__
    215 typedef struct IFsrmQuotaManagerEx IFsrmQuotaManagerEx;
    216 #endif /* __IFsrmQuotaManagerEx_FWD_DEFINED__ */
    217 
    218 #ifndef __IFsrmQuotaObject_FWD_DEFINED__
    219 #define __IFsrmQuotaObject_FWD_DEFINED__
    220 typedef struct IFsrmQuotaObject IFsrmQuotaObject;
    221 #endif /* __IFsrmQuotaObject_FWD_DEFINED__ */
    222 
    223 #ifndef __IFsrmQuotaTemplate_FWD_DEFINED__
    224 #define __IFsrmQuotaTemplate_FWD_DEFINED__
    225 typedef struct IFsrmQuotaTemplate IFsrmQuotaTemplate;
    226 #endif /* __IFsrmQuotaTemplate_FWD_DEFINED__ */
    227 
    228 #ifndef __IFsrmQuotaTemplateImported_FWD_DEFINED__
    229 #define __IFsrmQuotaTemplateImported_FWD_DEFINED__
    230 typedef struct IFsrmQuotaTemplateImported IFsrmQuotaTemplateImported;
    231 #endif /* __IFsrmQuotaTemplateImported_FWD_DEFINED__ */
    232 
    233 #ifndef __IFsrmQuotaTemplateManager_FWD_DEFINED__
    234 #define __IFsrmQuotaTemplateManager_FWD_DEFINED__
    235 typedef struct IFsrmQuotaTemplateManager IFsrmQuotaTemplateManager;
    236 #endif /* __IFsrmQuotaTemplateManager_FWD_DEFINED__ */
    237 
    238 #ifndef __IFsrmReport_FWD_DEFINED__
    239 #define __IFsrmReport_FWD_DEFINED__
    240 typedef struct IFsrmReport IFsrmReport;
    241 #endif /* __IFsrmReport_FWD_DEFINED__ */
    242 
    243 #ifndef __IFsrmReportJob_FWD_DEFINED__
    244 #define __IFsrmReportJob_FWD_DEFINED__
    245 typedef struct IFsrmReportJob IFsrmReportJob;
    246 #endif /* __IFsrmReportJob_FWD_DEFINED__ */
    247 
    248 #ifndef __IFsrmReportManager_FWD_DEFINED__
    249 #define __IFsrmReportManager_FWD_DEFINED__
    250 typedef struct IFsrmReportManager IFsrmReportManager;
    251 #endif /* __IFsrmReportManager_FWD_DEFINED__ */
    252 
    253 #ifndef __IFsrmReportScheduler_FWD_DEFINED__
    254 #define __IFsrmReportScheduler_FWD_DEFINED__
    255 typedef struct IFsrmReportScheduler IFsrmReportScheduler;
    256 #endif /* __IFsrmReportScheduler_FWD_DEFINED__ */
    257 
    258 #ifndef __IFsrmRule_FWD_DEFINED__
    259 #define __IFsrmRule_FWD_DEFINED__
    260 typedef struct IFsrmRule IFsrmRule;
    261 #endif /* __IFsrmRule_FWD_DEFINED__ */
    262 
    263 #ifndef __IFsrmSetting_FWD_DEFINED__
    264 #define __IFsrmSetting_FWD_DEFINED__
    265 typedef struct IFsrmSetting IFsrmSetting;
    266 #endif /* __IFsrmSetting_FWD_DEFINED__ */
    267 
    268 #ifndef __IFsrmStorageModuleDefinition_FWD_DEFINED__
    269 #define __IFsrmStorageModuleDefinition_FWD_DEFINED__
    270 typedef struct IFsrmStorageModuleDefinition IFsrmStorageModuleDefinition;
    271 #endif /* __IFsrmStorageModuleDefinition_FWD_DEFINED__ */
    272 
    273 #ifndef __IFsrmStorageModuleImplementation_FWD_DEFINED__
    274 #define __IFsrmStorageModuleImplementation_FWD_DEFINED__
    275 typedef struct IFsrmStorageModuleImplementation IFsrmStorageModuleImplementation;
    276 #endif /* __IFsrmStorageModuleImplementation_FWD_DEFINED__ */
    277 
    278 #undef  INTERFACE
    279 #define INTERFACE IFsrmQuotaBase
    280 #ifdef __GNUC__
    281 #warning COM interfaces layout in this header has not been verified.
    282 #warning COM interfaces with incorrect layout may not work at all.
    283 __MINGW_BROKEN_INTERFACE(INTERFACE)
    284 #endif
    285 DECLARE_INTERFACE_(IFsrmQuotaBase,IFsrmObject)
    286 {
    287     BEGIN_INTERFACE
    288 
    289     /* IUnknown methods */
    290     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
    291     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    292     STDMETHOD_(ULONG, Release)(THIS) PURE;
    293 
    294     /* IDispatch methods */
    295     STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR*  pctinfo) PURE;
    296     STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int  iTInfo,LCID  lcid,ITypeInfo FAR* FAR*  ppTInfo) PURE;
    297     STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID  riid,OLECHAR FAR* FAR*  rgszNames,unsigned int  cNames,LCID   lcid,DISPID FAR*  rgDispId) PURE;
    298     STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID  dispIdMember,REFIID  riid,LCID  lcid,WORD  wFlags,DISPPARAMS FAR*  pDispParams,VARIANT FAR*  pVarResult,EXCEPINFO FAR*  pExcepInfo,unsigned int FAR*  puArgErr) PURE;
    299 
    300     /* IFsrmObject methods */
    301     STDMETHOD_(HRESULT,get_Id)(THIS_ FSRM_OBJECT_ID *id) PURE;
    302     STDMETHOD_(HRESULT,get_Description)(THIS_ BSTR *description) PURE;
    303     STDMETHOD_(HRESULT,put_Description)(THIS_ BSTR description) PURE;
    304     STDMETHOD_(HRESULT,Delete)(THIS) PURE;
    305     STDMETHOD_(HRESULT,Commit)(THIS) PURE;
    306 
    307     /* IFsrmQuotaBase methods */
    308     STDMETHOD_(HRESULT,get_QuotaLimit)(THIS_ VARIANT *quotaLimit) PURE;
    309     STDMETHOD_(HRESULT,put_QuotaLimit)(THIS_ VARIANT quotaLimit) PURE;
    310     STDMETHOD_(HRESULT,get_QuotaFlags)(THIS_ __LONG32 *quotaFlags) PURE;
    311     STDMETHOD_(HRESULT,put_QuotaFlags)(THIS_ __LONG32 quotaFlags) PURE;
    312     STDMETHOD_(HRESULT,get_Thresholds)(THIS_ SAFEARRAY *thresholds) PURE;
    313     STDMETHOD_(HRESULT,AddThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    314     STDMETHOD_(HRESULT,DeleteThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    315     STDMETHOD_(HRESULT,ModifyThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) PURE;
    316     STDMETHOD_(HRESULT,CreateThresholdAction)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) PURE;
    317     STDMETHOD_(HRESULT,EnumThresholdActions)(THIS_ FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) PURE;
    318 
    319     END_INTERFACE
    320 };
    321 #ifdef COBJMACROS
    322 #define IFsrmQuotaBase_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    323 #define IFsrmQuotaBase_AddRef(This) (This)->lpVtbl->AddRef(This)
    324 #define IFsrmQuotaBase_Release(This) (This)->lpVtbl->Release(This)
    325 #define IFsrmQuotaBase_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    326 #define IFsrmQuotaBase_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    327 #define IFsrmQuotaBase_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    328 #define IFsrmQuotaBase_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    329 #define IFsrmQuotaBase_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
    330 #define IFsrmQuotaBase_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
    331 #define IFsrmQuotaBase_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
    332 #define IFsrmQuotaBase_Delete() (This)->lpVtbl->Delete(This)
    333 #define IFsrmQuotaBase_Commit() (This)->lpVtbl->Commit(This)
    334 #define IFsrmQuotaBase_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
    335 #define IFsrmQuotaBase_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
    336 #define IFsrmQuotaBase_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
    337 #define IFsrmQuotaBase_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
    338 #define IFsrmQuotaBase_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
    339 #define IFsrmQuotaBase_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
    340 #define IFsrmQuotaBase_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
    341 #define IFsrmQuotaBase_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
    342 #define IFsrmQuotaBase_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
    343 #define IFsrmQuotaBase_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
    344 #endif /*COBJMACROS*/
    345 
    346 #undef  INTERFACE
    347 #define INTERFACE IFsrmQuotaObject
    348 #ifdef __GNUC__
    349 #warning COM interfaces layout in this header has not been verified.
    350 #warning COM interfaces with incorrect layout may not work at all.
    351 __MINGW_BROKEN_INTERFACE(INTERFACE)
    352 #endif
    353 DECLARE_INTERFACE_(IFsrmQuotaObject,IFsrmQuotaBase)
    354 {
    355     BEGIN_INTERFACE
    356 
    357     /* IUnknown methods */
    358     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
    359     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    360     STDMETHOD_(ULONG, Release)(THIS) PURE;
    361 
    362     /* IDispatch methods */
    363     STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR*  pctinfo) PURE;
    364     STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int  iTInfo,LCID  lcid,ITypeInfo FAR* FAR*  ppTInfo) PURE;
    365     STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID  riid,OLECHAR FAR* FAR*  rgszNames,unsigned int  cNames,LCID   lcid,DISPID FAR*  rgDispId) PURE;
    366     STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID  dispIdMember,REFIID  riid,LCID  lcid,WORD  wFlags,DISPPARAMS FAR*  pDispParams,VARIANT FAR*  pVarResult,EXCEPINFO FAR*  pExcepInfo,unsigned int FAR*  puArgErr) PURE;
    367 
    368     /* IFsrmObject methods */
    369     STDMETHOD_(HRESULT,get_Id)(THIS_ FSRM_OBJECT_ID *id) PURE;
    370     STDMETHOD_(HRESULT,get_Description)(THIS_ BSTR *description) PURE;
    371     STDMETHOD_(HRESULT,put_Description)(THIS_ BSTR description) PURE;
    372     STDMETHOD_(HRESULT,Delete)(THIS) PURE;
    373     STDMETHOD_(HRESULT,Commit)(THIS) PURE;
    374 
    375     /* IFsrmQuotaBase methods */
    376     STDMETHOD_(HRESULT,get_QuotaLimit)(THIS_ VARIANT *quotaLimit) PURE;
    377     STDMETHOD_(HRESULT,put_QuotaLimit)(THIS_ VARIANT quotaLimit) PURE;
    378     STDMETHOD_(HRESULT,get_QuotaFlags)(THIS_ __LONG32 *quotaFlags) PURE;
    379     STDMETHOD_(HRESULT,put_QuotaFlags)(THIS_ __LONG32 quotaFlags) PURE;
    380     STDMETHOD_(HRESULT,get_Thresholds)(THIS_ SAFEARRAY *thresholds) PURE;
    381     STDMETHOD_(HRESULT,AddThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    382     STDMETHOD_(HRESULT,DeleteThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    383     STDMETHOD_(HRESULT,ModifyThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) PURE;
    384     STDMETHOD_(HRESULT,CreateThresholdAction)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) PURE;
    385     STDMETHOD_(HRESULT,EnumThresholdActions)(THIS_ FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) PURE;
    386 
    387     /* IFsrmQuotaObject methods */
    388     STDMETHOD_(HRESULT,get_Path)(THIS_ BSTR *path) PURE;
    389     STDMETHOD_(HRESULT,get_UserSid)(THIS_ BSTR *userSid) PURE;
    390     STDMETHOD_(HRESULT,get_UserAccount)(THIS_ BSTR *userAccount) PURE;
    391     STDMETHOD_(HRESULT,get_SourceTemplateName)(THIS_ BSTR *quotaTemplateName) PURE;
    392     STDMETHOD_(HRESULT,get_MatchesSourceTemplate)(THIS_ VARIANT_BOOL *matches) PURE;
    393     STDMETHOD_(HRESULT,ApplyTemplate)(THIS_ BSTR quotaTemplateName) PURE;
    394 
    395     END_INTERFACE
    396 };
    397 #ifdef COBJMACROS
    398 #define IFsrmQuotaObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    399 #define IFsrmQuotaObject_AddRef(This) (This)->lpVtbl->AddRef(This)
    400 #define IFsrmQuotaObject_Release(This) (This)->lpVtbl->Release(This)
    401 #define IFsrmQuotaObject_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    402 #define IFsrmQuotaObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    403 #define IFsrmQuotaObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    404 #define IFsrmQuotaObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    405 #define IFsrmQuotaObject_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
    406 #define IFsrmQuotaObject_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
    407 #define IFsrmQuotaObject_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
    408 #define IFsrmQuotaObject_Delete() (This)->lpVtbl->Delete(This)
    409 #define IFsrmQuotaObject_Commit() (This)->lpVtbl->Commit(This)
    410 #define IFsrmQuotaObject_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
    411 #define IFsrmQuotaObject_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
    412 #define IFsrmQuotaObject_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
    413 #define IFsrmQuotaObject_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
    414 #define IFsrmQuotaObject_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
    415 #define IFsrmQuotaObject_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
    416 #define IFsrmQuotaObject_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
    417 #define IFsrmQuotaObject_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
    418 #define IFsrmQuotaObject_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
    419 #define IFsrmQuotaObject_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
    420 #define IFsrmQuotaObject_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
    421 #define IFsrmQuotaObject_get_UserSid(This,userSid) (This)->lpVtbl->get_UserSid(This,userSid)
    422 #define IFsrmQuotaObject_get_UserAccount(This,userAccount) (This)->lpVtbl->get_UserAccount(This,userAccount)
    423 #define IFsrmQuotaObject_get_SourceTemplateName(This,quotaTemplateName) (This)->lpVtbl->get_SourceTemplateName(This,quotaTemplateName)
    424 #define IFsrmQuotaObject_get_MatchesSourceTemplate(This,matches) (This)->lpVtbl->get_MatchesSourceTemplate(This,matches)
    425 #define IFsrmQuotaObject_ApplyTemplate(This,quotaTemplateName) (This)->lpVtbl->ApplyTemplate(This,quotaTemplateName)
    426 #endif /*COBJMACROS*/
    427 
    428 #undef  INTERFACE
    429 #define INTERFACE IFsrmAutoApplyQuota
    430 #ifdef __GNUC__
    431 #warning COM interfaces layout in this header has not been verified.
    432 #warning COM interfaces with incorrect layout may not work at all.
    433 __MINGW_BROKEN_INTERFACE(INTERFACE)
    434 #endif
    435 DECLARE_INTERFACE_(IFsrmAutoApplyQuota,IFsrmQuotaObject)
    436 {
    437     BEGIN_INTERFACE
    438 
    439     /* IUnknown methods */
    440     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
    441     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    442     STDMETHOD_(ULONG, Release)(THIS) PURE;
    443 
    444     /* IDispatch methods */
    445     STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR*  pctinfo) PURE;
    446     STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int  iTInfo,LCID  lcid,ITypeInfo FAR* FAR*  ppTInfo) PURE;
    447     STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID  riid,OLECHAR FAR* FAR*  rgszNames,unsigned int  cNames,LCID   lcid,DISPID FAR*  rgDispId) PURE;
    448     STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID  dispIdMember,REFIID  riid,LCID  lcid,WORD  wFlags,DISPPARAMS FAR*  pDispParams,VARIANT FAR*  pVarResult,EXCEPINFO FAR*  pExcepInfo,unsigned int FAR*  puArgErr) PURE;
    449 
    450     /* IFsrmObject methods */
    451     STDMETHOD_(HRESULT,get_Id)(THIS_ FSRM_OBJECT_ID *id) PURE;
    452     STDMETHOD_(HRESULT,get_Description)(THIS_ BSTR *description) PURE;
    453     STDMETHOD_(HRESULT,put_Description)(THIS_ BSTR description) PURE;
    454     STDMETHOD_(HRESULT,Delete)(THIS) PURE;
    455     STDMETHOD_(HRESULT,Commit)(THIS) PURE;
    456 
    457     /* IFsrmQuotaBase methods */
    458     STDMETHOD_(HRESULT,get_QuotaLimit)(THIS_ VARIANT *quotaLimit) PURE;
    459     STDMETHOD_(HRESULT,put_QuotaLimit)(THIS_ VARIANT quotaLimit) PURE;
    460     STDMETHOD_(HRESULT,get_QuotaFlags)(THIS_ __LONG32 *quotaFlags) PURE;
    461     STDMETHOD_(HRESULT,put_QuotaFlags)(THIS_ __LONG32 quotaFlags) PURE;
    462     STDMETHOD_(HRESULT,get_Thresholds)(THIS_ SAFEARRAY *thresholds) PURE;
    463     STDMETHOD_(HRESULT,AddThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    464     STDMETHOD_(HRESULT,DeleteThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    465     STDMETHOD_(HRESULT,ModifyThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) PURE;
    466     STDMETHOD_(HRESULT,CreateThresholdAction)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) PURE;
    467     STDMETHOD_(HRESULT,EnumThresholdActions)(THIS_ FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) PURE;
    468 
    469     /* IFsrmQuotaObject methods */
    470     STDMETHOD_(HRESULT,get_Path)(THIS_ BSTR *path) PURE;
    471     STDMETHOD_(HRESULT,get_UserSid)(THIS_ BSTR *userSid) PURE;
    472     STDMETHOD_(HRESULT,get_UserAccount)(THIS_ BSTR *userAccount) PURE;
    473     STDMETHOD_(HRESULT,get_SourceTemplateName)(THIS_ BSTR *quotaTemplateName) PURE;
    474     STDMETHOD_(HRESULT,get_MatchesSourceTemplate)(THIS_ VARIANT_BOOL *matches) PURE;
    475     STDMETHOD_(HRESULT,ApplyTemplate)(THIS_ BSTR quotaTemplateName) PURE;
    476 
    477     /* IFsrmAutoApplyQuota methods */
    478     STDMETHOD_(HRESULT,get_ExcludeFolders)(THIS_ SAFEARRAY **folders) PURE;
    479     STDMETHOD_(HRESULT,put_ExcludeFolders)(THIS_ SAFEARRAY *folders) PURE;
    480     STDMETHOD_(HRESULT,CommitAndUpdateDerived)(THIS_ FsrmCommitOptions commitOptions,FsrmTemplateApplyOptions applyOptions,IFsrmDerivedObjectsResult **derivedObjectsResult) PURE;
    481 
    482     END_INTERFACE
    483 };
    484 #ifdef COBJMACROS
    485 #define IFsrmAutoApplyQuota_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    486 #define IFsrmAutoApplyQuota_AddRef(This) (This)->lpVtbl->AddRef(This)
    487 #define IFsrmAutoApplyQuota_Release(This) (This)->lpVtbl->Release(This)
    488 #define IFsrmAutoApplyQuota_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    489 #define IFsrmAutoApplyQuota_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    490 #define IFsrmAutoApplyQuota_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    491 #define IFsrmAutoApplyQuota_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    492 #define IFsrmAutoApplyQuota_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
    493 #define IFsrmAutoApplyQuota_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
    494 #define IFsrmAutoApplyQuota_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
    495 #define IFsrmAutoApplyQuota_Delete() (This)->lpVtbl->Delete(This)
    496 #define IFsrmAutoApplyQuota_Commit() (This)->lpVtbl->Commit(This)
    497 #define IFsrmAutoApplyQuota_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
    498 #define IFsrmAutoApplyQuota_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
    499 #define IFsrmAutoApplyQuota_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
    500 #define IFsrmAutoApplyQuota_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
    501 #define IFsrmAutoApplyQuota_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
    502 #define IFsrmAutoApplyQuota_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
    503 #define IFsrmAutoApplyQuota_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
    504 #define IFsrmAutoApplyQuota_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
    505 #define IFsrmAutoApplyQuota_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
    506 #define IFsrmAutoApplyQuota_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
    507 #define IFsrmAutoApplyQuota_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
    508 #define IFsrmAutoApplyQuota_get_UserSid(This,userSid) (This)->lpVtbl->get_UserSid(This,userSid)
    509 #define IFsrmAutoApplyQuota_get_UserAccount(This,userAccount) (This)->lpVtbl->get_UserAccount(This,userAccount)
    510 #define IFsrmAutoApplyQuota_get_SourceTemplateName(This,quotaTemplateName) (This)->lpVtbl->get_SourceTemplateName(This,quotaTemplateName)
    511 #define IFsrmAutoApplyQuota_get_MatchesSourceTemplate(This,matches) (This)->lpVtbl->get_MatchesSourceTemplate(This,matches)
    512 #define IFsrmAutoApplyQuota_ApplyTemplate(This,quotaTemplateName) (This)->lpVtbl->ApplyTemplate(This,quotaTemplateName)
    513 #define IFsrmAutoApplyQuota_get_ExcludeFolders(This,folders) (This)->lpVtbl->get_ExcludeFolders(This,folders)
    514 #define IFsrmAutoApplyQuota_put_ExcludeFolders(This,folders) (This)->lpVtbl->put_ExcludeFolders(This,folders)
    515 #define IFsrmAutoApplyQuota_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) (This)->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult)
    516 #endif /*COBJMACROS*/
    517 
    518 #undef  INTERFACE
    519 #define INTERFACE IFsrmQuota
    520 #ifdef __GNUC__
    521 #warning COM interfaces layout in this header has not been verified.
    522 #warning COM interfaces with incorrect layout may not work at all.
    523 __MINGW_BROKEN_INTERFACE(INTERFACE)
    524 #endif
    525 DECLARE_INTERFACE_(IFsrmQuota,IFsrmQuotaObject)
    526 {
    527     BEGIN_INTERFACE
    528 
    529     /* IUnknown methods */
    530     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
    531     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    532     STDMETHOD_(ULONG, Release)(THIS) PURE;
    533 
    534     /* IDispatch methods */
    535     STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR*  pctinfo) PURE;
    536     STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int  iTInfo,LCID  lcid,ITypeInfo FAR* FAR*  ppTInfo) PURE;
    537     STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID  riid,OLECHAR FAR* FAR*  rgszNames,unsigned int  cNames,LCID   lcid,DISPID FAR*  rgDispId) PURE;
    538     STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID  dispIdMember,REFIID  riid,LCID  lcid,WORD  wFlags,DISPPARAMS FAR*  pDispParams,VARIANT FAR*  pVarResult,EXCEPINFO FAR*  pExcepInfo,unsigned int FAR*  puArgErr) PURE;
    539 
    540     /* IFsrmObject methods */
    541     STDMETHOD_(HRESULT,get_Id)(THIS_ FSRM_OBJECT_ID *id) PURE;
    542     STDMETHOD_(HRESULT,get_Description)(THIS_ BSTR *description) PURE;
    543     STDMETHOD_(HRESULT,put_Description)(THIS_ BSTR description) PURE;
    544     STDMETHOD_(HRESULT,Delete)(THIS) PURE;
    545     STDMETHOD_(HRESULT,Commit)(THIS) PURE;
    546 
    547     /* IFsrmQuotaBase methods */
    548     STDMETHOD_(HRESULT,get_QuotaLimit)(THIS_ VARIANT *quotaLimit) PURE;
    549     STDMETHOD_(HRESULT,put_QuotaLimit)(THIS_ VARIANT quotaLimit) PURE;
    550     STDMETHOD_(HRESULT,get_QuotaFlags)(THIS_ __LONG32 *quotaFlags) PURE;
    551     STDMETHOD_(HRESULT,put_QuotaFlags)(THIS_ __LONG32 quotaFlags) PURE;
    552     STDMETHOD_(HRESULT,get_Thresholds)(THIS_ SAFEARRAY *thresholds) PURE;
    553     STDMETHOD_(HRESULT,AddThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    554     STDMETHOD_(HRESULT,DeleteThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    555     STDMETHOD_(HRESULT,ModifyThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) PURE;
    556     STDMETHOD_(HRESULT,CreateThresholdAction)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) PURE;
    557     STDMETHOD_(HRESULT,EnumThresholdActions)(THIS_ FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) PURE;
    558 
    559     /* IFsrmQuota methods */
    560     STDMETHOD_(HRESULT,get_QuotaUsed)(THIS_ VARIANT *used) PURE;
    561     STDMETHOD_(HRESULT,get_QuotaPeakUsage)(THIS_ VARIANT *peakUsage) PURE;
    562     STDMETHOD_(HRESULT,get_QuotaPeakUsageTime)(THIS_ DATE *peakUsageDateTime) PURE;
    563     STDMETHOD_(HRESULT,ResetPeakUsage)(THIS) PURE;
    564     STDMETHOD_(HRESULT,RefreshUsageProperties)(THIS) PURE;
    565 
    566     END_INTERFACE
    567 };
    568 #ifdef COBJMACROS
    569 #define IFsrmQuota_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    570 #define IFsrmQuota_AddRef(This) (This)->lpVtbl->AddRef(This)
    571 #define IFsrmQuota_Release(This) (This)->lpVtbl->Release(This)
    572 #define IFsrmQuota_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    573 #define IFsrmQuota_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    574 #define IFsrmQuota_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    575 #define IFsrmQuota_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    576 #define IFsrmQuota_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
    577 #define IFsrmQuota_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
    578 #define IFsrmQuota_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
    579 #define IFsrmQuota_Delete() (This)->lpVtbl->Delete(This)
    580 #define IFsrmQuota_Commit() (This)->lpVtbl->Commit(This)
    581 #define IFsrmQuota_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
    582 #define IFsrmQuota_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
    583 #define IFsrmQuota_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
    584 #define IFsrmQuota_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
    585 #define IFsrmQuota_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
    586 #define IFsrmQuota_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
    587 #define IFsrmQuota_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
    588 #define IFsrmQuota_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
    589 #define IFsrmQuota_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
    590 #define IFsrmQuota_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
    591 #define IFsrmQuota_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
    592 #define IFsrmQuota_get_UserSid(This,userSid) (This)->lpVtbl->get_UserSid(This,userSid)
    593 #define IFsrmQuota_get_UserAccount(This,userAccount) (This)->lpVtbl->get_UserAccount(This,userAccount)
    594 #define IFsrmQuota_get_SourceTemplateName(This,quotaTemplateName) (This)->lpVtbl->get_SourceTemplateName(This,quotaTemplateName)
    595 #define IFsrmQuota_get_MatchesSourceTemplate(This,matches) (This)->lpVtbl->get_MatchesSourceTemplate(This,matches)
    596 #define IFsrmQuota_ApplyTemplate(This,quotaTemplateName) (This)->lpVtbl->ApplyTemplate(This,quotaTemplateName)
    597 #define IFsrmQuota_get_QuotaUsed(This,used) (This)->lpVtbl->get_QuotaUsed(This,used)
    598 #define IFsrmQuota_get_QuotaPeakUsage(This,peakUsage) (This)->lpVtbl->get_QuotaPeakUsage(This,peakUsage)
    599 #define IFsrmQuota_get_QuotaPeakUsageTime(This,peakUsageDateTime) (This)->lpVtbl->get_QuotaPeakUsageTime(This,peakUsageDateTime)
    600 #define IFsrmQuota_ResetPeakUsage() (This)->lpVtbl->ResetPeakUsage(This)
    601 #define IFsrmQuota_RefreshUsageProperties() (This)->lpVtbl->RefreshUsageProperties(This)
    602 #endif /*COBJMACROS*/
    603 
    604 
    605 #undef  INTERFACE
    606 #define INTERFACE IFsrmQuotaTemplate
    607 #ifdef __GNUC__
    608 #warning COM interfaces layout in this header has not been verified.
    609 #warning COM interfaces with incorrect layout may not work at all.
    610 __MINGW_BROKEN_INTERFACE(INTERFACE)
    611 #endif
    612 DECLARE_INTERFACE_(IFsrmQuotaTemplate,IFsrmQuotaBase)
    613 {
    614     BEGIN_INTERFACE
    615 
    616     /* IUnknown methods */
    617     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
    618     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    619     STDMETHOD_(ULONG, Release)(THIS) PURE;
    620 
    621     /* IDispatch methods */
    622     STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR*  pctinfo) PURE;
    623     STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int  iTInfo,LCID  lcid,ITypeInfo FAR* FAR*  ppTInfo) PURE;
    624     STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID  riid,OLECHAR FAR* FAR*  rgszNames,unsigned int  cNames,LCID   lcid,DISPID FAR*  rgDispId) PURE;
    625     STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID  dispIdMember,REFIID  riid,LCID  lcid,WORD  wFlags,DISPPARAMS FAR*  pDispParams,VARIANT FAR*  pVarResult,EXCEPINFO FAR*  pExcepInfo,unsigned int FAR*  puArgErr) PURE;
    626 
    627     /* IFsrmObject methods */
    628     STDMETHOD_(HRESULT,get_Id)(THIS_ FSRM_OBJECT_ID *id) PURE;
    629     STDMETHOD_(HRESULT,get_Description)(THIS_ BSTR *description) PURE;
    630     STDMETHOD_(HRESULT,put_Description)(THIS_ BSTR description) PURE;
    631     STDMETHOD_(HRESULT,Delete)(THIS) PURE;
    632     STDMETHOD_(HRESULT,Commit)(THIS) PURE;
    633 
    634     /* IFsrmQuotaBase methods */
    635     STDMETHOD_(HRESULT,get_QuotaLimit)(THIS_ VARIANT *quotaLimit) PURE;
    636     STDMETHOD_(HRESULT,put_QuotaLimit)(THIS_ VARIANT quotaLimit) PURE;
    637     STDMETHOD_(HRESULT,get_QuotaFlags)(THIS_ __LONG32 *quotaFlags) PURE;
    638     STDMETHOD_(HRESULT,put_QuotaFlags)(THIS_ __LONG32 quotaFlags) PURE;
    639     STDMETHOD_(HRESULT,get_Thresholds)(THIS_ SAFEARRAY *thresholds) PURE;
    640     STDMETHOD_(HRESULT,AddThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    641     STDMETHOD_(HRESULT,DeleteThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    642     STDMETHOD_(HRESULT,ModifyThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) PURE;
    643     STDMETHOD_(HRESULT,CreateThresholdAction)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) PURE;
    644     STDMETHOD_(HRESULT,EnumThresholdActions)(THIS_ FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) PURE;
    645 
    646     /* IFsrmQuotaTemplate methods */
    647     STDMETHOD_(HRESULT,get_Name)(THIS_ BSTR *name) PURE;
    648     STDMETHOD_(HRESULT,put_Name)(THIS_ BSTR name) PURE;
    649     STDMETHOD_(HRESULT,CopyTemplate)(THIS_ BSTR quotaTemplateName) PURE;
    650     STDMETHOD_(HRESULT,CommitAndUpdateDerived)(THIS_ FsrmCommitOptions commitOptions,FsrmTemplateApplyOptions applyOptions,IFsrmDerivedObjectsResult **derivedObjectsResult) PURE;
    651 
    652     END_INTERFACE
    653 };
    654 #ifdef COBJMACROS
    655 #define IFsrmQuotaTemplate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    656 #define IFsrmQuotaTemplate_AddRef(This) (This)->lpVtbl->AddRef(This)
    657 #define IFsrmQuotaTemplate_Release(This) (This)->lpVtbl->Release(This)
    658 #define IFsrmQuotaTemplate_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    659 #define IFsrmQuotaTemplate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    660 #define IFsrmQuotaTemplate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    661 #define IFsrmQuotaTemplate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    662 #define IFsrmQuotaTemplate_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
    663 #define IFsrmQuotaTemplate_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
    664 #define IFsrmQuotaTemplate_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
    665 #define IFsrmQuotaTemplate_Delete() (This)->lpVtbl->Delete(This)
    666 #define IFsrmQuotaTemplate_Commit() (This)->lpVtbl->Commit(This)
    667 #define IFsrmQuotaTemplate_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
    668 #define IFsrmQuotaTemplate_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
    669 #define IFsrmQuotaTemplate_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
    670 #define IFsrmQuotaTemplate_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
    671 #define IFsrmQuotaTemplate_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
    672 #define IFsrmQuotaTemplate_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
    673 #define IFsrmQuotaTemplate_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
    674 #define IFsrmQuotaTemplate_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
    675 #define IFsrmQuotaTemplate_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
    676 #define IFsrmQuotaTemplate_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
    677 #define IFsrmQuotaTemplate_get_Name(This,name) (This)->lpVtbl->get_Name(This,name)
    678 #define IFsrmQuotaTemplate_put_Name(This,name) (This)->lpVtbl->put_Name(This,name)
    679 #define IFsrmQuotaTemplate_CopyTemplate(This,quotaTemplateName) (This)->lpVtbl->CopyTemplate(This,quotaTemplateName)
    680 #define IFsrmQuotaTemplate_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) (This)->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult)
    681 #endif /*COBJMACROS*/
    682 
    683 #undef  INTERFACE
    684 #define INTERFACE IFsrmQuotaTemplateImported
    685 #ifdef __GNUC__
    686 #warning COM interfaces layout in this header has not been verified.
    687 #warning COM interfaces with incorrect layout may not work at all.
    688 __MINGW_BROKEN_INTERFACE(INTERFACE)
    689 #endif
    690 DECLARE_INTERFACE_(IFsrmQuotaTemplateImported,IFsrmQuotaTemplate)
    691 {
    692     BEGIN_INTERFACE
    693 
    694     /* IUnknown methods */
    695     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
    696     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    697     STDMETHOD_(ULONG, Release)(THIS) PURE;
    698 
    699     /* IDispatch methods */
    700     STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR*  pctinfo) PURE;
    701     STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int  iTInfo,LCID  lcid,ITypeInfo FAR* FAR*  ppTInfo) PURE;
    702     STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID  riid,OLECHAR FAR* FAR*  rgszNames,unsigned int  cNames,LCID   lcid,DISPID FAR*  rgDispId) PURE;
    703     STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID  dispIdMember,REFIID  riid,LCID  lcid,WORD  wFlags,DISPPARAMS FAR*  pDispParams,VARIANT FAR*  pVarResult,EXCEPINFO FAR*  pExcepInfo,unsigned int FAR*  puArgErr) PURE;
    704 
    705     /* IFsrmObject methods */
    706     STDMETHOD_(HRESULT,get_Id)(THIS_ FSRM_OBJECT_ID *id) PURE;
    707     STDMETHOD_(HRESULT,get_Description)(THIS_ BSTR *description) PURE;
    708     STDMETHOD_(HRESULT,put_Description)(THIS_ BSTR description) PURE;
    709     STDMETHOD_(HRESULT,Delete)(THIS) PURE;
    710     STDMETHOD_(HRESULT,Commit)(THIS) PURE;
    711 
    712     /* IFsrmQuotaBase methods */
    713     STDMETHOD_(HRESULT,get_QuotaLimit)(THIS_ VARIANT *quotaLimit) PURE;
    714     STDMETHOD_(HRESULT,put_QuotaLimit)(THIS_ VARIANT quotaLimit) PURE;
    715     STDMETHOD_(HRESULT,get_QuotaFlags)(THIS_ __LONG32 *quotaFlags) PURE;
    716     STDMETHOD_(HRESULT,put_QuotaFlags)(THIS_ __LONG32 quotaFlags) PURE;
    717     STDMETHOD_(HRESULT,get_Thresholds)(THIS_ SAFEARRAY *thresholds) PURE;
    718     STDMETHOD_(HRESULT,AddThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    719     STDMETHOD_(HRESULT,DeleteThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold) PURE;
    720     STDMETHOD_(HRESULT,ModifyThreshold)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) PURE;
    721     STDMETHOD_(HRESULT,CreateThresholdAction)(THIS_ FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) PURE;
    722     STDMETHOD_(HRESULT,EnumThresholdActions)(THIS_ FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) PURE;
    723 
    724     /* IFsrmQuotaTemplate methods */
    725     STDMETHOD_(HRESULT,get_Name)(THIS_ BSTR *name) PURE;
    726     STDMETHOD_(HRESULT,put_Name)(THIS_ BSTR name) PURE;
    727     STDMETHOD_(HRESULT,CopyTemplate)(THIS_ BSTR quotaTemplateName) PURE;
    728     STDMETHOD_(HRESULT,CommitAndUpdateDerived)(THIS_ FsrmCommitOptions commitOptions,FsrmTemplateApplyOptions applyOptions,IFsrmDerivedObjectsResult **derivedObjectsResult) PURE;
    729 
    730     /* IFsrmQuotaTemplateImported methods */
    731     STDMETHOD_(HRESULT,get_OverwriteOnCommit)(THIS_ VARIANT_BOOL *overwrite) PURE;
    732     STDMETHOD_(HRESULT,put_OverwriteOnCommit)(THIS_ VARIANT_BOOL overwrite) PURE;
    733 
    734     END_INTERFACE
    735 };
    736 #ifdef COBJMACROS
    737 #define IFsrmQuotaTemplateImported_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    738 #define IFsrmQuotaTemplateImported_AddRef(This) (This)->lpVtbl->AddRef(This)
    739 #define IFsrmQuotaTemplateImported_Release(This) (This)->lpVtbl->Release(This)
    740 #define IFsrmQuotaTemplateImported_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    741 #define IFsrmQuotaTemplateImported_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    742 #define IFsrmQuotaTemplateImported_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    743 #define IFsrmQuotaTemplateImported_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    744 #define IFsrmQuotaTemplateImported_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
    745 #define IFsrmQuotaTemplateImported_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
    746 #define IFsrmQuotaTemplateImported_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
    747 #define IFsrmQuotaTemplateImported_Delete() (This)->lpVtbl->Delete(This)
    748 #define IFsrmQuotaTemplateImported_Commit() (This)->lpVtbl->Commit(This)
    749 #define IFsrmQuotaTemplateImported_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
    750 #define IFsrmQuotaTemplateImported_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
    751 #define IFsrmQuotaTemplateImported_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
    752 #define IFsrmQuotaTemplateImported_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
    753 #define IFsrmQuotaTemplateImported_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
    754 #define IFsrmQuotaTemplateImported_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
    755 #define IFsrmQuotaTemplateImported_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
    756 #define IFsrmQuotaTemplateImported_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
    757 #define IFsrmQuotaTemplateImported_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
    758 #define IFsrmQuotaTemplateImported_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
    759 #define IFsrmQuotaTemplateImported_get_Name(This,name) (This)->lpVtbl->get_Name(This,name)
    760 #define IFsrmQuotaTemplateImported_put_Name(This,name) (This)->lpVtbl->put_Name(This,name)
    761 #define IFsrmQuotaTemplateImported_CopyTemplate(This,quotaTemplateName) (This)->lpVtbl->CopyTemplate(This,quotaTemplateName)
    762 #define IFsrmQuotaTemplateImported_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) (This)->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult)
    763 #define IFsrmQuotaTemplateImported_get_OverwriteOnCommit(This,overwrite) (This)->lpVtbl->get_OverwriteOnCommit(This,overwrite)
    764 #define IFsrmQuotaTemplateImported_put_OverwriteOnCommit(This,overwrite) (This)->lpVtbl->put_OverwriteOnCommit(This,overwrite)
    765 #endif /*COBJMACROS*/
    766 
    767 #undef  INTERFACE
    768 #define INTERFACE IFsrmQuotaTemplateManager
    769 #ifdef __GNUC__
    770 #warning COM interfaces layout in this header has not been verified.
    771 #warning COM interfaces with incorrect layout may not work at all.
    772 __MINGW_BROKEN_INTERFACE(INTERFACE)
    773 #endif
    774 DECLARE_INTERFACE_(IFsrmQuotaTemplateManager,IDispatch)
    775 {
    776     BEGIN_INTERFACE
    777 
    778     /* IUnknown methods */
    779     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
    780     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    781     STDMETHOD_(ULONG, Release)(THIS) PURE;
    782 
    783     /* IDispatch methods */
    784     STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR*  pctinfo) PURE;
    785     STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int  iTInfo,LCID  lcid,ITypeInfo FAR* FAR*  ppTInfo) PURE;
    786     STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID  riid,OLECHAR FAR* FAR*  rgszNames,unsigned int  cNames,LCID   lcid,DISPID FAR*  rgDispId) PURE;
    787     STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID  dispIdMember,REFIID  riid,LCID  lcid,WORD  wFlags,DISPPARAMS FAR*  pDispParams,VARIANT FAR*  pVarResult,EXCEPINFO FAR*  pExcepInfo,unsigned int FAR*  puArgErr) PURE;
    788 
    789     /* IFsrmQuotaTemplateManager methods */
    790     STDMETHOD_(HRESULT,CreateTemplate)(THIS_ IFsrmQuotaTemplate **quotaTemplate) PURE;
    791     STDMETHOD_(HRESULT,GetTemplate)(THIS_ BSTR name,IFsrmQuotaTemplate **quotaTemplate) PURE;
    792     STDMETHOD_(HRESULT,EnumTemplates)(THIS_ FsrmEnumOptions options,IFsrmCommittableCollection **quotaTemplates) PURE;
    793     STDMETHOD_(HRESULT,ExportTemplates)(THIS_ VARIANT *quotaTemplateNamesArray,BSTR *serializedQuotaTemplates) PURE;
    794     STDMETHOD_(HRESULT,ImportTemplates)(THIS_ BSTR serializedQuotaTemplates,VARIANT *quotaTemplateNamesArray,IFsrmCommittableCollection **quotaTemplates) PURE;
    795 
    796     END_INTERFACE
    797 };
    798 #ifdef COBJMACROS
    799 #define IFsrmQuotaTemplateManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    800 #define IFsrmQuotaTemplateManager_AddRef(This) (This)->lpVtbl->AddRef(This)
    801 #define IFsrmQuotaTemplateManager_Release(This) (This)->lpVtbl->Release(This)
    802 #define IFsrmQuotaTemplateImported_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    803 #define IFsrmQuotaTemplateImported_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    804 #define IFsrmQuotaTemplateImported_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    805 #define IFsrmQuotaTemplateImported_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    806 #define IFsrmQuotaTemplateManager_CreateTemplate(This,quotaTemplate) (This)->lpVtbl->CreateTemplate(This,quotaTemplate)
    807 #define IFsrmQuotaTemplateManager_GetTemplate(This,name,quotaTemplate) (This)->lpVtbl->GetTemplate(This,name,quotaTemplate)
    808 #define IFsrmQuotaTemplateManager_EnumTemplates(This,options,quotaTemplates) (This)->lpVtbl->EnumTemplates(This,options,quotaTemplates)
    809 #define IFsrmQuotaTemplateManager_ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates) (This)->lpVtbl->ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates)
    810 #define IFsrmQuotaTemplateManager_ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates) (This)->lpVtbl->ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates)
    811 #endif /*COBJMACROS*/
    812 
    813 #undef  INTERFACE
    814 #define INTERFACE IFsrmQuotaManager
    815 #ifdef __GNUC__
    816 #warning COM interfaces layout in this header has not been verified.
    817 #warning COM interfaces with incorrect layout may not work at all.
    818 __MINGW_BROKEN_INTERFACE(INTERFACE)
    819 #endif
    820 DECLARE_INTERFACE_(IFsrmQuotaManager,IDispatch)
    821 {
    822     BEGIN_INTERFACE
    823 
    824     /* IUnknown methods */
    825     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
    826     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    827     STDMETHOD_(ULONG, Release)(THIS) PURE;
    828 
    829     /* IDispatch methods */
    830     STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR*  pctinfo) PURE;
    831     STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int  iTInfo,LCID  lcid,ITypeInfo FAR* FAR*  ppTInfo) PURE;
    832     STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID  riid,OLECHAR FAR* FAR*  rgszNames,unsigned int  cNames,LCID   lcid,DISPID FAR*  rgDispId) PURE;
    833     STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID  dispIdMember,REFIID  riid,LCID  lcid,WORD  wFlags,DISPPARAMS FAR*  pDispParams,VARIANT FAR*  pVarResult,EXCEPINFO FAR*  pExcepInfo,unsigned int FAR*  puArgErr) PURE;
    834 
    835     /* IFsrmQuotaManager methods */
    836     STDMETHOD_(HRESULT,get_ActionVariables)(THIS_ SAFEARRAY *variables) PURE;
    837     STDMETHOD_(HRESULT,get_ActionVariableDescriptions)(THIS_ SAFEARRAY *descriptions) PURE;
    838     STDMETHOD_(HRESULT,CreateQuota)(THIS_ BSTR path,IFsrmQuota **quota) PURE;
    839     STDMETHOD_(HRESULT,CreateAutoApplyQuota)(THIS_ BSTR quotaTemplateName,BSTR path,IFsrmAutoApplyQuota **quota) PURE;
    840     STDMETHOD_(HRESULT,GetQuota)(THIS_ BSTR path,IFsrmQuota **quota) PURE;
    841     STDMETHOD_(HRESULT,GetAutoApplyQuota)(THIS_ BSTR path,IFsrmAutoApplyQuota **quota) PURE;
    842     STDMETHOD_(HRESULT,GetRestrictiveQuota)(THIS_ BSTR path,IFsrmQuota **quota) PURE;
    843     STDMETHOD_(HRESULT,EnumQuotas)(THIS_ BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) PURE;
    844     STDMETHOD_(HRESULT,EnumAutoApplyQuotas)(THIS_ BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) PURE;
    845     STDMETHOD_(HRESULT,EnumEffectiveQuotas)(THIS_ BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) PURE;
    846     STDMETHOD_(HRESULT,Scan)(THIS_ BSTR strPath) PURE;
    847     STDMETHOD_(HRESULT,CreateQuotaCollection)(THIS_ IFsrmCommittableCollection **collection) PURE;
    848 
    849     END_INTERFACE
    850 };
    851 #ifdef COBJMACROS
    852 #define IFsrmQuotaManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    853 #define IFsrmQuotaManager_AddRef(This) (This)->lpVtbl->AddRef(This)
    854 #define IFsrmQuotaManager_Release(This) (This)->lpVtbl->Release(This)
    855 #define IFsrmQuotaManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    856 #define IFsrmQuotaManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    857 #define IFsrmQuotaManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    858 #define IFsrmQuotaManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    859 #define IFsrmQuotaManager_get_ActionVariables(This,variables) (This)->lpVtbl->get_ActionVariables(This,variables)
    860 #define IFsrmQuotaManager_get_ActionVariableDescriptions(This,descriptions) (This)->lpVtbl->get_ActionVariableDescriptions(This,descriptions)
    861 #define IFsrmQuotaManager_CreateQuota(This,path,quota) (This)->lpVtbl->CreateQuota(This,path,quota)
    862 #define IFsrmQuotaManager_CreateAutoApplyQuota(This,quotaTemplateName,path,quota) (This)->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota)
    863 #define IFsrmQuotaManager_GetQuota(This,path,quota) (This)->lpVtbl->GetQuota(This,path,quota)
    864 #define IFsrmQuotaManager_GetAutoApplyQuota(This,path,quota) (This)->lpVtbl->GetAutoApplyQuota(This,path,quota)
    865 #define IFsrmQuotaManager_GetRestrictiveQuota(This,path,quota) (This)->lpVtbl->GetRestrictiveQuota(This,path,quota)
    866 #define IFsrmQuotaManager_EnumQuotas(This,path,options,quotas) (This)->lpVtbl->EnumQuotas(This,path,options,quotas)
    867 #define IFsrmQuotaManager_EnumAutoApplyQuotas(This,path,options,quotas) (This)->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas)
    868 #define IFsrmQuotaManager_EnumEffectiveQuotas(This,path,options,quotas) (This)->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas)
    869 #define IFsrmQuotaManager_Scan(This,strPath) (This)->lpVtbl->Scan(This,strPath)
    870 #define IFsrmQuotaManager_CreateQuotaCollection(This,collection) (This)->lpVtbl->CreateQuotaCollection(This,collection)
    871 #endif /*COBJMACROS*/
    872 
    873 #undef  INTERFACE
    874 #define INTERFACE IFsrmQuotaManagerEx
    875 #ifdef __GNUC__
    876 #warning COM interfaces layout in this header has not been verified.
    877 #warning COM interfaces with incorrect layout may not work at all.
    878 __MINGW_BROKEN_INTERFACE(INTERFACE)
    879 #endif
    880 DECLARE_INTERFACE_(IFsrmQuotaManagerEx,IFsrmQuotaManager)
    881 {
    882     BEGIN_INTERFACE
    883 
    884     /* IUnknown methods */
    885     STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
    886     STDMETHOD_(ULONG, AddRef)(THIS) PURE;
    887     STDMETHOD_(ULONG, Release)(THIS) PURE;
    888 
    889     /* IDispatch methods */
    890     STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR*  pctinfo) PURE;
    891     STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int  iTInfo,LCID  lcid,ITypeInfo FAR* FAR*  ppTInfo) PURE;
    892     STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID  riid,OLECHAR FAR* FAR*  rgszNames,unsigned int  cNames,LCID   lcid,DISPID FAR*  rgDispId) PURE;
    893     STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID  dispIdMember,REFIID  riid,LCID  lcid,WORD  wFlags,DISPPARAMS FAR*  pDispParams,VARIANT FAR*  pVarResult,EXCEPINFO FAR*  pExcepInfo,unsigned int FAR*  puArgErr) PURE;
    894 
    895     /* IFsrmQuotaManager methods */
    896     STDMETHOD_(HRESULT,get_ActionVariables)(THIS_ SAFEARRAY *variables) PURE;
    897     STDMETHOD_(HRESULT,get_ActionVariableDescriptions)(THIS_ SAFEARRAY *descriptions) PURE;
    898     STDMETHOD_(HRESULT,CreateQuota)(THIS_ BSTR path,IFsrmQuota **quota) PURE;
    899     STDMETHOD_(HRESULT,CreateAutoApplyQuota)(THIS_ BSTR quotaTemplateName,BSTR path,IFsrmAutoApplyQuota **quota) PURE;
    900     STDMETHOD_(HRESULT,GetQuota)(THIS_ BSTR path,IFsrmQuota **quota) PURE;
    901     STDMETHOD_(HRESULT,GetAutoApplyQuota)(THIS_ BSTR path,IFsrmAutoApplyQuota **quota) PURE;
    902     STDMETHOD_(HRESULT,GetRestrictiveQuota)(THIS_ BSTR path,IFsrmQuota **quota) PURE;
    903     STDMETHOD_(HRESULT,EnumQuotas)(THIS_ BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) PURE;
    904     STDMETHOD_(HRESULT,EnumAutoApplyQuotas)(THIS_ BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) PURE;
    905     STDMETHOD_(HRESULT,EnumEffectiveQuotas)(THIS_ BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) PURE;
    906     STDMETHOD_(HRESULT,Scan)(THIS_ BSTR strPath) PURE;
    907     STDMETHOD_(HRESULT,CreateQuotaCollection)(THIS_ IFsrmCommittableCollection **collection) PURE;
    908 
    909     /* IFsrmQuotaManagerEx methods */
    910     STDMETHOD_(HRESULT,IsAffectedByQuota)(THIS_ BSTR path,FsrmEnumOptions options,VARIANT_BOOL *affected) PURE;
    911 
    912     END_INTERFACE
    913 };
    914 #ifdef COBJMACROS
    915 #define IFsrmQuotaManagerEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    916 #define IFsrmQuotaManagerEx_AddRef(This) (This)->lpVtbl->AddRef(This)
    917 #define IFsrmQuotaManagerEx_Release(This) (This)->lpVtbl->Release(This)
    918 #define IFsrmQuotaManagerEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    919 #define IFsrmQuotaManagerEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    920 #define IFsrmQuotaManagerEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    921 #define IFsrmQuotaManagerEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    922 #define IFsrmQuotaManagerEx_get_ActionVariables(This,variables) (This)->lpVtbl->get_ActionVariables(This,variables)
    923 #define IFsrmQuotaManagerEx_get_ActionVariableDescriptions(This,descriptions) (This)->lpVtbl->get_ActionVariableDescriptions(This,descriptions)
    924 #define IFsrmQuotaManagerEx_CreateQuota(This,path,quota) (This)->lpVtbl->CreateQuota(This,path,quota)
    925 #define IFsrmQuotaManagerEx_CreateAutoApplyQuota(This,quotaTemplateName,path,quota) (This)->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota)
    926 #define IFsrmQuotaManagerEx_GetQuota(This,path,quota) (This)->lpVtbl->GetQuota(This,path,quota)
    927 #define IFsrmQuotaManagerEx_GetAutoApplyQuota(This,path,quota) (This)->lpVtbl->GetAutoApplyQuota(This,path,quota)
    928 #define IFsrmQuotaManagerEx_GetRestrictiveQuota(This,path,quota) (This)->lpVtbl->GetRestrictiveQuota(This,path,quota)
    929 #define IFsrmQuotaManagerEx_EnumQuotas(This,path,options,quotas) (This)->lpVtbl->EnumQuotas(This,path,options,quotas)
    930 #define IFsrmQuotaManagerEx_EnumAutoApplyQuotas(This,path,options,quotas) (This)->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas)
    931 #define IFsrmQuotaManagerEx_EnumEffectiveQuotas(This,path,options,quotas) (This)->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas)
    932 #define IFsrmQuotaManagerEx_Scan(This,strPath) (This)->lpVtbl->Scan(This,strPath)
    933 #define IFsrmQuotaManagerEx_CreateQuotaCollection(This,collection) (This)->lpVtbl->CreateQuotaCollection(This,collection)
    934 #define IFsrmQuotaManagerEx_IsAffectedByQuota(This,path,options,affected) (This)->lpVtbl->IsAffectedByQuota(This,path,options,affected)
    935 #endif /*COBJMACROS*/
    936 
    937 #endif /*(_WIN32_WINNT >= 0x0600)*/
    938 #include <fsrmscreen.h>
    939 #endif /*_INC_FSRMQUOTA*/
    940