fsrmquota.h 116 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754
  1. /*** Autogenerated by WIDL 7.7 from include/fsrmquota.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __fsrmquota_h__
  14. #define __fsrmquota_h__
  15. /* Forward declarations */
  16. #ifndef __IFsrmQuotaManager_FWD_DEFINED__
  17. #define __IFsrmQuotaManager_FWD_DEFINED__
  18. typedef interface IFsrmQuotaManager IFsrmQuotaManager;
  19. #ifdef __cplusplus
  20. interface IFsrmQuotaManager;
  21. #endif /* __cplusplus */
  22. #endif
  23. #ifndef __IFsrmQuotaTemplateManager_FWD_DEFINED__
  24. #define __IFsrmQuotaTemplateManager_FWD_DEFINED__
  25. typedef interface IFsrmQuotaTemplateManager IFsrmQuotaTemplateManager;
  26. #ifdef __cplusplus
  27. interface IFsrmQuotaTemplateManager;
  28. #endif /* __cplusplus */
  29. #endif
  30. #ifndef __IFsrmQuotaBase_FWD_DEFINED__
  31. #define __IFsrmQuotaBase_FWD_DEFINED__
  32. typedef interface IFsrmQuotaBase IFsrmQuotaBase;
  33. #ifdef __cplusplus
  34. interface IFsrmQuotaBase;
  35. #endif /* __cplusplus */
  36. #endif
  37. #ifndef __IFsrmQuotaObject_FWD_DEFINED__
  38. #define __IFsrmQuotaObject_FWD_DEFINED__
  39. typedef interface IFsrmQuotaObject IFsrmQuotaObject;
  40. #ifdef __cplusplus
  41. interface IFsrmQuotaObject;
  42. #endif /* __cplusplus */
  43. #endif
  44. #ifndef __IFsrmQuotaTemplate_FWD_DEFINED__
  45. #define __IFsrmQuotaTemplate_FWD_DEFINED__
  46. typedef interface IFsrmQuotaTemplate IFsrmQuotaTemplate;
  47. #ifdef __cplusplus
  48. interface IFsrmQuotaTemplate;
  49. #endif /* __cplusplus */
  50. #endif
  51. #ifndef __IFsrmQuota_FWD_DEFINED__
  52. #define __IFsrmQuota_FWD_DEFINED__
  53. typedef interface IFsrmQuota IFsrmQuota;
  54. #ifdef __cplusplus
  55. interface IFsrmQuota;
  56. #endif /* __cplusplus */
  57. #endif
  58. #ifndef __IFsrmAutoApplyQuota_FWD_DEFINED__
  59. #define __IFsrmAutoApplyQuota_FWD_DEFINED__
  60. typedef interface IFsrmAutoApplyQuota IFsrmAutoApplyQuota;
  61. #ifdef __cplusplus
  62. interface IFsrmAutoApplyQuota;
  63. #endif /* __cplusplus */
  64. #endif
  65. #ifndef __IFsrmQuotaManagerEx_FWD_DEFINED__
  66. #define __IFsrmQuotaManagerEx_FWD_DEFINED__
  67. typedef interface IFsrmQuotaManagerEx IFsrmQuotaManagerEx;
  68. #ifdef __cplusplus
  69. interface IFsrmQuotaManagerEx;
  70. #endif /* __cplusplus */
  71. #endif
  72. #ifndef __IFsrmQuotaTemplateImported_FWD_DEFINED__
  73. #define __IFsrmQuotaTemplateImported_FWD_DEFINED__
  74. typedef interface IFsrmQuotaTemplateImported IFsrmQuotaTemplateImported;
  75. #ifdef __cplusplus
  76. interface IFsrmQuotaTemplateImported;
  77. #endif /* __cplusplus */
  78. #endif
  79. /* Headers for imported files */
  80. #include <oaidl.h>
  81. #include <fsrmenums.h>
  82. #include <fsrm.h>
  83. #ifdef __cplusplus
  84. extern "C" {
  85. #endif
  86. #include <winapifamily.h>
  87. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  88. #ifndef __IFsrmAutoApplyQuota_FWD_DEFINED__
  89. #define __IFsrmAutoApplyQuota_FWD_DEFINED__
  90. typedef interface IFsrmAutoApplyQuota IFsrmAutoApplyQuota;
  91. #ifdef __cplusplus
  92. interface IFsrmAutoApplyQuota;
  93. #endif /* __cplusplus */
  94. #endif
  95. #ifndef __IFsrmQuota_FWD_DEFINED__
  96. #define __IFsrmQuota_FWD_DEFINED__
  97. typedef interface IFsrmQuota IFsrmQuota;
  98. #ifdef __cplusplus
  99. interface IFsrmQuota;
  100. #endif /* __cplusplus */
  101. #endif
  102. #ifndef __IFsrmQuotaBase_FWD_DEFINED__
  103. #define __IFsrmQuotaBase_FWD_DEFINED__
  104. typedef interface IFsrmQuotaBase IFsrmQuotaBase;
  105. #ifdef __cplusplus
  106. interface IFsrmQuotaBase;
  107. #endif /* __cplusplus */
  108. #endif
  109. #ifndef __IFsrmQuotaObject_FWD_DEFINED__
  110. #define __IFsrmQuotaObject_FWD_DEFINED__
  111. typedef interface IFsrmQuotaObject IFsrmQuotaObject;
  112. #ifdef __cplusplus
  113. interface IFsrmQuotaObject;
  114. #endif /* __cplusplus */
  115. #endif
  116. #ifndef __IFsrmQuotaManager_FWD_DEFINED__
  117. #define __IFsrmQuotaManager_FWD_DEFINED__
  118. typedef interface IFsrmQuotaManager IFsrmQuotaManager;
  119. #ifdef __cplusplus
  120. interface IFsrmQuotaManager;
  121. #endif /* __cplusplus */
  122. #endif
  123. #ifndef __IFsrmQuotaTemplate_FWD_DEFINED__
  124. #define __IFsrmQuotaTemplate_FWD_DEFINED__
  125. typedef interface IFsrmQuotaTemplate IFsrmQuotaTemplate;
  126. #ifdef __cplusplus
  127. interface IFsrmQuotaTemplate;
  128. #endif /* __cplusplus */
  129. #endif
  130. #ifndef __IFsrmQuotaTemplateImported_FWD_DEFINED__
  131. #define __IFsrmQuotaTemplateImported_FWD_DEFINED__
  132. typedef interface IFsrmQuotaTemplateImported IFsrmQuotaTemplateImported;
  133. #ifdef __cplusplus
  134. interface IFsrmQuotaTemplateImported;
  135. #endif /* __cplusplus */
  136. #endif
  137. #ifndef __IFsrmQuotaTemplateManager_FWD_DEFINED__
  138. #define __IFsrmQuotaTemplateManager_FWD_DEFINED__
  139. typedef interface IFsrmQuotaTemplateManager IFsrmQuotaTemplateManager;
  140. #ifdef __cplusplus
  141. interface IFsrmQuotaTemplateManager;
  142. #endif /* __cplusplus */
  143. #endif
  144. typedef LONG FSRM_QUOTA_THRESHOLD;
  145. #define FSRM_DISPID_QUOTA_BASE (FSRM_DISPID_FEATURE_QUOTA | 0x100000)
  146. #define FSRM_DISPID_QUOTA_OBJECT (FSRM_DISPID_QUOTA_BASE | 0x10000)
  147. #define FSRM_DISPID_QUOTA (FSRM_DISPID_QUOTA_OBJECT | 0x1000)
  148. #define FSRM_DISPID_AUTOAPPLYQUOTA (FSRM_DISPID_QUOTA_OBJECT | 0x2000)
  149. #define FSRM_DISPID_QUOTA_TEMPLATE (FSRM_DISPID_QUOTA_BASE | 0x20000)
  150. #define FSRM_DISPID_QUOTA_TEMPLATE_IMPORTED (FSRM_DISPID_QUOTA_TEMPLATE | 0x1000)
  151. #define FSRM_DISPID_QUOTA_MANAGER (FSRM_DISPID_FEATURE_QUOTA | 0x200000)
  152. #define FSRM_DISPID_QUOTA_TEMPLATE_MANAGER (FSRM_DISPID_FEATURE_QUOTA | 0x300000)
  153. #define FSRM_DISPID_QUOTA_MANAGER_EX (FSRM_DISPID_FEATURE_QUOTA | 0x400000)
  154. #define FsrmMaxNumberThresholds (16)
  155. #define FsrmMinThresholdValue (1)
  156. #define FsrmMaxThresholdValue (250)
  157. #define FsrmMinQuotaLimit (1024)
  158. #define FsrmMaxExcludeFolders (32)
  159. /*****************************************************************************
  160. * IFsrmQuotaManager interface
  161. */
  162. #ifndef __IFsrmQuotaManager_INTERFACE_DEFINED__
  163. #define __IFsrmQuotaManager_INTERFACE_DEFINED__
  164. DEFINE_GUID(IID_IFsrmQuotaManager, 0x8bb68c7d, 0x19d8, 0x4ffb, 0x80,0x9e, 0xbe,0x4f,0xc1,0x73,0x40,0x14);
  165. #if defined(__cplusplus) && !defined(CINTERFACE)
  166. MIDL_INTERFACE("8bb68c7d-19d8-4ffb-809e-be4fc1734014")
  167. IFsrmQuotaManager : public IDispatch
  168. {
  169. virtual HRESULT STDMETHODCALLTYPE get_ActionVariables(
  170. SAFEARRAY **variables) = 0;
  171. virtual HRESULT STDMETHODCALLTYPE get_ActionVariableDescriptions(
  172. SAFEARRAY **descriptions) = 0;
  173. virtual HRESULT STDMETHODCALLTYPE CreateQuota(
  174. BSTR path,
  175. IFsrmQuota **quota) = 0;
  176. virtual HRESULT STDMETHODCALLTYPE CreateAutoApplyQuota(
  177. BSTR quotaTemplateName,
  178. BSTR path,
  179. IFsrmAutoApplyQuota **quota) = 0;
  180. virtual HRESULT STDMETHODCALLTYPE GetQuota(
  181. BSTR path,
  182. IFsrmQuota **quota) = 0;
  183. virtual HRESULT STDMETHODCALLTYPE GetAutoApplyQuota(
  184. BSTR path,
  185. IFsrmAutoApplyQuota **quota) = 0;
  186. virtual HRESULT STDMETHODCALLTYPE GetRestrictiveQuota(
  187. BSTR path,
  188. IFsrmQuota **quota) = 0;
  189. virtual HRESULT STDMETHODCALLTYPE EnumQuotas(
  190. BSTR path,
  191. FsrmEnumOptions options,
  192. IFsrmCommittableCollection **quotas) = 0;
  193. virtual HRESULT STDMETHODCALLTYPE EnumAutoApplyQuotas(
  194. BSTR path,
  195. FsrmEnumOptions options,
  196. IFsrmCommittableCollection **quotas) = 0;
  197. virtual HRESULT STDMETHODCALLTYPE EnumEffectiveQuotas(
  198. BSTR path,
  199. FsrmEnumOptions options,
  200. IFsrmCommittableCollection **quotas) = 0;
  201. virtual HRESULT STDMETHODCALLTYPE Scan(
  202. BSTR strPath) = 0;
  203. virtual HRESULT STDMETHODCALLTYPE CreateQuotaCollection(
  204. IFsrmCommittableCollection **collection) = 0;
  205. };
  206. #ifdef __CRT_UUID_DECL
  207. __CRT_UUID_DECL(IFsrmQuotaManager, 0x8bb68c7d, 0x19d8, 0x4ffb, 0x80,0x9e, 0xbe,0x4f,0xc1,0x73,0x40,0x14)
  208. #endif
  209. #else
  210. typedef struct IFsrmQuotaManagerVtbl {
  211. BEGIN_INTERFACE
  212. /*** IUnknown methods ***/
  213. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  214. IFsrmQuotaManager *This,
  215. REFIID riid,
  216. void **ppvObject);
  217. ULONG (STDMETHODCALLTYPE *AddRef)(
  218. IFsrmQuotaManager *This);
  219. ULONG (STDMETHODCALLTYPE *Release)(
  220. IFsrmQuotaManager *This);
  221. /*** IDispatch methods ***/
  222. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  223. IFsrmQuotaManager *This,
  224. UINT *pctinfo);
  225. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  226. IFsrmQuotaManager *This,
  227. UINT iTInfo,
  228. LCID lcid,
  229. ITypeInfo **ppTInfo);
  230. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  231. IFsrmQuotaManager *This,
  232. REFIID riid,
  233. LPOLESTR *rgszNames,
  234. UINT cNames,
  235. LCID lcid,
  236. DISPID *rgDispId);
  237. HRESULT (STDMETHODCALLTYPE *Invoke)(
  238. IFsrmQuotaManager *This,
  239. DISPID dispIdMember,
  240. REFIID riid,
  241. LCID lcid,
  242. WORD wFlags,
  243. DISPPARAMS *pDispParams,
  244. VARIANT *pVarResult,
  245. EXCEPINFO *pExcepInfo,
  246. UINT *puArgErr);
  247. /*** IFsrmQuotaManager methods ***/
  248. HRESULT (STDMETHODCALLTYPE *get_ActionVariables)(
  249. IFsrmQuotaManager *This,
  250. SAFEARRAY **variables);
  251. HRESULT (STDMETHODCALLTYPE *get_ActionVariableDescriptions)(
  252. IFsrmQuotaManager *This,
  253. SAFEARRAY **descriptions);
  254. HRESULT (STDMETHODCALLTYPE *CreateQuota)(
  255. IFsrmQuotaManager *This,
  256. BSTR path,
  257. IFsrmQuota **quota);
  258. HRESULT (STDMETHODCALLTYPE *CreateAutoApplyQuota)(
  259. IFsrmQuotaManager *This,
  260. BSTR quotaTemplateName,
  261. BSTR path,
  262. IFsrmAutoApplyQuota **quota);
  263. HRESULT (STDMETHODCALLTYPE *GetQuota)(
  264. IFsrmQuotaManager *This,
  265. BSTR path,
  266. IFsrmQuota **quota);
  267. HRESULT (STDMETHODCALLTYPE *GetAutoApplyQuota)(
  268. IFsrmQuotaManager *This,
  269. BSTR path,
  270. IFsrmAutoApplyQuota **quota);
  271. HRESULT (STDMETHODCALLTYPE *GetRestrictiveQuota)(
  272. IFsrmQuotaManager *This,
  273. BSTR path,
  274. IFsrmQuota **quota);
  275. HRESULT (STDMETHODCALLTYPE *EnumQuotas)(
  276. IFsrmQuotaManager *This,
  277. BSTR path,
  278. FsrmEnumOptions options,
  279. IFsrmCommittableCollection **quotas);
  280. HRESULT (STDMETHODCALLTYPE *EnumAutoApplyQuotas)(
  281. IFsrmQuotaManager *This,
  282. BSTR path,
  283. FsrmEnumOptions options,
  284. IFsrmCommittableCollection **quotas);
  285. HRESULT (STDMETHODCALLTYPE *EnumEffectiveQuotas)(
  286. IFsrmQuotaManager *This,
  287. BSTR path,
  288. FsrmEnumOptions options,
  289. IFsrmCommittableCollection **quotas);
  290. HRESULT (STDMETHODCALLTYPE *Scan)(
  291. IFsrmQuotaManager *This,
  292. BSTR strPath);
  293. HRESULT (STDMETHODCALLTYPE *CreateQuotaCollection)(
  294. IFsrmQuotaManager *This,
  295. IFsrmCommittableCollection **collection);
  296. END_INTERFACE
  297. } IFsrmQuotaManagerVtbl;
  298. interface IFsrmQuotaManager {
  299. CONST_VTBL IFsrmQuotaManagerVtbl* lpVtbl;
  300. };
  301. #ifdef COBJMACROS
  302. #ifndef WIDL_C_INLINE_WRAPPERS
  303. /*** IUnknown methods ***/
  304. #define IFsrmQuotaManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  305. #define IFsrmQuotaManager_AddRef(This) (This)->lpVtbl->AddRef(This)
  306. #define IFsrmQuotaManager_Release(This) (This)->lpVtbl->Release(This)
  307. /*** IDispatch methods ***/
  308. #define IFsrmQuotaManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  309. #define IFsrmQuotaManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  310. #define IFsrmQuotaManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  311. #define IFsrmQuotaManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  312. /*** IFsrmQuotaManager methods ***/
  313. #define IFsrmQuotaManager_get_ActionVariables(This,variables) (This)->lpVtbl->get_ActionVariables(This,variables)
  314. #define IFsrmQuotaManager_get_ActionVariableDescriptions(This,descriptions) (This)->lpVtbl->get_ActionVariableDescriptions(This,descriptions)
  315. #define IFsrmQuotaManager_CreateQuota(This,path,quota) (This)->lpVtbl->CreateQuota(This,path,quota)
  316. #define IFsrmQuotaManager_CreateAutoApplyQuota(This,quotaTemplateName,path,quota) (This)->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota)
  317. #define IFsrmQuotaManager_GetQuota(This,path,quota) (This)->lpVtbl->GetQuota(This,path,quota)
  318. #define IFsrmQuotaManager_GetAutoApplyQuota(This,path,quota) (This)->lpVtbl->GetAutoApplyQuota(This,path,quota)
  319. #define IFsrmQuotaManager_GetRestrictiveQuota(This,path,quota) (This)->lpVtbl->GetRestrictiveQuota(This,path,quota)
  320. #define IFsrmQuotaManager_EnumQuotas(This,path,options,quotas) (This)->lpVtbl->EnumQuotas(This,path,options,quotas)
  321. #define IFsrmQuotaManager_EnumAutoApplyQuotas(This,path,options,quotas) (This)->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas)
  322. #define IFsrmQuotaManager_EnumEffectiveQuotas(This,path,options,quotas) (This)->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas)
  323. #define IFsrmQuotaManager_Scan(This,strPath) (This)->lpVtbl->Scan(This,strPath)
  324. #define IFsrmQuotaManager_CreateQuotaCollection(This,collection) (This)->lpVtbl->CreateQuotaCollection(This,collection)
  325. #else
  326. /*** IUnknown methods ***/
  327. static FORCEINLINE HRESULT IFsrmQuotaManager_QueryInterface(IFsrmQuotaManager* This,REFIID riid,void **ppvObject) {
  328. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  329. }
  330. static FORCEINLINE ULONG IFsrmQuotaManager_AddRef(IFsrmQuotaManager* This) {
  331. return This->lpVtbl->AddRef(This);
  332. }
  333. static FORCEINLINE ULONG IFsrmQuotaManager_Release(IFsrmQuotaManager* This) {
  334. return This->lpVtbl->Release(This);
  335. }
  336. /*** IDispatch methods ***/
  337. static FORCEINLINE HRESULT IFsrmQuotaManager_GetTypeInfoCount(IFsrmQuotaManager* This,UINT *pctinfo) {
  338. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  339. }
  340. static FORCEINLINE HRESULT IFsrmQuotaManager_GetTypeInfo(IFsrmQuotaManager* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  341. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  342. }
  343. static FORCEINLINE HRESULT IFsrmQuotaManager_GetIDsOfNames(IFsrmQuotaManager* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  344. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  345. }
  346. static FORCEINLINE HRESULT IFsrmQuotaManager_Invoke(IFsrmQuotaManager* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  347. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  348. }
  349. /*** IFsrmQuotaManager methods ***/
  350. static FORCEINLINE HRESULT IFsrmQuotaManager_get_ActionVariables(IFsrmQuotaManager* This,SAFEARRAY **variables) {
  351. return This->lpVtbl->get_ActionVariables(This,variables);
  352. }
  353. static FORCEINLINE HRESULT IFsrmQuotaManager_get_ActionVariableDescriptions(IFsrmQuotaManager* This,SAFEARRAY **descriptions) {
  354. return This->lpVtbl->get_ActionVariableDescriptions(This,descriptions);
  355. }
  356. static FORCEINLINE HRESULT IFsrmQuotaManager_CreateQuota(IFsrmQuotaManager* This,BSTR path,IFsrmQuota **quota) {
  357. return This->lpVtbl->CreateQuota(This,path,quota);
  358. }
  359. static FORCEINLINE HRESULT IFsrmQuotaManager_CreateAutoApplyQuota(IFsrmQuotaManager* This,BSTR quotaTemplateName,BSTR path,IFsrmAutoApplyQuota **quota) {
  360. return This->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota);
  361. }
  362. static FORCEINLINE HRESULT IFsrmQuotaManager_GetQuota(IFsrmQuotaManager* This,BSTR path,IFsrmQuota **quota) {
  363. return This->lpVtbl->GetQuota(This,path,quota);
  364. }
  365. static FORCEINLINE HRESULT IFsrmQuotaManager_GetAutoApplyQuota(IFsrmQuotaManager* This,BSTR path,IFsrmAutoApplyQuota **quota) {
  366. return This->lpVtbl->GetAutoApplyQuota(This,path,quota);
  367. }
  368. static FORCEINLINE HRESULT IFsrmQuotaManager_GetRestrictiveQuota(IFsrmQuotaManager* This,BSTR path,IFsrmQuota **quota) {
  369. return This->lpVtbl->GetRestrictiveQuota(This,path,quota);
  370. }
  371. static FORCEINLINE HRESULT IFsrmQuotaManager_EnumQuotas(IFsrmQuotaManager* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
  372. return This->lpVtbl->EnumQuotas(This,path,options,quotas);
  373. }
  374. static FORCEINLINE HRESULT IFsrmQuotaManager_EnumAutoApplyQuotas(IFsrmQuotaManager* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
  375. return This->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas);
  376. }
  377. static FORCEINLINE HRESULT IFsrmQuotaManager_EnumEffectiveQuotas(IFsrmQuotaManager* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
  378. return This->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas);
  379. }
  380. static FORCEINLINE HRESULT IFsrmQuotaManager_Scan(IFsrmQuotaManager* This,BSTR strPath) {
  381. return This->lpVtbl->Scan(This,strPath);
  382. }
  383. static FORCEINLINE HRESULT IFsrmQuotaManager_CreateQuotaCollection(IFsrmQuotaManager* This,IFsrmCommittableCollection **collection) {
  384. return This->lpVtbl->CreateQuotaCollection(This,collection);
  385. }
  386. #endif
  387. #endif
  388. #endif
  389. #endif /* __IFsrmQuotaManager_INTERFACE_DEFINED__ */
  390. /*****************************************************************************
  391. * IFsrmQuotaTemplateManager interface
  392. */
  393. #ifndef __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__
  394. #define __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__
  395. DEFINE_GUID(IID_IFsrmQuotaTemplateManager, 0x4173ac41, 0x172d, 0x4d52, 0x96,0x3c, 0xfd,0xc7,0xe4,0x15,0xf7,0x17);
  396. #if defined(__cplusplus) && !defined(CINTERFACE)
  397. MIDL_INTERFACE("4173ac41-172d-4d52-963c-fdc7e415f717")
  398. IFsrmQuotaTemplateManager : public IDispatch
  399. {
  400. virtual HRESULT STDMETHODCALLTYPE CreateTemplate(
  401. IFsrmQuotaTemplate **quotaTemplate) = 0;
  402. virtual HRESULT STDMETHODCALLTYPE GetTemplate(
  403. BSTR name,
  404. IFsrmQuotaTemplate **quotaTemplate) = 0;
  405. virtual HRESULT STDMETHODCALLTYPE EnumTemplates(
  406. FsrmEnumOptions options,
  407. IFsrmCommittableCollection **quotaTemplates) = 0;
  408. virtual HRESULT STDMETHODCALLTYPE ExportTemplates(
  409. VARIANT *quotaTemplateNamesArray,
  410. BSTR *serializedQuotaTemplates) = 0;
  411. virtual HRESULT STDMETHODCALLTYPE ImportTemplates(
  412. BSTR serializedQuotaTemplates,
  413. VARIANT *quotaTemplateNamesArray,
  414. IFsrmCommittableCollection **quotaTemplates) = 0;
  415. };
  416. #ifdef __CRT_UUID_DECL
  417. __CRT_UUID_DECL(IFsrmQuotaTemplateManager, 0x4173ac41, 0x172d, 0x4d52, 0x96,0x3c, 0xfd,0xc7,0xe4,0x15,0xf7,0x17)
  418. #endif
  419. #else
  420. typedef struct IFsrmQuotaTemplateManagerVtbl {
  421. BEGIN_INTERFACE
  422. /*** IUnknown methods ***/
  423. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  424. IFsrmQuotaTemplateManager *This,
  425. REFIID riid,
  426. void **ppvObject);
  427. ULONG (STDMETHODCALLTYPE *AddRef)(
  428. IFsrmQuotaTemplateManager *This);
  429. ULONG (STDMETHODCALLTYPE *Release)(
  430. IFsrmQuotaTemplateManager *This);
  431. /*** IDispatch methods ***/
  432. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  433. IFsrmQuotaTemplateManager *This,
  434. UINT *pctinfo);
  435. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  436. IFsrmQuotaTemplateManager *This,
  437. UINT iTInfo,
  438. LCID lcid,
  439. ITypeInfo **ppTInfo);
  440. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  441. IFsrmQuotaTemplateManager *This,
  442. REFIID riid,
  443. LPOLESTR *rgszNames,
  444. UINT cNames,
  445. LCID lcid,
  446. DISPID *rgDispId);
  447. HRESULT (STDMETHODCALLTYPE *Invoke)(
  448. IFsrmQuotaTemplateManager *This,
  449. DISPID dispIdMember,
  450. REFIID riid,
  451. LCID lcid,
  452. WORD wFlags,
  453. DISPPARAMS *pDispParams,
  454. VARIANT *pVarResult,
  455. EXCEPINFO *pExcepInfo,
  456. UINT *puArgErr);
  457. /*** IFsrmQuotaTemplateManager methods ***/
  458. HRESULT (STDMETHODCALLTYPE *CreateTemplate)(
  459. IFsrmQuotaTemplateManager *This,
  460. IFsrmQuotaTemplate **quotaTemplate);
  461. HRESULT (STDMETHODCALLTYPE *GetTemplate)(
  462. IFsrmQuotaTemplateManager *This,
  463. BSTR name,
  464. IFsrmQuotaTemplate **quotaTemplate);
  465. HRESULT (STDMETHODCALLTYPE *EnumTemplates)(
  466. IFsrmQuotaTemplateManager *This,
  467. FsrmEnumOptions options,
  468. IFsrmCommittableCollection **quotaTemplates);
  469. HRESULT (STDMETHODCALLTYPE *ExportTemplates)(
  470. IFsrmQuotaTemplateManager *This,
  471. VARIANT *quotaTemplateNamesArray,
  472. BSTR *serializedQuotaTemplates);
  473. HRESULT (STDMETHODCALLTYPE *ImportTemplates)(
  474. IFsrmQuotaTemplateManager *This,
  475. BSTR serializedQuotaTemplates,
  476. VARIANT *quotaTemplateNamesArray,
  477. IFsrmCommittableCollection **quotaTemplates);
  478. END_INTERFACE
  479. } IFsrmQuotaTemplateManagerVtbl;
  480. interface IFsrmQuotaTemplateManager {
  481. CONST_VTBL IFsrmQuotaTemplateManagerVtbl* lpVtbl;
  482. };
  483. #ifdef COBJMACROS
  484. #ifndef WIDL_C_INLINE_WRAPPERS
  485. /*** IUnknown methods ***/
  486. #define IFsrmQuotaTemplateManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  487. #define IFsrmQuotaTemplateManager_AddRef(This) (This)->lpVtbl->AddRef(This)
  488. #define IFsrmQuotaTemplateManager_Release(This) (This)->lpVtbl->Release(This)
  489. /*** IDispatch methods ***/
  490. #define IFsrmQuotaTemplateManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  491. #define IFsrmQuotaTemplateManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  492. #define IFsrmQuotaTemplateManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  493. #define IFsrmQuotaTemplateManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  494. /*** IFsrmQuotaTemplateManager methods ***/
  495. #define IFsrmQuotaTemplateManager_CreateTemplate(This,quotaTemplate) (This)->lpVtbl->CreateTemplate(This,quotaTemplate)
  496. #define IFsrmQuotaTemplateManager_GetTemplate(This,name,quotaTemplate) (This)->lpVtbl->GetTemplate(This,name,quotaTemplate)
  497. #define IFsrmQuotaTemplateManager_EnumTemplates(This,options,quotaTemplates) (This)->lpVtbl->EnumTemplates(This,options,quotaTemplates)
  498. #define IFsrmQuotaTemplateManager_ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates) (This)->lpVtbl->ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates)
  499. #define IFsrmQuotaTemplateManager_ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates) (This)->lpVtbl->ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates)
  500. #else
  501. /*** IUnknown methods ***/
  502. static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_QueryInterface(IFsrmQuotaTemplateManager* This,REFIID riid,void **ppvObject) {
  503. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  504. }
  505. static FORCEINLINE ULONG IFsrmQuotaTemplateManager_AddRef(IFsrmQuotaTemplateManager* This) {
  506. return This->lpVtbl->AddRef(This);
  507. }
  508. static FORCEINLINE ULONG IFsrmQuotaTemplateManager_Release(IFsrmQuotaTemplateManager* This) {
  509. return This->lpVtbl->Release(This);
  510. }
  511. /*** IDispatch methods ***/
  512. static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetTypeInfoCount(IFsrmQuotaTemplateManager* This,UINT *pctinfo) {
  513. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  514. }
  515. static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetTypeInfo(IFsrmQuotaTemplateManager* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  516. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  517. }
  518. static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetIDsOfNames(IFsrmQuotaTemplateManager* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  519. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  520. }
  521. static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_Invoke(IFsrmQuotaTemplateManager* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  522. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  523. }
  524. /*** IFsrmQuotaTemplateManager methods ***/
  525. static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_CreateTemplate(IFsrmQuotaTemplateManager* This,IFsrmQuotaTemplate **quotaTemplate) {
  526. return This->lpVtbl->CreateTemplate(This,quotaTemplate);
  527. }
  528. static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetTemplate(IFsrmQuotaTemplateManager* This,BSTR name,IFsrmQuotaTemplate **quotaTemplate) {
  529. return This->lpVtbl->GetTemplate(This,name,quotaTemplate);
  530. }
  531. static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_EnumTemplates(IFsrmQuotaTemplateManager* This,FsrmEnumOptions options,IFsrmCommittableCollection **quotaTemplates) {
  532. return This->lpVtbl->EnumTemplates(This,options,quotaTemplates);
  533. }
  534. static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_ExportTemplates(IFsrmQuotaTemplateManager* This,VARIANT *quotaTemplateNamesArray,BSTR *serializedQuotaTemplates) {
  535. return This->lpVtbl->ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates);
  536. }
  537. static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_ImportTemplates(IFsrmQuotaTemplateManager* This,BSTR serializedQuotaTemplates,VARIANT *quotaTemplateNamesArray,IFsrmCommittableCollection **quotaTemplates) {
  538. return This->lpVtbl->ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates);
  539. }
  540. #endif
  541. #endif
  542. #endif
  543. #endif /* __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__ */
  544. /*****************************************************************************
  545. * IFsrmQuotaBase interface
  546. */
  547. #ifndef __IFsrmQuotaBase_INTERFACE_DEFINED__
  548. #define __IFsrmQuotaBase_INTERFACE_DEFINED__
  549. DEFINE_GUID(IID_IFsrmQuotaBase, 0x1568a795, 0x3924, 0x4118, 0xb7,0x4b, 0x68,0xd8,0xf0,0xfa,0x5d,0xaf);
  550. #if defined(__cplusplus) && !defined(CINTERFACE)
  551. MIDL_INTERFACE("1568a795-3924-4118-b74b-68d8f0fa5daf")
  552. IFsrmQuotaBase : public IFsrmObject
  553. {
  554. virtual HRESULT STDMETHODCALLTYPE get_QuotaLimit(
  555. VARIANT *quotaLimit) = 0;
  556. virtual HRESULT STDMETHODCALLTYPE put_QuotaLimit(
  557. VARIANT quotaLimit) = 0;
  558. virtual HRESULT STDMETHODCALLTYPE get_QuotaFlags(
  559. LONG *quotaFlags) = 0;
  560. virtual HRESULT STDMETHODCALLTYPE put_QuotaFlags(
  561. LONG quotaFlags) = 0;
  562. virtual HRESULT STDMETHODCALLTYPE get_Thresholds(
  563. SAFEARRAY **thresholds) = 0;
  564. virtual HRESULT STDMETHODCALLTYPE AddThreshold(
  565. FSRM_QUOTA_THRESHOLD threshold) = 0;
  566. virtual HRESULT STDMETHODCALLTYPE DeleteThreshold(
  567. FSRM_QUOTA_THRESHOLD threshold) = 0;
  568. virtual HRESULT STDMETHODCALLTYPE ModifyThreshold(
  569. FSRM_QUOTA_THRESHOLD threshold,
  570. FSRM_QUOTA_THRESHOLD newThreshold) = 0;
  571. virtual HRESULT STDMETHODCALLTYPE CreateThresholdAction(
  572. FSRM_QUOTA_THRESHOLD threshold,
  573. FsrmActionType actionType,
  574. IFsrmAction **action) = 0;
  575. virtual HRESULT STDMETHODCALLTYPE EnumThresholdActions(
  576. FSRM_QUOTA_THRESHOLD threshold,
  577. IFsrmCollection **actions) = 0;
  578. };
  579. #ifdef __CRT_UUID_DECL
  580. __CRT_UUID_DECL(IFsrmQuotaBase, 0x1568a795, 0x3924, 0x4118, 0xb7,0x4b, 0x68,0xd8,0xf0,0xfa,0x5d,0xaf)
  581. #endif
  582. #else
  583. typedef struct IFsrmQuotaBaseVtbl {
  584. BEGIN_INTERFACE
  585. /*** IUnknown methods ***/
  586. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  587. IFsrmQuotaBase *This,
  588. REFIID riid,
  589. void **ppvObject);
  590. ULONG (STDMETHODCALLTYPE *AddRef)(
  591. IFsrmQuotaBase *This);
  592. ULONG (STDMETHODCALLTYPE *Release)(
  593. IFsrmQuotaBase *This);
  594. /*** IDispatch methods ***/
  595. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  596. IFsrmQuotaBase *This,
  597. UINT *pctinfo);
  598. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  599. IFsrmQuotaBase *This,
  600. UINT iTInfo,
  601. LCID lcid,
  602. ITypeInfo **ppTInfo);
  603. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  604. IFsrmQuotaBase *This,
  605. REFIID riid,
  606. LPOLESTR *rgszNames,
  607. UINT cNames,
  608. LCID lcid,
  609. DISPID *rgDispId);
  610. HRESULT (STDMETHODCALLTYPE *Invoke)(
  611. IFsrmQuotaBase *This,
  612. DISPID dispIdMember,
  613. REFIID riid,
  614. LCID lcid,
  615. WORD wFlags,
  616. DISPPARAMS *pDispParams,
  617. VARIANT *pVarResult,
  618. EXCEPINFO *pExcepInfo,
  619. UINT *puArgErr);
  620. /*** IFsrmObject methods ***/
  621. HRESULT (STDMETHODCALLTYPE *get_Id)(
  622. IFsrmQuotaBase *This,
  623. FSRM_OBJECT_ID *id);
  624. HRESULT (STDMETHODCALLTYPE *get_Description)(
  625. IFsrmQuotaBase *This,
  626. BSTR *description);
  627. HRESULT (STDMETHODCALLTYPE *put_Description)(
  628. IFsrmQuotaBase *This,
  629. BSTR description);
  630. HRESULT (STDMETHODCALLTYPE *Delete)(
  631. IFsrmQuotaBase *This);
  632. HRESULT (STDMETHODCALLTYPE *Commit)(
  633. IFsrmQuotaBase *This);
  634. /*** IFsrmQuotaBase methods ***/
  635. HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
  636. IFsrmQuotaBase *This,
  637. VARIANT *quotaLimit);
  638. HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
  639. IFsrmQuotaBase *This,
  640. VARIANT quotaLimit);
  641. HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
  642. IFsrmQuotaBase *This,
  643. LONG *quotaFlags);
  644. HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
  645. IFsrmQuotaBase *This,
  646. LONG quotaFlags);
  647. HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
  648. IFsrmQuotaBase *This,
  649. SAFEARRAY **thresholds);
  650. HRESULT (STDMETHODCALLTYPE *AddThreshold)(
  651. IFsrmQuotaBase *This,
  652. FSRM_QUOTA_THRESHOLD threshold);
  653. HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
  654. IFsrmQuotaBase *This,
  655. FSRM_QUOTA_THRESHOLD threshold);
  656. HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
  657. IFsrmQuotaBase *This,
  658. FSRM_QUOTA_THRESHOLD threshold,
  659. FSRM_QUOTA_THRESHOLD newThreshold);
  660. HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
  661. IFsrmQuotaBase *This,
  662. FSRM_QUOTA_THRESHOLD threshold,
  663. FsrmActionType actionType,
  664. IFsrmAction **action);
  665. HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
  666. IFsrmQuotaBase *This,
  667. FSRM_QUOTA_THRESHOLD threshold,
  668. IFsrmCollection **actions);
  669. END_INTERFACE
  670. } IFsrmQuotaBaseVtbl;
  671. interface IFsrmQuotaBase {
  672. CONST_VTBL IFsrmQuotaBaseVtbl* lpVtbl;
  673. };
  674. #ifdef COBJMACROS
  675. #ifndef WIDL_C_INLINE_WRAPPERS
  676. /*** IUnknown methods ***/
  677. #define IFsrmQuotaBase_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  678. #define IFsrmQuotaBase_AddRef(This) (This)->lpVtbl->AddRef(This)
  679. #define IFsrmQuotaBase_Release(This) (This)->lpVtbl->Release(This)
  680. /*** IDispatch methods ***/
  681. #define IFsrmQuotaBase_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  682. #define IFsrmQuotaBase_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  683. #define IFsrmQuotaBase_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  684. #define IFsrmQuotaBase_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  685. /*** IFsrmObject methods ***/
  686. #define IFsrmQuotaBase_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
  687. #define IFsrmQuotaBase_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
  688. #define IFsrmQuotaBase_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
  689. #define IFsrmQuotaBase_Delete(This) (This)->lpVtbl->Delete(This)
  690. #define IFsrmQuotaBase_Commit(This) (This)->lpVtbl->Commit(This)
  691. /*** IFsrmQuotaBase methods ***/
  692. #define IFsrmQuotaBase_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
  693. #define IFsrmQuotaBase_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
  694. #define IFsrmQuotaBase_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
  695. #define IFsrmQuotaBase_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
  696. #define IFsrmQuotaBase_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
  697. #define IFsrmQuotaBase_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
  698. #define IFsrmQuotaBase_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
  699. #define IFsrmQuotaBase_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
  700. #define IFsrmQuotaBase_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
  701. #define IFsrmQuotaBase_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
  702. #else
  703. /*** IUnknown methods ***/
  704. static FORCEINLINE HRESULT IFsrmQuotaBase_QueryInterface(IFsrmQuotaBase* This,REFIID riid,void **ppvObject) {
  705. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  706. }
  707. static FORCEINLINE ULONG IFsrmQuotaBase_AddRef(IFsrmQuotaBase* This) {
  708. return This->lpVtbl->AddRef(This);
  709. }
  710. static FORCEINLINE ULONG IFsrmQuotaBase_Release(IFsrmQuotaBase* This) {
  711. return This->lpVtbl->Release(This);
  712. }
  713. /*** IDispatch methods ***/
  714. static FORCEINLINE HRESULT IFsrmQuotaBase_GetTypeInfoCount(IFsrmQuotaBase* This,UINT *pctinfo) {
  715. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  716. }
  717. static FORCEINLINE HRESULT IFsrmQuotaBase_GetTypeInfo(IFsrmQuotaBase* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  718. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  719. }
  720. static FORCEINLINE HRESULT IFsrmQuotaBase_GetIDsOfNames(IFsrmQuotaBase* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  721. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  722. }
  723. static FORCEINLINE HRESULT IFsrmQuotaBase_Invoke(IFsrmQuotaBase* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  724. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  725. }
  726. /*** IFsrmObject methods ***/
  727. static FORCEINLINE HRESULT IFsrmQuotaBase_get_Id(IFsrmQuotaBase* This,FSRM_OBJECT_ID *id) {
  728. return This->lpVtbl->get_Id(This,id);
  729. }
  730. static FORCEINLINE HRESULT IFsrmQuotaBase_get_Description(IFsrmQuotaBase* This,BSTR *description) {
  731. return This->lpVtbl->get_Description(This,description);
  732. }
  733. static FORCEINLINE HRESULT IFsrmQuotaBase_put_Description(IFsrmQuotaBase* This,BSTR description) {
  734. return This->lpVtbl->put_Description(This,description);
  735. }
  736. static FORCEINLINE HRESULT IFsrmQuotaBase_Delete(IFsrmQuotaBase* This) {
  737. return This->lpVtbl->Delete(This);
  738. }
  739. static FORCEINLINE HRESULT IFsrmQuotaBase_Commit(IFsrmQuotaBase* This) {
  740. return This->lpVtbl->Commit(This);
  741. }
  742. /*** IFsrmQuotaBase methods ***/
  743. static FORCEINLINE HRESULT IFsrmQuotaBase_get_QuotaLimit(IFsrmQuotaBase* This,VARIANT *quotaLimit) {
  744. return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
  745. }
  746. static FORCEINLINE HRESULT IFsrmQuotaBase_put_QuotaLimit(IFsrmQuotaBase* This,VARIANT quotaLimit) {
  747. return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
  748. }
  749. static FORCEINLINE HRESULT IFsrmQuotaBase_get_QuotaFlags(IFsrmQuotaBase* This,LONG *quotaFlags) {
  750. return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
  751. }
  752. static FORCEINLINE HRESULT IFsrmQuotaBase_put_QuotaFlags(IFsrmQuotaBase* This,LONG quotaFlags) {
  753. return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
  754. }
  755. static FORCEINLINE HRESULT IFsrmQuotaBase_get_Thresholds(IFsrmQuotaBase* This,SAFEARRAY **thresholds) {
  756. return This->lpVtbl->get_Thresholds(This,thresholds);
  757. }
  758. static FORCEINLINE HRESULT IFsrmQuotaBase_AddThreshold(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold) {
  759. return This->lpVtbl->AddThreshold(This,threshold);
  760. }
  761. static FORCEINLINE HRESULT IFsrmQuotaBase_DeleteThreshold(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold) {
  762. return This->lpVtbl->DeleteThreshold(This,threshold);
  763. }
  764. static FORCEINLINE HRESULT IFsrmQuotaBase_ModifyThreshold(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
  765. return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
  766. }
  767. static FORCEINLINE HRESULT IFsrmQuotaBase_CreateThresholdAction(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
  768. return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
  769. }
  770. static FORCEINLINE HRESULT IFsrmQuotaBase_EnumThresholdActions(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
  771. return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
  772. }
  773. #endif
  774. #endif
  775. #endif
  776. #endif /* __IFsrmQuotaBase_INTERFACE_DEFINED__ */
  777. /*****************************************************************************
  778. * IFsrmQuotaObject interface
  779. */
  780. #ifndef __IFsrmQuotaObject_INTERFACE_DEFINED__
  781. #define __IFsrmQuotaObject_INTERFACE_DEFINED__
  782. DEFINE_GUID(IID_IFsrmQuotaObject, 0x42dc3511, 0x61d5, 0x48ae, 0xb6,0xdc, 0x59,0xfc,0x00,0xc0,0xa8,0xd6);
  783. #if defined(__cplusplus) && !defined(CINTERFACE)
  784. MIDL_INTERFACE("42dc3511-61d5-48ae-b6dc-59fc00c0a8d6")
  785. IFsrmQuotaObject : public IFsrmQuotaBase
  786. {
  787. virtual HRESULT STDMETHODCALLTYPE get_Path(
  788. BSTR *path) = 0;
  789. virtual HRESULT STDMETHODCALLTYPE get_UserSid(
  790. BSTR *userSid) = 0;
  791. virtual HRESULT STDMETHODCALLTYPE get_UserAccount(
  792. BSTR *userAccount) = 0;
  793. virtual HRESULT STDMETHODCALLTYPE get_SourceTemplateName(
  794. BSTR *quotaTemplateName) = 0;
  795. virtual HRESULT STDMETHODCALLTYPE get_MatchesSourceTemplate(
  796. VARIANT_BOOL *matches) = 0;
  797. virtual HRESULT STDMETHODCALLTYPE ApplyTemplate(
  798. BSTR quotaTemplateName) = 0;
  799. };
  800. #ifdef __CRT_UUID_DECL
  801. __CRT_UUID_DECL(IFsrmQuotaObject, 0x42dc3511, 0x61d5, 0x48ae, 0xb6,0xdc, 0x59,0xfc,0x00,0xc0,0xa8,0xd6)
  802. #endif
  803. #else
  804. typedef struct IFsrmQuotaObjectVtbl {
  805. BEGIN_INTERFACE
  806. /*** IUnknown methods ***/
  807. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  808. IFsrmQuotaObject *This,
  809. REFIID riid,
  810. void **ppvObject);
  811. ULONG (STDMETHODCALLTYPE *AddRef)(
  812. IFsrmQuotaObject *This);
  813. ULONG (STDMETHODCALLTYPE *Release)(
  814. IFsrmQuotaObject *This);
  815. /*** IDispatch methods ***/
  816. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  817. IFsrmQuotaObject *This,
  818. UINT *pctinfo);
  819. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  820. IFsrmQuotaObject *This,
  821. UINT iTInfo,
  822. LCID lcid,
  823. ITypeInfo **ppTInfo);
  824. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  825. IFsrmQuotaObject *This,
  826. REFIID riid,
  827. LPOLESTR *rgszNames,
  828. UINT cNames,
  829. LCID lcid,
  830. DISPID *rgDispId);
  831. HRESULT (STDMETHODCALLTYPE *Invoke)(
  832. IFsrmQuotaObject *This,
  833. DISPID dispIdMember,
  834. REFIID riid,
  835. LCID lcid,
  836. WORD wFlags,
  837. DISPPARAMS *pDispParams,
  838. VARIANT *pVarResult,
  839. EXCEPINFO *pExcepInfo,
  840. UINT *puArgErr);
  841. /*** IFsrmObject methods ***/
  842. HRESULT (STDMETHODCALLTYPE *get_Id)(
  843. IFsrmQuotaObject *This,
  844. FSRM_OBJECT_ID *id);
  845. HRESULT (STDMETHODCALLTYPE *get_Description)(
  846. IFsrmQuotaObject *This,
  847. BSTR *description);
  848. HRESULT (STDMETHODCALLTYPE *put_Description)(
  849. IFsrmQuotaObject *This,
  850. BSTR description);
  851. HRESULT (STDMETHODCALLTYPE *Delete)(
  852. IFsrmQuotaObject *This);
  853. HRESULT (STDMETHODCALLTYPE *Commit)(
  854. IFsrmQuotaObject *This);
  855. /*** IFsrmQuotaBase methods ***/
  856. HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
  857. IFsrmQuotaObject *This,
  858. VARIANT *quotaLimit);
  859. HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
  860. IFsrmQuotaObject *This,
  861. VARIANT quotaLimit);
  862. HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
  863. IFsrmQuotaObject *This,
  864. LONG *quotaFlags);
  865. HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
  866. IFsrmQuotaObject *This,
  867. LONG quotaFlags);
  868. HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
  869. IFsrmQuotaObject *This,
  870. SAFEARRAY **thresholds);
  871. HRESULT (STDMETHODCALLTYPE *AddThreshold)(
  872. IFsrmQuotaObject *This,
  873. FSRM_QUOTA_THRESHOLD threshold);
  874. HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
  875. IFsrmQuotaObject *This,
  876. FSRM_QUOTA_THRESHOLD threshold);
  877. HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
  878. IFsrmQuotaObject *This,
  879. FSRM_QUOTA_THRESHOLD threshold,
  880. FSRM_QUOTA_THRESHOLD newThreshold);
  881. HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
  882. IFsrmQuotaObject *This,
  883. FSRM_QUOTA_THRESHOLD threshold,
  884. FsrmActionType actionType,
  885. IFsrmAction **action);
  886. HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
  887. IFsrmQuotaObject *This,
  888. FSRM_QUOTA_THRESHOLD threshold,
  889. IFsrmCollection **actions);
  890. /*** IFsrmQuotaObject methods ***/
  891. HRESULT (STDMETHODCALLTYPE *get_Path)(
  892. IFsrmQuotaObject *This,
  893. BSTR *path);
  894. HRESULT (STDMETHODCALLTYPE *get_UserSid)(
  895. IFsrmQuotaObject *This,
  896. BSTR *userSid);
  897. HRESULT (STDMETHODCALLTYPE *get_UserAccount)(
  898. IFsrmQuotaObject *This,
  899. BSTR *userAccount);
  900. HRESULT (STDMETHODCALLTYPE *get_SourceTemplateName)(
  901. IFsrmQuotaObject *This,
  902. BSTR *quotaTemplateName);
  903. HRESULT (STDMETHODCALLTYPE *get_MatchesSourceTemplate)(
  904. IFsrmQuotaObject *This,
  905. VARIANT_BOOL *matches);
  906. HRESULT (STDMETHODCALLTYPE *ApplyTemplate)(
  907. IFsrmQuotaObject *This,
  908. BSTR quotaTemplateName);
  909. END_INTERFACE
  910. } IFsrmQuotaObjectVtbl;
  911. interface IFsrmQuotaObject {
  912. CONST_VTBL IFsrmQuotaObjectVtbl* lpVtbl;
  913. };
  914. #ifdef COBJMACROS
  915. #ifndef WIDL_C_INLINE_WRAPPERS
  916. /*** IUnknown methods ***/
  917. #define IFsrmQuotaObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  918. #define IFsrmQuotaObject_AddRef(This) (This)->lpVtbl->AddRef(This)
  919. #define IFsrmQuotaObject_Release(This) (This)->lpVtbl->Release(This)
  920. /*** IDispatch methods ***/
  921. #define IFsrmQuotaObject_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  922. #define IFsrmQuotaObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  923. #define IFsrmQuotaObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  924. #define IFsrmQuotaObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  925. /*** IFsrmObject methods ***/
  926. #define IFsrmQuotaObject_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
  927. #define IFsrmQuotaObject_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
  928. #define IFsrmQuotaObject_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
  929. #define IFsrmQuotaObject_Delete(This) (This)->lpVtbl->Delete(This)
  930. #define IFsrmQuotaObject_Commit(This) (This)->lpVtbl->Commit(This)
  931. /*** IFsrmQuotaBase methods ***/
  932. #define IFsrmQuotaObject_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
  933. #define IFsrmQuotaObject_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
  934. #define IFsrmQuotaObject_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
  935. #define IFsrmQuotaObject_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
  936. #define IFsrmQuotaObject_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
  937. #define IFsrmQuotaObject_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
  938. #define IFsrmQuotaObject_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
  939. #define IFsrmQuotaObject_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
  940. #define IFsrmQuotaObject_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
  941. #define IFsrmQuotaObject_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
  942. /*** IFsrmQuotaObject methods ***/
  943. #define IFsrmQuotaObject_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
  944. #define IFsrmQuotaObject_get_UserSid(This,userSid) (This)->lpVtbl->get_UserSid(This,userSid)
  945. #define IFsrmQuotaObject_get_UserAccount(This,userAccount) (This)->lpVtbl->get_UserAccount(This,userAccount)
  946. #define IFsrmQuotaObject_get_SourceTemplateName(This,quotaTemplateName) (This)->lpVtbl->get_SourceTemplateName(This,quotaTemplateName)
  947. #define IFsrmQuotaObject_get_MatchesSourceTemplate(This,matches) (This)->lpVtbl->get_MatchesSourceTemplate(This,matches)
  948. #define IFsrmQuotaObject_ApplyTemplate(This,quotaTemplateName) (This)->lpVtbl->ApplyTemplate(This,quotaTemplateName)
  949. #else
  950. /*** IUnknown methods ***/
  951. static FORCEINLINE HRESULT IFsrmQuotaObject_QueryInterface(IFsrmQuotaObject* This,REFIID riid,void **ppvObject) {
  952. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  953. }
  954. static FORCEINLINE ULONG IFsrmQuotaObject_AddRef(IFsrmQuotaObject* This) {
  955. return This->lpVtbl->AddRef(This);
  956. }
  957. static FORCEINLINE ULONG IFsrmQuotaObject_Release(IFsrmQuotaObject* This) {
  958. return This->lpVtbl->Release(This);
  959. }
  960. /*** IDispatch methods ***/
  961. static FORCEINLINE HRESULT IFsrmQuotaObject_GetTypeInfoCount(IFsrmQuotaObject* This,UINT *pctinfo) {
  962. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  963. }
  964. static FORCEINLINE HRESULT IFsrmQuotaObject_GetTypeInfo(IFsrmQuotaObject* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  965. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  966. }
  967. static FORCEINLINE HRESULT IFsrmQuotaObject_GetIDsOfNames(IFsrmQuotaObject* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  968. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  969. }
  970. static FORCEINLINE HRESULT IFsrmQuotaObject_Invoke(IFsrmQuotaObject* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  971. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  972. }
  973. /*** IFsrmObject methods ***/
  974. static FORCEINLINE HRESULT IFsrmQuotaObject_get_Id(IFsrmQuotaObject* This,FSRM_OBJECT_ID *id) {
  975. return This->lpVtbl->get_Id(This,id);
  976. }
  977. static FORCEINLINE HRESULT IFsrmQuotaObject_get_Description(IFsrmQuotaObject* This,BSTR *description) {
  978. return This->lpVtbl->get_Description(This,description);
  979. }
  980. static FORCEINLINE HRESULT IFsrmQuotaObject_put_Description(IFsrmQuotaObject* This,BSTR description) {
  981. return This->lpVtbl->put_Description(This,description);
  982. }
  983. static FORCEINLINE HRESULT IFsrmQuotaObject_Delete(IFsrmQuotaObject* This) {
  984. return This->lpVtbl->Delete(This);
  985. }
  986. static FORCEINLINE HRESULT IFsrmQuotaObject_Commit(IFsrmQuotaObject* This) {
  987. return This->lpVtbl->Commit(This);
  988. }
  989. /*** IFsrmQuotaBase methods ***/
  990. static FORCEINLINE HRESULT IFsrmQuotaObject_get_QuotaLimit(IFsrmQuotaObject* This,VARIANT *quotaLimit) {
  991. return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
  992. }
  993. static FORCEINLINE HRESULT IFsrmQuotaObject_put_QuotaLimit(IFsrmQuotaObject* This,VARIANT quotaLimit) {
  994. return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
  995. }
  996. static FORCEINLINE HRESULT IFsrmQuotaObject_get_QuotaFlags(IFsrmQuotaObject* This,LONG *quotaFlags) {
  997. return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
  998. }
  999. static FORCEINLINE HRESULT IFsrmQuotaObject_put_QuotaFlags(IFsrmQuotaObject* This,LONG quotaFlags) {
  1000. return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
  1001. }
  1002. static FORCEINLINE HRESULT IFsrmQuotaObject_get_Thresholds(IFsrmQuotaObject* This,SAFEARRAY **thresholds) {
  1003. return This->lpVtbl->get_Thresholds(This,thresholds);
  1004. }
  1005. static FORCEINLINE HRESULT IFsrmQuotaObject_AddThreshold(IFsrmQuotaObject* This,FSRM_QUOTA_THRESHOLD threshold) {
  1006. return This->lpVtbl->AddThreshold(This,threshold);
  1007. }
  1008. static FORCEINLINE HRESULT IFsrmQuotaObject_DeleteThreshold(IFsrmQuotaObject* This,FSRM_QUOTA_THRESHOLD threshold) {
  1009. return This->lpVtbl->DeleteThreshold(This,threshold);
  1010. }
  1011. static FORCEINLINE HRESULT IFsrmQuotaObject_ModifyThreshold(IFsrmQuotaObject* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
  1012. return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
  1013. }
  1014. static FORCEINLINE HRESULT IFsrmQuotaObject_CreateThresholdAction(IFsrmQuotaObject* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
  1015. return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
  1016. }
  1017. static FORCEINLINE HRESULT IFsrmQuotaObject_EnumThresholdActions(IFsrmQuotaObject* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
  1018. return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
  1019. }
  1020. /*** IFsrmQuotaObject methods ***/
  1021. static FORCEINLINE HRESULT IFsrmQuotaObject_get_Path(IFsrmQuotaObject* This,BSTR *path) {
  1022. return This->lpVtbl->get_Path(This,path);
  1023. }
  1024. static FORCEINLINE HRESULT IFsrmQuotaObject_get_UserSid(IFsrmQuotaObject* This,BSTR *userSid) {
  1025. return This->lpVtbl->get_UserSid(This,userSid);
  1026. }
  1027. static FORCEINLINE HRESULT IFsrmQuotaObject_get_UserAccount(IFsrmQuotaObject* This,BSTR *userAccount) {
  1028. return This->lpVtbl->get_UserAccount(This,userAccount);
  1029. }
  1030. static FORCEINLINE HRESULT IFsrmQuotaObject_get_SourceTemplateName(IFsrmQuotaObject* This,BSTR *quotaTemplateName) {
  1031. return This->lpVtbl->get_SourceTemplateName(This,quotaTemplateName);
  1032. }
  1033. static FORCEINLINE HRESULT IFsrmQuotaObject_get_MatchesSourceTemplate(IFsrmQuotaObject* This,VARIANT_BOOL *matches) {
  1034. return This->lpVtbl->get_MatchesSourceTemplate(This,matches);
  1035. }
  1036. static FORCEINLINE HRESULT IFsrmQuotaObject_ApplyTemplate(IFsrmQuotaObject* This,BSTR quotaTemplateName) {
  1037. return This->lpVtbl->ApplyTemplate(This,quotaTemplateName);
  1038. }
  1039. #endif
  1040. #endif
  1041. #endif
  1042. #endif /* __IFsrmQuotaObject_INTERFACE_DEFINED__ */
  1043. /*****************************************************************************
  1044. * IFsrmQuotaTemplate interface
  1045. */
  1046. #ifndef __IFsrmQuotaTemplate_INTERFACE_DEFINED__
  1047. #define __IFsrmQuotaTemplate_INTERFACE_DEFINED__
  1048. DEFINE_GUID(IID_IFsrmQuotaTemplate, 0xa2efab31, 0x295e, 0x46bb, 0xb9,0x76, 0xe8,0x6d,0x58,0xb5,0x2e,0x8b);
  1049. #if defined(__cplusplus) && !defined(CINTERFACE)
  1050. MIDL_INTERFACE("a2efab31-295e-46bb-b976-e86d58b52e8b")
  1051. IFsrmQuotaTemplate : public IFsrmQuotaBase
  1052. {
  1053. virtual HRESULT STDMETHODCALLTYPE get_Name(
  1054. BSTR *name) = 0;
  1055. virtual HRESULT STDMETHODCALLTYPE put_Name(
  1056. BSTR name) = 0;
  1057. virtual HRESULT STDMETHODCALLTYPE CopyTemplate(
  1058. BSTR quotaTemplateName) = 0;
  1059. virtual HRESULT STDMETHODCALLTYPE CommitAndUpdateDerived(
  1060. FsrmCommitOptions commitOptions,
  1061. FsrmTemplateApplyOptions applyOptions,
  1062. IFsrmDerivedObjectsResult **derivedObjectsResult) = 0;
  1063. };
  1064. #ifdef __CRT_UUID_DECL
  1065. __CRT_UUID_DECL(IFsrmQuotaTemplate, 0xa2efab31, 0x295e, 0x46bb, 0xb9,0x76, 0xe8,0x6d,0x58,0xb5,0x2e,0x8b)
  1066. #endif
  1067. #else
  1068. typedef struct IFsrmQuotaTemplateVtbl {
  1069. BEGIN_INTERFACE
  1070. /*** IUnknown methods ***/
  1071. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1072. IFsrmQuotaTemplate *This,
  1073. REFIID riid,
  1074. void **ppvObject);
  1075. ULONG (STDMETHODCALLTYPE *AddRef)(
  1076. IFsrmQuotaTemplate *This);
  1077. ULONG (STDMETHODCALLTYPE *Release)(
  1078. IFsrmQuotaTemplate *This);
  1079. /*** IDispatch methods ***/
  1080. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1081. IFsrmQuotaTemplate *This,
  1082. UINT *pctinfo);
  1083. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1084. IFsrmQuotaTemplate *This,
  1085. UINT iTInfo,
  1086. LCID lcid,
  1087. ITypeInfo **ppTInfo);
  1088. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1089. IFsrmQuotaTemplate *This,
  1090. REFIID riid,
  1091. LPOLESTR *rgszNames,
  1092. UINT cNames,
  1093. LCID lcid,
  1094. DISPID *rgDispId);
  1095. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1096. IFsrmQuotaTemplate *This,
  1097. DISPID dispIdMember,
  1098. REFIID riid,
  1099. LCID lcid,
  1100. WORD wFlags,
  1101. DISPPARAMS *pDispParams,
  1102. VARIANT *pVarResult,
  1103. EXCEPINFO *pExcepInfo,
  1104. UINT *puArgErr);
  1105. /*** IFsrmObject methods ***/
  1106. HRESULT (STDMETHODCALLTYPE *get_Id)(
  1107. IFsrmQuotaTemplate *This,
  1108. FSRM_OBJECT_ID *id);
  1109. HRESULT (STDMETHODCALLTYPE *get_Description)(
  1110. IFsrmQuotaTemplate *This,
  1111. BSTR *description);
  1112. HRESULT (STDMETHODCALLTYPE *put_Description)(
  1113. IFsrmQuotaTemplate *This,
  1114. BSTR description);
  1115. HRESULT (STDMETHODCALLTYPE *Delete)(
  1116. IFsrmQuotaTemplate *This);
  1117. HRESULT (STDMETHODCALLTYPE *Commit)(
  1118. IFsrmQuotaTemplate *This);
  1119. /*** IFsrmQuotaBase methods ***/
  1120. HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
  1121. IFsrmQuotaTemplate *This,
  1122. VARIANT *quotaLimit);
  1123. HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
  1124. IFsrmQuotaTemplate *This,
  1125. VARIANT quotaLimit);
  1126. HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
  1127. IFsrmQuotaTemplate *This,
  1128. LONG *quotaFlags);
  1129. HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
  1130. IFsrmQuotaTemplate *This,
  1131. LONG quotaFlags);
  1132. HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
  1133. IFsrmQuotaTemplate *This,
  1134. SAFEARRAY **thresholds);
  1135. HRESULT (STDMETHODCALLTYPE *AddThreshold)(
  1136. IFsrmQuotaTemplate *This,
  1137. FSRM_QUOTA_THRESHOLD threshold);
  1138. HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
  1139. IFsrmQuotaTemplate *This,
  1140. FSRM_QUOTA_THRESHOLD threshold);
  1141. HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
  1142. IFsrmQuotaTemplate *This,
  1143. FSRM_QUOTA_THRESHOLD threshold,
  1144. FSRM_QUOTA_THRESHOLD newThreshold);
  1145. HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
  1146. IFsrmQuotaTemplate *This,
  1147. FSRM_QUOTA_THRESHOLD threshold,
  1148. FsrmActionType actionType,
  1149. IFsrmAction **action);
  1150. HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
  1151. IFsrmQuotaTemplate *This,
  1152. FSRM_QUOTA_THRESHOLD threshold,
  1153. IFsrmCollection **actions);
  1154. /*** IFsrmQuotaTemplate methods ***/
  1155. HRESULT (STDMETHODCALLTYPE *get_Name)(
  1156. IFsrmQuotaTemplate *This,
  1157. BSTR *name);
  1158. HRESULT (STDMETHODCALLTYPE *put_Name)(
  1159. IFsrmQuotaTemplate *This,
  1160. BSTR name);
  1161. HRESULT (STDMETHODCALLTYPE *CopyTemplate)(
  1162. IFsrmQuotaTemplate *This,
  1163. BSTR quotaTemplateName);
  1164. HRESULT (STDMETHODCALLTYPE *CommitAndUpdateDerived)(
  1165. IFsrmQuotaTemplate *This,
  1166. FsrmCommitOptions commitOptions,
  1167. FsrmTemplateApplyOptions applyOptions,
  1168. IFsrmDerivedObjectsResult **derivedObjectsResult);
  1169. END_INTERFACE
  1170. } IFsrmQuotaTemplateVtbl;
  1171. interface IFsrmQuotaTemplate {
  1172. CONST_VTBL IFsrmQuotaTemplateVtbl* lpVtbl;
  1173. };
  1174. #ifdef COBJMACROS
  1175. #ifndef WIDL_C_INLINE_WRAPPERS
  1176. /*** IUnknown methods ***/
  1177. #define IFsrmQuotaTemplate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1178. #define IFsrmQuotaTemplate_AddRef(This) (This)->lpVtbl->AddRef(This)
  1179. #define IFsrmQuotaTemplate_Release(This) (This)->lpVtbl->Release(This)
  1180. /*** IDispatch methods ***/
  1181. #define IFsrmQuotaTemplate_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1182. #define IFsrmQuotaTemplate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1183. #define IFsrmQuotaTemplate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1184. #define IFsrmQuotaTemplate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1185. /*** IFsrmObject methods ***/
  1186. #define IFsrmQuotaTemplate_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
  1187. #define IFsrmQuotaTemplate_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
  1188. #define IFsrmQuotaTemplate_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
  1189. #define IFsrmQuotaTemplate_Delete(This) (This)->lpVtbl->Delete(This)
  1190. #define IFsrmQuotaTemplate_Commit(This) (This)->lpVtbl->Commit(This)
  1191. /*** IFsrmQuotaBase methods ***/
  1192. #define IFsrmQuotaTemplate_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
  1193. #define IFsrmQuotaTemplate_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
  1194. #define IFsrmQuotaTemplate_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
  1195. #define IFsrmQuotaTemplate_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
  1196. #define IFsrmQuotaTemplate_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
  1197. #define IFsrmQuotaTemplate_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
  1198. #define IFsrmQuotaTemplate_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
  1199. #define IFsrmQuotaTemplate_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
  1200. #define IFsrmQuotaTemplate_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
  1201. #define IFsrmQuotaTemplate_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
  1202. /*** IFsrmQuotaTemplate methods ***/
  1203. #define IFsrmQuotaTemplate_get_Name(This,name) (This)->lpVtbl->get_Name(This,name)
  1204. #define IFsrmQuotaTemplate_put_Name(This,name) (This)->lpVtbl->put_Name(This,name)
  1205. #define IFsrmQuotaTemplate_CopyTemplate(This,quotaTemplateName) (This)->lpVtbl->CopyTemplate(This,quotaTemplateName)
  1206. #define IFsrmQuotaTemplate_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) (This)->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult)
  1207. #else
  1208. /*** IUnknown methods ***/
  1209. static FORCEINLINE HRESULT IFsrmQuotaTemplate_QueryInterface(IFsrmQuotaTemplate* This,REFIID riid,void **ppvObject) {
  1210. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1211. }
  1212. static FORCEINLINE ULONG IFsrmQuotaTemplate_AddRef(IFsrmQuotaTemplate* This) {
  1213. return This->lpVtbl->AddRef(This);
  1214. }
  1215. static FORCEINLINE ULONG IFsrmQuotaTemplate_Release(IFsrmQuotaTemplate* This) {
  1216. return This->lpVtbl->Release(This);
  1217. }
  1218. /*** IDispatch methods ***/
  1219. static FORCEINLINE HRESULT IFsrmQuotaTemplate_GetTypeInfoCount(IFsrmQuotaTemplate* This,UINT *pctinfo) {
  1220. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1221. }
  1222. static FORCEINLINE HRESULT IFsrmQuotaTemplate_GetTypeInfo(IFsrmQuotaTemplate* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1223. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1224. }
  1225. static FORCEINLINE HRESULT IFsrmQuotaTemplate_GetIDsOfNames(IFsrmQuotaTemplate* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1226. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1227. }
  1228. static FORCEINLINE HRESULT IFsrmQuotaTemplate_Invoke(IFsrmQuotaTemplate* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1229. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1230. }
  1231. /*** IFsrmObject methods ***/
  1232. static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_Id(IFsrmQuotaTemplate* This,FSRM_OBJECT_ID *id) {
  1233. return This->lpVtbl->get_Id(This,id);
  1234. }
  1235. static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_Description(IFsrmQuotaTemplate* This,BSTR *description) {
  1236. return This->lpVtbl->get_Description(This,description);
  1237. }
  1238. static FORCEINLINE HRESULT IFsrmQuotaTemplate_put_Description(IFsrmQuotaTemplate* This,BSTR description) {
  1239. return This->lpVtbl->put_Description(This,description);
  1240. }
  1241. static FORCEINLINE HRESULT IFsrmQuotaTemplate_Delete(IFsrmQuotaTemplate* This) {
  1242. return This->lpVtbl->Delete(This);
  1243. }
  1244. static FORCEINLINE HRESULT IFsrmQuotaTemplate_Commit(IFsrmQuotaTemplate* This) {
  1245. return This->lpVtbl->Commit(This);
  1246. }
  1247. /*** IFsrmQuotaBase methods ***/
  1248. static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_QuotaLimit(IFsrmQuotaTemplate* This,VARIANT *quotaLimit) {
  1249. return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
  1250. }
  1251. static FORCEINLINE HRESULT IFsrmQuotaTemplate_put_QuotaLimit(IFsrmQuotaTemplate* This,VARIANT quotaLimit) {
  1252. return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
  1253. }
  1254. static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_QuotaFlags(IFsrmQuotaTemplate* This,LONG *quotaFlags) {
  1255. return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
  1256. }
  1257. static FORCEINLINE HRESULT IFsrmQuotaTemplate_put_QuotaFlags(IFsrmQuotaTemplate* This,LONG quotaFlags) {
  1258. return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
  1259. }
  1260. static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_Thresholds(IFsrmQuotaTemplate* This,SAFEARRAY **thresholds) {
  1261. return This->lpVtbl->get_Thresholds(This,thresholds);
  1262. }
  1263. static FORCEINLINE HRESULT IFsrmQuotaTemplate_AddThreshold(IFsrmQuotaTemplate* This,FSRM_QUOTA_THRESHOLD threshold) {
  1264. return This->lpVtbl->AddThreshold(This,threshold);
  1265. }
  1266. static FORCEINLINE HRESULT IFsrmQuotaTemplate_DeleteThreshold(IFsrmQuotaTemplate* This,FSRM_QUOTA_THRESHOLD threshold) {
  1267. return This->lpVtbl->DeleteThreshold(This,threshold);
  1268. }
  1269. static FORCEINLINE HRESULT IFsrmQuotaTemplate_ModifyThreshold(IFsrmQuotaTemplate* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
  1270. return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
  1271. }
  1272. static FORCEINLINE HRESULT IFsrmQuotaTemplate_CreateThresholdAction(IFsrmQuotaTemplate* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
  1273. return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
  1274. }
  1275. static FORCEINLINE HRESULT IFsrmQuotaTemplate_EnumThresholdActions(IFsrmQuotaTemplate* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
  1276. return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
  1277. }
  1278. /*** IFsrmQuotaTemplate methods ***/
  1279. static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_Name(IFsrmQuotaTemplate* This,BSTR *name) {
  1280. return This->lpVtbl->get_Name(This,name);
  1281. }
  1282. static FORCEINLINE HRESULT IFsrmQuotaTemplate_put_Name(IFsrmQuotaTemplate* This,BSTR name) {
  1283. return This->lpVtbl->put_Name(This,name);
  1284. }
  1285. static FORCEINLINE HRESULT IFsrmQuotaTemplate_CopyTemplate(IFsrmQuotaTemplate* This,BSTR quotaTemplateName) {
  1286. return This->lpVtbl->CopyTemplate(This,quotaTemplateName);
  1287. }
  1288. static FORCEINLINE HRESULT IFsrmQuotaTemplate_CommitAndUpdateDerived(IFsrmQuotaTemplate* This,FsrmCommitOptions commitOptions,FsrmTemplateApplyOptions applyOptions,IFsrmDerivedObjectsResult **derivedObjectsResult) {
  1289. return This->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult);
  1290. }
  1291. #endif
  1292. #endif
  1293. #endif
  1294. #endif /* __IFsrmQuotaTemplate_INTERFACE_DEFINED__ */
  1295. /*****************************************************************************
  1296. * IFsrmQuota interface
  1297. */
  1298. #ifndef __IFsrmQuota_INTERFACE_DEFINED__
  1299. #define __IFsrmQuota_INTERFACE_DEFINED__
  1300. DEFINE_GUID(IID_IFsrmQuota, 0x377f739d, 0x9647, 0x4b8e, 0x97,0xd2, 0x5f,0xfc,0xe6,0xd7,0x59,0xcd);
  1301. #if defined(__cplusplus) && !defined(CINTERFACE)
  1302. MIDL_INTERFACE("377f739d-9647-4b8e-97d2-5ffce6d759cd")
  1303. IFsrmQuota : public IFsrmQuotaObject
  1304. {
  1305. virtual HRESULT STDMETHODCALLTYPE get_QuotaUsed(
  1306. VARIANT *used) = 0;
  1307. virtual HRESULT STDMETHODCALLTYPE get_QuotaPeakUsage(
  1308. VARIANT *peakUsage) = 0;
  1309. virtual HRESULT STDMETHODCALLTYPE get_QuotaPeakUsageTime(
  1310. DATE *peakUsageDateTime) = 0;
  1311. virtual HRESULT STDMETHODCALLTYPE ResetPeakUsage(
  1312. ) = 0;
  1313. virtual HRESULT STDMETHODCALLTYPE RefreshUsageProperties(
  1314. ) = 0;
  1315. };
  1316. #ifdef __CRT_UUID_DECL
  1317. __CRT_UUID_DECL(IFsrmQuota, 0x377f739d, 0x9647, 0x4b8e, 0x97,0xd2, 0x5f,0xfc,0xe6,0xd7,0x59,0xcd)
  1318. #endif
  1319. #else
  1320. typedef struct IFsrmQuotaVtbl {
  1321. BEGIN_INTERFACE
  1322. /*** IUnknown methods ***/
  1323. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1324. IFsrmQuota *This,
  1325. REFIID riid,
  1326. void **ppvObject);
  1327. ULONG (STDMETHODCALLTYPE *AddRef)(
  1328. IFsrmQuota *This);
  1329. ULONG (STDMETHODCALLTYPE *Release)(
  1330. IFsrmQuota *This);
  1331. /*** IDispatch methods ***/
  1332. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1333. IFsrmQuota *This,
  1334. UINT *pctinfo);
  1335. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1336. IFsrmQuota *This,
  1337. UINT iTInfo,
  1338. LCID lcid,
  1339. ITypeInfo **ppTInfo);
  1340. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1341. IFsrmQuota *This,
  1342. REFIID riid,
  1343. LPOLESTR *rgszNames,
  1344. UINT cNames,
  1345. LCID lcid,
  1346. DISPID *rgDispId);
  1347. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1348. IFsrmQuota *This,
  1349. DISPID dispIdMember,
  1350. REFIID riid,
  1351. LCID lcid,
  1352. WORD wFlags,
  1353. DISPPARAMS *pDispParams,
  1354. VARIANT *pVarResult,
  1355. EXCEPINFO *pExcepInfo,
  1356. UINT *puArgErr);
  1357. /*** IFsrmObject methods ***/
  1358. HRESULT (STDMETHODCALLTYPE *get_Id)(
  1359. IFsrmQuota *This,
  1360. FSRM_OBJECT_ID *id);
  1361. HRESULT (STDMETHODCALLTYPE *get_Description)(
  1362. IFsrmQuota *This,
  1363. BSTR *description);
  1364. HRESULT (STDMETHODCALLTYPE *put_Description)(
  1365. IFsrmQuota *This,
  1366. BSTR description);
  1367. HRESULT (STDMETHODCALLTYPE *Delete)(
  1368. IFsrmQuota *This);
  1369. HRESULT (STDMETHODCALLTYPE *Commit)(
  1370. IFsrmQuota *This);
  1371. /*** IFsrmQuotaBase methods ***/
  1372. HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
  1373. IFsrmQuota *This,
  1374. VARIANT *quotaLimit);
  1375. HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
  1376. IFsrmQuota *This,
  1377. VARIANT quotaLimit);
  1378. HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
  1379. IFsrmQuota *This,
  1380. LONG *quotaFlags);
  1381. HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
  1382. IFsrmQuota *This,
  1383. LONG quotaFlags);
  1384. HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
  1385. IFsrmQuota *This,
  1386. SAFEARRAY **thresholds);
  1387. HRESULT (STDMETHODCALLTYPE *AddThreshold)(
  1388. IFsrmQuota *This,
  1389. FSRM_QUOTA_THRESHOLD threshold);
  1390. HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
  1391. IFsrmQuota *This,
  1392. FSRM_QUOTA_THRESHOLD threshold);
  1393. HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
  1394. IFsrmQuota *This,
  1395. FSRM_QUOTA_THRESHOLD threshold,
  1396. FSRM_QUOTA_THRESHOLD newThreshold);
  1397. HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
  1398. IFsrmQuota *This,
  1399. FSRM_QUOTA_THRESHOLD threshold,
  1400. FsrmActionType actionType,
  1401. IFsrmAction **action);
  1402. HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
  1403. IFsrmQuota *This,
  1404. FSRM_QUOTA_THRESHOLD threshold,
  1405. IFsrmCollection **actions);
  1406. /*** IFsrmQuotaObject methods ***/
  1407. HRESULT (STDMETHODCALLTYPE *get_Path)(
  1408. IFsrmQuota *This,
  1409. BSTR *path);
  1410. HRESULT (STDMETHODCALLTYPE *get_UserSid)(
  1411. IFsrmQuota *This,
  1412. BSTR *userSid);
  1413. HRESULT (STDMETHODCALLTYPE *get_UserAccount)(
  1414. IFsrmQuota *This,
  1415. BSTR *userAccount);
  1416. HRESULT (STDMETHODCALLTYPE *get_SourceTemplateName)(
  1417. IFsrmQuota *This,
  1418. BSTR *quotaTemplateName);
  1419. HRESULT (STDMETHODCALLTYPE *get_MatchesSourceTemplate)(
  1420. IFsrmQuota *This,
  1421. VARIANT_BOOL *matches);
  1422. HRESULT (STDMETHODCALLTYPE *ApplyTemplate)(
  1423. IFsrmQuota *This,
  1424. BSTR quotaTemplateName);
  1425. /*** IFsrmQuota methods ***/
  1426. HRESULT (STDMETHODCALLTYPE *get_QuotaUsed)(
  1427. IFsrmQuota *This,
  1428. VARIANT *used);
  1429. HRESULT (STDMETHODCALLTYPE *get_QuotaPeakUsage)(
  1430. IFsrmQuota *This,
  1431. VARIANT *peakUsage);
  1432. HRESULT (STDMETHODCALLTYPE *get_QuotaPeakUsageTime)(
  1433. IFsrmQuota *This,
  1434. DATE *peakUsageDateTime);
  1435. HRESULT (STDMETHODCALLTYPE *ResetPeakUsage)(
  1436. IFsrmQuota *This);
  1437. HRESULT (STDMETHODCALLTYPE *RefreshUsageProperties)(
  1438. IFsrmQuota *This);
  1439. END_INTERFACE
  1440. } IFsrmQuotaVtbl;
  1441. interface IFsrmQuota {
  1442. CONST_VTBL IFsrmQuotaVtbl* lpVtbl;
  1443. };
  1444. #ifdef COBJMACROS
  1445. #ifndef WIDL_C_INLINE_WRAPPERS
  1446. /*** IUnknown methods ***/
  1447. #define IFsrmQuota_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1448. #define IFsrmQuota_AddRef(This) (This)->lpVtbl->AddRef(This)
  1449. #define IFsrmQuota_Release(This) (This)->lpVtbl->Release(This)
  1450. /*** IDispatch methods ***/
  1451. #define IFsrmQuota_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1452. #define IFsrmQuota_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1453. #define IFsrmQuota_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1454. #define IFsrmQuota_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1455. /*** IFsrmObject methods ***/
  1456. #define IFsrmQuota_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
  1457. #define IFsrmQuota_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
  1458. #define IFsrmQuota_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
  1459. #define IFsrmQuota_Delete(This) (This)->lpVtbl->Delete(This)
  1460. #define IFsrmQuota_Commit(This) (This)->lpVtbl->Commit(This)
  1461. /*** IFsrmQuotaBase methods ***/
  1462. #define IFsrmQuota_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
  1463. #define IFsrmQuota_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
  1464. #define IFsrmQuota_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
  1465. #define IFsrmQuota_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
  1466. #define IFsrmQuota_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
  1467. #define IFsrmQuota_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
  1468. #define IFsrmQuota_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
  1469. #define IFsrmQuota_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
  1470. #define IFsrmQuota_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
  1471. #define IFsrmQuota_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
  1472. /*** IFsrmQuotaObject methods ***/
  1473. #define IFsrmQuota_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
  1474. #define IFsrmQuota_get_UserSid(This,userSid) (This)->lpVtbl->get_UserSid(This,userSid)
  1475. #define IFsrmQuota_get_UserAccount(This,userAccount) (This)->lpVtbl->get_UserAccount(This,userAccount)
  1476. #define IFsrmQuota_get_SourceTemplateName(This,quotaTemplateName) (This)->lpVtbl->get_SourceTemplateName(This,quotaTemplateName)
  1477. #define IFsrmQuota_get_MatchesSourceTemplate(This,matches) (This)->lpVtbl->get_MatchesSourceTemplate(This,matches)
  1478. #define IFsrmQuota_ApplyTemplate(This,quotaTemplateName) (This)->lpVtbl->ApplyTemplate(This,quotaTemplateName)
  1479. /*** IFsrmQuota methods ***/
  1480. #define IFsrmQuota_get_QuotaUsed(This,used) (This)->lpVtbl->get_QuotaUsed(This,used)
  1481. #define IFsrmQuota_get_QuotaPeakUsage(This,peakUsage) (This)->lpVtbl->get_QuotaPeakUsage(This,peakUsage)
  1482. #define IFsrmQuota_get_QuotaPeakUsageTime(This,peakUsageDateTime) (This)->lpVtbl->get_QuotaPeakUsageTime(This,peakUsageDateTime)
  1483. #define IFsrmQuota_ResetPeakUsage(This) (This)->lpVtbl->ResetPeakUsage(This)
  1484. #define IFsrmQuota_RefreshUsageProperties(This) (This)->lpVtbl->RefreshUsageProperties(This)
  1485. #else
  1486. /*** IUnknown methods ***/
  1487. static FORCEINLINE HRESULT IFsrmQuota_QueryInterface(IFsrmQuota* This,REFIID riid,void **ppvObject) {
  1488. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1489. }
  1490. static FORCEINLINE ULONG IFsrmQuota_AddRef(IFsrmQuota* This) {
  1491. return This->lpVtbl->AddRef(This);
  1492. }
  1493. static FORCEINLINE ULONG IFsrmQuota_Release(IFsrmQuota* This) {
  1494. return This->lpVtbl->Release(This);
  1495. }
  1496. /*** IDispatch methods ***/
  1497. static FORCEINLINE HRESULT IFsrmQuota_GetTypeInfoCount(IFsrmQuota* This,UINT *pctinfo) {
  1498. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1499. }
  1500. static FORCEINLINE HRESULT IFsrmQuota_GetTypeInfo(IFsrmQuota* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1501. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1502. }
  1503. static FORCEINLINE HRESULT IFsrmQuota_GetIDsOfNames(IFsrmQuota* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1504. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1505. }
  1506. static FORCEINLINE HRESULT IFsrmQuota_Invoke(IFsrmQuota* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1507. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1508. }
  1509. /*** IFsrmObject methods ***/
  1510. static FORCEINLINE HRESULT IFsrmQuota_get_Id(IFsrmQuota* This,FSRM_OBJECT_ID *id) {
  1511. return This->lpVtbl->get_Id(This,id);
  1512. }
  1513. static FORCEINLINE HRESULT IFsrmQuota_get_Description(IFsrmQuota* This,BSTR *description) {
  1514. return This->lpVtbl->get_Description(This,description);
  1515. }
  1516. static FORCEINLINE HRESULT IFsrmQuota_put_Description(IFsrmQuota* This,BSTR description) {
  1517. return This->lpVtbl->put_Description(This,description);
  1518. }
  1519. static FORCEINLINE HRESULT IFsrmQuota_Delete(IFsrmQuota* This) {
  1520. return This->lpVtbl->Delete(This);
  1521. }
  1522. static FORCEINLINE HRESULT IFsrmQuota_Commit(IFsrmQuota* This) {
  1523. return This->lpVtbl->Commit(This);
  1524. }
  1525. /*** IFsrmQuotaBase methods ***/
  1526. static FORCEINLINE HRESULT IFsrmQuota_get_QuotaLimit(IFsrmQuota* This,VARIANT *quotaLimit) {
  1527. return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
  1528. }
  1529. static FORCEINLINE HRESULT IFsrmQuota_put_QuotaLimit(IFsrmQuota* This,VARIANT quotaLimit) {
  1530. return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
  1531. }
  1532. static FORCEINLINE HRESULT IFsrmQuota_get_QuotaFlags(IFsrmQuota* This,LONG *quotaFlags) {
  1533. return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
  1534. }
  1535. static FORCEINLINE HRESULT IFsrmQuota_put_QuotaFlags(IFsrmQuota* This,LONG quotaFlags) {
  1536. return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
  1537. }
  1538. static FORCEINLINE HRESULT IFsrmQuota_get_Thresholds(IFsrmQuota* This,SAFEARRAY **thresholds) {
  1539. return This->lpVtbl->get_Thresholds(This,thresholds);
  1540. }
  1541. static FORCEINLINE HRESULT IFsrmQuota_AddThreshold(IFsrmQuota* This,FSRM_QUOTA_THRESHOLD threshold) {
  1542. return This->lpVtbl->AddThreshold(This,threshold);
  1543. }
  1544. static FORCEINLINE HRESULT IFsrmQuota_DeleteThreshold(IFsrmQuota* This,FSRM_QUOTA_THRESHOLD threshold) {
  1545. return This->lpVtbl->DeleteThreshold(This,threshold);
  1546. }
  1547. static FORCEINLINE HRESULT IFsrmQuota_ModifyThreshold(IFsrmQuota* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
  1548. return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
  1549. }
  1550. static FORCEINLINE HRESULT IFsrmQuota_CreateThresholdAction(IFsrmQuota* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
  1551. return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
  1552. }
  1553. static FORCEINLINE HRESULT IFsrmQuota_EnumThresholdActions(IFsrmQuota* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
  1554. return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
  1555. }
  1556. /*** IFsrmQuotaObject methods ***/
  1557. static FORCEINLINE HRESULT IFsrmQuota_get_Path(IFsrmQuota* This,BSTR *path) {
  1558. return This->lpVtbl->get_Path(This,path);
  1559. }
  1560. static FORCEINLINE HRESULT IFsrmQuota_get_UserSid(IFsrmQuota* This,BSTR *userSid) {
  1561. return This->lpVtbl->get_UserSid(This,userSid);
  1562. }
  1563. static FORCEINLINE HRESULT IFsrmQuota_get_UserAccount(IFsrmQuota* This,BSTR *userAccount) {
  1564. return This->lpVtbl->get_UserAccount(This,userAccount);
  1565. }
  1566. static FORCEINLINE HRESULT IFsrmQuota_get_SourceTemplateName(IFsrmQuota* This,BSTR *quotaTemplateName) {
  1567. return This->lpVtbl->get_SourceTemplateName(This,quotaTemplateName);
  1568. }
  1569. static FORCEINLINE HRESULT IFsrmQuota_get_MatchesSourceTemplate(IFsrmQuota* This,VARIANT_BOOL *matches) {
  1570. return This->lpVtbl->get_MatchesSourceTemplate(This,matches);
  1571. }
  1572. static FORCEINLINE HRESULT IFsrmQuota_ApplyTemplate(IFsrmQuota* This,BSTR quotaTemplateName) {
  1573. return This->lpVtbl->ApplyTemplate(This,quotaTemplateName);
  1574. }
  1575. /*** IFsrmQuota methods ***/
  1576. static FORCEINLINE HRESULT IFsrmQuota_get_QuotaUsed(IFsrmQuota* This,VARIANT *used) {
  1577. return This->lpVtbl->get_QuotaUsed(This,used);
  1578. }
  1579. static FORCEINLINE HRESULT IFsrmQuota_get_QuotaPeakUsage(IFsrmQuota* This,VARIANT *peakUsage) {
  1580. return This->lpVtbl->get_QuotaPeakUsage(This,peakUsage);
  1581. }
  1582. static FORCEINLINE HRESULT IFsrmQuota_get_QuotaPeakUsageTime(IFsrmQuota* This,DATE *peakUsageDateTime) {
  1583. return This->lpVtbl->get_QuotaPeakUsageTime(This,peakUsageDateTime);
  1584. }
  1585. static FORCEINLINE HRESULT IFsrmQuota_ResetPeakUsage(IFsrmQuota* This) {
  1586. return This->lpVtbl->ResetPeakUsage(This);
  1587. }
  1588. static FORCEINLINE HRESULT IFsrmQuota_RefreshUsageProperties(IFsrmQuota* This) {
  1589. return This->lpVtbl->RefreshUsageProperties(This);
  1590. }
  1591. #endif
  1592. #endif
  1593. #endif
  1594. #endif /* __IFsrmQuota_INTERFACE_DEFINED__ */
  1595. /*****************************************************************************
  1596. * IFsrmAutoApplyQuota interface
  1597. */
  1598. #ifndef __IFsrmAutoApplyQuota_INTERFACE_DEFINED__
  1599. #define __IFsrmAutoApplyQuota_INTERFACE_DEFINED__
  1600. DEFINE_GUID(IID_IFsrmAutoApplyQuota, 0xf82e5729, 0x6aba, 0x4740, 0xbf,0xc7, 0xc7,0xf5,0x8f,0x75,0xfb,0x7b);
  1601. #if defined(__cplusplus) && !defined(CINTERFACE)
  1602. MIDL_INTERFACE("f82e5729-6aba-4740-bfc7-c7f58f75fb7b")
  1603. IFsrmAutoApplyQuota : public IFsrmQuotaObject
  1604. {
  1605. virtual HRESULT STDMETHODCALLTYPE get_ExcludeFolders(
  1606. SAFEARRAY **folders) = 0;
  1607. virtual HRESULT STDMETHODCALLTYPE put_ExcludeFolders(
  1608. SAFEARRAY *folders) = 0;
  1609. virtual HRESULT STDMETHODCALLTYPE CommitAndUpdateDerived(
  1610. FsrmCommitOptions commitOptions,
  1611. FsrmTemplateApplyOptions applyOptions,
  1612. IFsrmDerivedObjectsResult **derivedObjectsResult) = 0;
  1613. };
  1614. #ifdef __CRT_UUID_DECL
  1615. __CRT_UUID_DECL(IFsrmAutoApplyQuota, 0xf82e5729, 0x6aba, 0x4740, 0xbf,0xc7, 0xc7,0xf5,0x8f,0x75,0xfb,0x7b)
  1616. #endif
  1617. #else
  1618. typedef struct IFsrmAutoApplyQuotaVtbl {
  1619. BEGIN_INTERFACE
  1620. /*** IUnknown methods ***/
  1621. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1622. IFsrmAutoApplyQuota *This,
  1623. REFIID riid,
  1624. void **ppvObject);
  1625. ULONG (STDMETHODCALLTYPE *AddRef)(
  1626. IFsrmAutoApplyQuota *This);
  1627. ULONG (STDMETHODCALLTYPE *Release)(
  1628. IFsrmAutoApplyQuota *This);
  1629. /*** IDispatch methods ***/
  1630. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1631. IFsrmAutoApplyQuota *This,
  1632. UINT *pctinfo);
  1633. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1634. IFsrmAutoApplyQuota *This,
  1635. UINT iTInfo,
  1636. LCID lcid,
  1637. ITypeInfo **ppTInfo);
  1638. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1639. IFsrmAutoApplyQuota *This,
  1640. REFIID riid,
  1641. LPOLESTR *rgszNames,
  1642. UINT cNames,
  1643. LCID lcid,
  1644. DISPID *rgDispId);
  1645. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1646. IFsrmAutoApplyQuota *This,
  1647. DISPID dispIdMember,
  1648. REFIID riid,
  1649. LCID lcid,
  1650. WORD wFlags,
  1651. DISPPARAMS *pDispParams,
  1652. VARIANT *pVarResult,
  1653. EXCEPINFO *pExcepInfo,
  1654. UINT *puArgErr);
  1655. /*** IFsrmObject methods ***/
  1656. HRESULT (STDMETHODCALLTYPE *get_Id)(
  1657. IFsrmAutoApplyQuota *This,
  1658. FSRM_OBJECT_ID *id);
  1659. HRESULT (STDMETHODCALLTYPE *get_Description)(
  1660. IFsrmAutoApplyQuota *This,
  1661. BSTR *description);
  1662. HRESULT (STDMETHODCALLTYPE *put_Description)(
  1663. IFsrmAutoApplyQuota *This,
  1664. BSTR description);
  1665. HRESULT (STDMETHODCALLTYPE *Delete)(
  1666. IFsrmAutoApplyQuota *This);
  1667. HRESULT (STDMETHODCALLTYPE *Commit)(
  1668. IFsrmAutoApplyQuota *This);
  1669. /*** IFsrmQuotaBase methods ***/
  1670. HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
  1671. IFsrmAutoApplyQuota *This,
  1672. VARIANT *quotaLimit);
  1673. HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
  1674. IFsrmAutoApplyQuota *This,
  1675. VARIANT quotaLimit);
  1676. HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
  1677. IFsrmAutoApplyQuota *This,
  1678. LONG *quotaFlags);
  1679. HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
  1680. IFsrmAutoApplyQuota *This,
  1681. LONG quotaFlags);
  1682. HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
  1683. IFsrmAutoApplyQuota *This,
  1684. SAFEARRAY **thresholds);
  1685. HRESULT (STDMETHODCALLTYPE *AddThreshold)(
  1686. IFsrmAutoApplyQuota *This,
  1687. FSRM_QUOTA_THRESHOLD threshold);
  1688. HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
  1689. IFsrmAutoApplyQuota *This,
  1690. FSRM_QUOTA_THRESHOLD threshold);
  1691. HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
  1692. IFsrmAutoApplyQuota *This,
  1693. FSRM_QUOTA_THRESHOLD threshold,
  1694. FSRM_QUOTA_THRESHOLD newThreshold);
  1695. HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
  1696. IFsrmAutoApplyQuota *This,
  1697. FSRM_QUOTA_THRESHOLD threshold,
  1698. FsrmActionType actionType,
  1699. IFsrmAction **action);
  1700. HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
  1701. IFsrmAutoApplyQuota *This,
  1702. FSRM_QUOTA_THRESHOLD threshold,
  1703. IFsrmCollection **actions);
  1704. /*** IFsrmQuotaObject methods ***/
  1705. HRESULT (STDMETHODCALLTYPE *get_Path)(
  1706. IFsrmAutoApplyQuota *This,
  1707. BSTR *path);
  1708. HRESULT (STDMETHODCALLTYPE *get_UserSid)(
  1709. IFsrmAutoApplyQuota *This,
  1710. BSTR *userSid);
  1711. HRESULT (STDMETHODCALLTYPE *get_UserAccount)(
  1712. IFsrmAutoApplyQuota *This,
  1713. BSTR *userAccount);
  1714. HRESULT (STDMETHODCALLTYPE *get_SourceTemplateName)(
  1715. IFsrmAutoApplyQuota *This,
  1716. BSTR *quotaTemplateName);
  1717. HRESULT (STDMETHODCALLTYPE *get_MatchesSourceTemplate)(
  1718. IFsrmAutoApplyQuota *This,
  1719. VARIANT_BOOL *matches);
  1720. HRESULT (STDMETHODCALLTYPE *ApplyTemplate)(
  1721. IFsrmAutoApplyQuota *This,
  1722. BSTR quotaTemplateName);
  1723. /*** IFsrmAutoApplyQuota methods ***/
  1724. HRESULT (STDMETHODCALLTYPE *get_ExcludeFolders)(
  1725. IFsrmAutoApplyQuota *This,
  1726. SAFEARRAY **folders);
  1727. HRESULT (STDMETHODCALLTYPE *put_ExcludeFolders)(
  1728. IFsrmAutoApplyQuota *This,
  1729. SAFEARRAY *folders);
  1730. HRESULT (STDMETHODCALLTYPE *CommitAndUpdateDerived)(
  1731. IFsrmAutoApplyQuota *This,
  1732. FsrmCommitOptions commitOptions,
  1733. FsrmTemplateApplyOptions applyOptions,
  1734. IFsrmDerivedObjectsResult **derivedObjectsResult);
  1735. END_INTERFACE
  1736. } IFsrmAutoApplyQuotaVtbl;
  1737. interface IFsrmAutoApplyQuota {
  1738. CONST_VTBL IFsrmAutoApplyQuotaVtbl* lpVtbl;
  1739. };
  1740. #ifdef COBJMACROS
  1741. #ifndef WIDL_C_INLINE_WRAPPERS
  1742. /*** IUnknown methods ***/
  1743. #define IFsrmAutoApplyQuota_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1744. #define IFsrmAutoApplyQuota_AddRef(This) (This)->lpVtbl->AddRef(This)
  1745. #define IFsrmAutoApplyQuota_Release(This) (This)->lpVtbl->Release(This)
  1746. /*** IDispatch methods ***/
  1747. #define IFsrmAutoApplyQuota_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1748. #define IFsrmAutoApplyQuota_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1749. #define IFsrmAutoApplyQuota_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1750. #define IFsrmAutoApplyQuota_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1751. /*** IFsrmObject methods ***/
  1752. #define IFsrmAutoApplyQuota_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
  1753. #define IFsrmAutoApplyQuota_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
  1754. #define IFsrmAutoApplyQuota_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
  1755. #define IFsrmAutoApplyQuota_Delete(This) (This)->lpVtbl->Delete(This)
  1756. #define IFsrmAutoApplyQuota_Commit(This) (This)->lpVtbl->Commit(This)
  1757. /*** IFsrmQuotaBase methods ***/
  1758. #define IFsrmAutoApplyQuota_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
  1759. #define IFsrmAutoApplyQuota_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
  1760. #define IFsrmAutoApplyQuota_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
  1761. #define IFsrmAutoApplyQuota_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
  1762. #define IFsrmAutoApplyQuota_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
  1763. #define IFsrmAutoApplyQuota_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
  1764. #define IFsrmAutoApplyQuota_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
  1765. #define IFsrmAutoApplyQuota_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
  1766. #define IFsrmAutoApplyQuota_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
  1767. #define IFsrmAutoApplyQuota_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
  1768. /*** IFsrmQuotaObject methods ***/
  1769. #define IFsrmAutoApplyQuota_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
  1770. #define IFsrmAutoApplyQuota_get_UserSid(This,userSid) (This)->lpVtbl->get_UserSid(This,userSid)
  1771. #define IFsrmAutoApplyQuota_get_UserAccount(This,userAccount) (This)->lpVtbl->get_UserAccount(This,userAccount)
  1772. #define IFsrmAutoApplyQuota_get_SourceTemplateName(This,quotaTemplateName) (This)->lpVtbl->get_SourceTemplateName(This,quotaTemplateName)
  1773. #define IFsrmAutoApplyQuota_get_MatchesSourceTemplate(This,matches) (This)->lpVtbl->get_MatchesSourceTemplate(This,matches)
  1774. #define IFsrmAutoApplyQuota_ApplyTemplate(This,quotaTemplateName) (This)->lpVtbl->ApplyTemplate(This,quotaTemplateName)
  1775. /*** IFsrmAutoApplyQuota methods ***/
  1776. #define IFsrmAutoApplyQuota_get_ExcludeFolders(This,folders) (This)->lpVtbl->get_ExcludeFolders(This,folders)
  1777. #define IFsrmAutoApplyQuota_put_ExcludeFolders(This,folders) (This)->lpVtbl->put_ExcludeFolders(This,folders)
  1778. #define IFsrmAutoApplyQuota_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) (This)->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult)
  1779. #else
  1780. /*** IUnknown methods ***/
  1781. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_QueryInterface(IFsrmAutoApplyQuota* This,REFIID riid,void **ppvObject) {
  1782. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1783. }
  1784. static FORCEINLINE ULONG IFsrmAutoApplyQuota_AddRef(IFsrmAutoApplyQuota* This) {
  1785. return This->lpVtbl->AddRef(This);
  1786. }
  1787. static FORCEINLINE ULONG IFsrmAutoApplyQuota_Release(IFsrmAutoApplyQuota* This) {
  1788. return This->lpVtbl->Release(This);
  1789. }
  1790. /*** IDispatch methods ***/
  1791. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_GetTypeInfoCount(IFsrmAutoApplyQuota* This,UINT *pctinfo) {
  1792. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1793. }
  1794. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_GetTypeInfo(IFsrmAutoApplyQuota* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1795. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1796. }
  1797. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_GetIDsOfNames(IFsrmAutoApplyQuota* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1798. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1799. }
  1800. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_Invoke(IFsrmAutoApplyQuota* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1801. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1802. }
  1803. /*** IFsrmObject methods ***/
  1804. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_Id(IFsrmAutoApplyQuota* This,FSRM_OBJECT_ID *id) {
  1805. return This->lpVtbl->get_Id(This,id);
  1806. }
  1807. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_Description(IFsrmAutoApplyQuota* This,BSTR *description) {
  1808. return This->lpVtbl->get_Description(This,description);
  1809. }
  1810. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_put_Description(IFsrmAutoApplyQuota* This,BSTR description) {
  1811. return This->lpVtbl->put_Description(This,description);
  1812. }
  1813. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_Delete(IFsrmAutoApplyQuota* This) {
  1814. return This->lpVtbl->Delete(This);
  1815. }
  1816. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_Commit(IFsrmAutoApplyQuota* This) {
  1817. return This->lpVtbl->Commit(This);
  1818. }
  1819. /*** IFsrmQuotaBase methods ***/
  1820. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_QuotaLimit(IFsrmAutoApplyQuota* This,VARIANT *quotaLimit) {
  1821. return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
  1822. }
  1823. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_put_QuotaLimit(IFsrmAutoApplyQuota* This,VARIANT quotaLimit) {
  1824. return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
  1825. }
  1826. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_QuotaFlags(IFsrmAutoApplyQuota* This,LONG *quotaFlags) {
  1827. return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
  1828. }
  1829. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_put_QuotaFlags(IFsrmAutoApplyQuota* This,LONG quotaFlags) {
  1830. return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
  1831. }
  1832. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_Thresholds(IFsrmAutoApplyQuota* This,SAFEARRAY **thresholds) {
  1833. return This->lpVtbl->get_Thresholds(This,thresholds);
  1834. }
  1835. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_AddThreshold(IFsrmAutoApplyQuota* This,FSRM_QUOTA_THRESHOLD threshold) {
  1836. return This->lpVtbl->AddThreshold(This,threshold);
  1837. }
  1838. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_DeleteThreshold(IFsrmAutoApplyQuota* This,FSRM_QUOTA_THRESHOLD threshold) {
  1839. return This->lpVtbl->DeleteThreshold(This,threshold);
  1840. }
  1841. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_ModifyThreshold(IFsrmAutoApplyQuota* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
  1842. return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
  1843. }
  1844. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_CreateThresholdAction(IFsrmAutoApplyQuota* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
  1845. return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
  1846. }
  1847. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_EnumThresholdActions(IFsrmAutoApplyQuota* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
  1848. return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
  1849. }
  1850. /*** IFsrmQuotaObject methods ***/
  1851. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_Path(IFsrmAutoApplyQuota* This,BSTR *path) {
  1852. return This->lpVtbl->get_Path(This,path);
  1853. }
  1854. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_UserSid(IFsrmAutoApplyQuota* This,BSTR *userSid) {
  1855. return This->lpVtbl->get_UserSid(This,userSid);
  1856. }
  1857. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_UserAccount(IFsrmAutoApplyQuota* This,BSTR *userAccount) {
  1858. return This->lpVtbl->get_UserAccount(This,userAccount);
  1859. }
  1860. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_SourceTemplateName(IFsrmAutoApplyQuota* This,BSTR *quotaTemplateName) {
  1861. return This->lpVtbl->get_SourceTemplateName(This,quotaTemplateName);
  1862. }
  1863. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_MatchesSourceTemplate(IFsrmAutoApplyQuota* This,VARIANT_BOOL *matches) {
  1864. return This->lpVtbl->get_MatchesSourceTemplate(This,matches);
  1865. }
  1866. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_ApplyTemplate(IFsrmAutoApplyQuota* This,BSTR quotaTemplateName) {
  1867. return This->lpVtbl->ApplyTemplate(This,quotaTemplateName);
  1868. }
  1869. /*** IFsrmAutoApplyQuota methods ***/
  1870. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_ExcludeFolders(IFsrmAutoApplyQuota* This,SAFEARRAY **folders) {
  1871. return This->lpVtbl->get_ExcludeFolders(This,folders);
  1872. }
  1873. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_put_ExcludeFolders(IFsrmAutoApplyQuota* This,SAFEARRAY *folders) {
  1874. return This->lpVtbl->put_ExcludeFolders(This,folders);
  1875. }
  1876. static FORCEINLINE HRESULT IFsrmAutoApplyQuota_CommitAndUpdateDerived(IFsrmAutoApplyQuota* This,FsrmCommitOptions commitOptions,FsrmTemplateApplyOptions applyOptions,IFsrmDerivedObjectsResult **derivedObjectsResult) {
  1877. return This->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult);
  1878. }
  1879. #endif
  1880. #endif
  1881. #endif
  1882. #endif /* __IFsrmAutoApplyQuota_INTERFACE_DEFINED__ */
  1883. /*****************************************************************************
  1884. * IFsrmQuotaManagerEx interface
  1885. */
  1886. #ifndef __IFsrmQuotaManagerEx_INTERFACE_DEFINED__
  1887. #define __IFsrmQuotaManagerEx_INTERFACE_DEFINED__
  1888. DEFINE_GUID(IID_IFsrmQuotaManagerEx, 0x4846cb01, 0xd430, 0x494f, 0xab,0xb4, 0xb1,0x05,0x49,0x99,0xfb,0x09);
  1889. #if defined(__cplusplus) && !defined(CINTERFACE)
  1890. MIDL_INTERFACE("4846cb01-d430-494f-abb4-b1054999fb09")
  1891. IFsrmQuotaManagerEx : public IFsrmQuotaManager
  1892. {
  1893. virtual HRESULT STDMETHODCALLTYPE IsAffectedByQuota(
  1894. BSTR path,
  1895. FsrmEnumOptions options,
  1896. VARIANT_BOOL *affected) = 0;
  1897. };
  1898. #ifdef __CRT_UUID_DECL
  1899. __CRT_UUID_DECL(IFsrmQuotaManagerEx, 0x4846cb01, 0xd430, 0x494f, 0xab,0xb4, 0xb1,0x05,0x49,0x99,0xfb,0x09)
  1900. #endif
  1901. #else
  1902. typedef struct IFsrmQuotaManagerExVtbl {
  1903. BEGIN_INTERFACE
  1904. /*** IUnknown methods ***/
  1905. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1906. IFsrmQuotaManagerEx *This,
  1907. REFIID riid,
  1908. void **ppvObject);
  1909. ULONG (STDMETHODCALLTYPE *AddRef)(
  1910. IFsrmQuotaManagerEx *This);
  1911. ULONG (STDMETHODCALLTYPE *Release)(
  1912. IFsrmQuotaManagerEx *This);
  1913. /*** IDispatch methods ***/
  1914. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1915. IFsrmQuotaManagerEx *This,
  1916. UINT *pctinfo);
  1917. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1918. IFsrmQuotaManagerEx *This,
  1919. UINT iTInfo,
  1920. LCID lcid,
  1921. ITypeInfo **ppTInfo);
  1922. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1923. IFsrmQuotaManagerEx *This,
  1924. REFIID riid,
  1925. LPOLESTR *rgszNames,
  1926. UINT cNames,
  1927. LCID lcid,
  1928. DISPID *rgDispId);
  1929. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1930. IFsrmQuotaManagerEx *This,
  1931. DISPID dispIdMember,
  1932. REFIID riid,
  1933. LCID lcid,
  1934. WORD wFlags,
  1935. DISPPARAMS *pDispParams,
  1936. VARIANT *pVarResult,
  1937. EXCEPINFO *pExcepInfo,
  1938. UINT *puArgErr);
  1939. /*** IFsrmQuotaManager methods ***/
  1940. HRESULT (STDMETHODCALLTYPE *get_ActionVariables)(
  1941. IFsrmQuotaManagerEx *This,
  1942. SAFEARRAY **variables);
  1943. HRESULT (STDMETHODCALLTYPE *get_ActionVariableDescriptions)(
  1944. IFsrmQuotaManagerEx *This,
  1945. SAFEARRAY **descriptions);
  1946. HRESULT (STDMETHODCALLTYPE *CreateQuota)(
  1947. IFsrmQuotaManagerEx *This,
  1948. BSTR path,
  1949. IFsrmQuota **quota);
  1950. HRESULT (STDMETHODCALLTYPE *CreateAutoApplyQuota)(
  1951. IFsrmQuotaManagerEx *This,
  1952. BSTR quotaTemplateName,
  1953. BSTR path,
  1954. IFsrmAutoApplyQuota **quota);
  1955. HRESULT (STDMETHODCALLTYPE *GetQuota)(
  1956. IFsrmQuotaManagerEx *This,
  1957. BSTR path,
  1958. IFsrmQuota **quota);
  1959. HRESULT (STDMETHODCALLTYPE *GetAutoApplyQuota)(
  1960. IFsrmQuotaManagerEx *This,
  1961. BSTR path,
  1962. IFsrmAutoApplyQuota **quota);
  1963. HRESULT (STDMETHODCALLTYPE *GetRestrictiveQuota)(
  1964. IFsrmQuotaManagerEx *This,
  1965. BSTR path,
  1966. IFsrmQuota **quota);
  1967. HRESULT (STDMETHODCALLTYPE *EnumQuotas)(
  1968. IFsrmQuotaManagerEx *This,
  1969. BSTR path,
  1970. FsrmEnumOptions options,
  1971. IFsrmCommittableCollection **quotas);
  1972. HRESULT (STDMETHODCALLTYPE *EnumAutoApplyQuotas)(
  1973. IFsrmQuotaManagerEx *This,
  1974. BSTR path,
  1975. FsrmEnumOptions options,
  1976. IFsrmCommittableCollection **quotas);
  1977. HRESULT (STDMETHODCALLTYPE *EnumEffectiveQuotas)(
  1978. IFsrmQuotaManagerEx *This,
  1979. BSTR path,
  1980. FsrmEnumOptions options,
  1981. IFsrmCommittableCollection **quotas);
  1982. HRESULT (STDMETHODCALLTYPE *Scan)(
  1983. IFsrmQuotaManagerEx *This,
  1984. BSTR strPath);
  1985. HRESULT (STDMETHODCALLTYPE *CreateQuotaCollection)(
  1986. IFsrmQuotaManagerEx *This,
  1987. IFsrmCommittableCollection **collection);
  1988. /*** IFsrmQuotaManagerEx methods ***/
  1989. HRESULT (STDMETHODCALLTYPE *IsAffectedByQuota)(
  1990. IFsrmQuotaManagerEx *This,
  1991. BSTR path,
  1992. FsrmEnumOptions options,
  1993. VARIANT_BOOL *affected);
  1994. END_INTERFACE
  1995. } IFsrmQuotaManagerExVtbl;
  1996. interface IFsrmQuotaManagerEx {
  1997. CONST_VTBL IFsrmQuotaManagerExVtbl* lpVtbl;
  1998. };
  1999. #ifdef COBJMACROS
  2000. #ifndef WIDL_C_INLINE_WRAPPERS
  2001. /*** IUnknown methods ***/
  2002. #define IFsrmQuotaManagerEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2003. #define IFsrmQuotaManagerEx_AddRef(This) (This)->lpVtbl->AddRef(This)
  2004. #define IFsrmQuotaManagerEx_Release(This) (This)->lpVtbl->Release(This)
  2005. /*** IDispatch methods ***/
  2006. #define IFsrmQuotaManagerEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2007. #define IFsrmQuotaManagerEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2008. #define IFsrmQuotaManagerEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2009. #define IFsrmQuotaManagerEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2010. /*** IFsrmQuotaManager methods ***/
  2011. #define IFsrmQuotaManagerEx_get_ActionVariables(This,variables) (This)->lpVtbl->get_ActionVariables(This,variables)
  2012. #define IFsrmQuotaManagerEx_get_ActionVariableDescriptions(This,descriptions) (This)->lpVtbl->get_ActionVariableDescriptions(This,descriptions)
  2013. #define IFsrmQuotaManagerEx_CreateQuota(This,path,quota) (This)->lpVtbl->CreateQuota(This,path,quota)
  2014. #define IFsrmQuotaManagerEx_CreateAutoApplyQuota(This,quotaTemplateName,path,quota) (This)->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota)
  2015. #define IFsrmQuotaManagerEx_GetQuota(This,path,quota) (This)->lpVtbl->GetQuota(This,path,quota)
  2016. #define IFsrmQuotaManagerEx_GetAutoApplyQuota(This,path,quota) (This)->lpVtbl->GetAutoApplyQuota(This,path,quota)
  2017. #define IFsrmQuotaManagerEx_GetRestrictiveQuota(This,path,quota) (This)->lpVtbl->GetRestrictiveQuota(This,path,quota)
  2018. #define IFsrmQuotaManagerEx_EnumQuotas(This,path,options,quotas) (This)->lpVtbl->EnumQuotas(This,path,options,quotas)
  2019. #define IFsrmQuotaManagerEx_EnumAutoApplyQuotas(This,path,options,quotas) (This)->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas)
  2020. #define IFsrmQuotaManagerEx_EnumEffectiveQuotas(This,path,options,quotas) (This)->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas)
  2021. #define IFsrmQuotaManagerEx_Scan(This,strPath) (This)->lpVtbl->Scan(This,strPath)
  2022. #define IFsrmQuotaManagerEx_CreateQuotaCollection(This,collection) (This)->lpVtbl->CreateQuotaCollection(This,collection)
  2023. /*** IFsrmQuotaManagerEx methods ***/
  2024. #define IFsrmQuotaManagerEx_IsAffectedByQuota(This,path,options,affected) (This)->lpVtbl->IsAffectedByQuota(This,path,options,affected)
  2025. #else
  2026. /*** IUnknown methods ***/
  2027. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_QueryInterface(IFsrmQuotaManagerEx* This,REFIID riid,void **ppvObject) {
  2028. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2029. }
  2030. static FORCEINLINE ULONG IFsrmQuotaManagerEx_AddRef(IFsrmQuotaManagerEx* This) {
  2031. return This->lpVtbl->AddRef(This);
  2032. }
  2033. static FORCEINLINE ULONG IFsrmQuotaManagerEx_Release(IFsrmQuotaManagerEx* This) {
  2034. return This->lpVtbl->Release(This);
  2035. }
  2036. /*** IDispatch methods ***/
  2037. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetTypeInfoCount(IFsrmQuotaManagerEx* This,UINT *pctinfo) {
  2038. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2039. }
  2040. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetTypeInfo(IFsrmQuotaManagerEx* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2041. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2042. }
  2043. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetIDsOfNames(IFsrmQuotaManagerEx* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2044. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2045. }
  2046. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_Invoke(IFsrmQuotaManagerEx* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2047. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2048. }
  2049. /*** IFsrmQuotaManager methods ***/
  2050. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_get_ActionVariables(IFsrmQuotaManagerEx* This,SAFEARRAY **variables) {
  2051. return This->lpVtbl->get_ActionVariables(This,variables);
  2052. }
  2053. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_get_ActionVariableDescriptions(IFsrmQuotaManagerEx* This,SAFEARRAY **descriptions) {
  2054. return This->lpVtbl->get_ActionVariableDescriptions(This,descriptions);
  2055. }
  2056. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_CreateQuota(IFsrmQuotaManagerEx* This,BSTR path,IFsrmQuota **quota) {
  2057. return This->lpVtbl->CreateQuota(This,path,quota);
  2058. }
  2059. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_CreateAutoApplyQuota(IFsrmQuotaManagerEx* This,BSTR quotaTemplateName,BSTR path,IFsrmAutoApplyQuota **quota) {
  2060. return This->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota);
  2061. }
  2062. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetQuota(IFsrmQuotaManagerEx* This,BSTR path,IFsrmQuota **quota) {
  2063. return This->lpVtbl->GetQuota(This,path,quota);
  2064. }
  2065. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetAutoApplyQuota(IFsrmQuotaManagerEx* This,BSTR path,IFsrmAutoApplyQuota **quota) {
  2066. return This->lpVtbl->GetAutoApplyQuota(This,path,quota);
  2067. }
  2068. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetRestrictiveQuota(IFsrmQuotaManagerEx* This,BSTR path,IFsrmQuota **quota) {
  2069. return This->lpVtbl->GetRestrictiveQuota(This,path,quota);
  2070. }
  2071. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_EnumQuotas(IFsrmQuotaManagerEx* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
  2072. return This->lpVtbl->EnumQuotas(This,path,options,quotas);
  2073. }
  2074. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_EnumAutoApplyQuotas(IFsrmQuotaManagerEx* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
  2075. return This->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas);
  2076. }
  2077. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_EnumEffectiveQuotas(IFsrmQuotaManagerEx* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
  2078. return This->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas);
  2079. }
  2080. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_Scan(IFsrmQuotaManagerEx* This,BSTR strPath) {
  2081. return This->lpVtbl->Scan(This,strPath);
  2082. }
  2083. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_CreateQuotaCollection(IFsrmQuotaManagerEx* This,IFsrmCommittableCollection **collection) {
  2084. return This->lpVtbl->CreateQuotaCollection(This,collection);
  2085. }
  2086. /*** IFsrmQuotaManagerEx methods ***/
  2087. static FORCEINLINE HRESULT IFsrmQuotaManagerEx_IsAffectedByQuota(IFsrmQuotaManagerEx* This,BSTR path,FsrmEnumOptions options,VARIANT_BOOL *affected) {
  2088. return This->lpVtbl->IsAffectedByQuota(This,path,options,affected);
  2089. }
  2090. #endif
  2091. #endif
  2092. #endif
  2093. #endif /* __IFsrmQuotaManagerEx_INTERFACE_DEFINED__ */
  2094. /*****************************************************************************
  2095. * IFsrmQuotaTemplateImported interface
  2096. */
  2097. #ifndef __IFsrmQuotaTemplateImported_INTERFACE_DEFINED__
  2098. #define __IFsrmQuotaTemplateImported_INTERFACE_DEFINED__
  2099. DEFINE_GUID(IID_IFsrmQuotaTemplateImported, 0x9a2bf113, 0xa329, 0x44cc, 0x80,0x9a, 0x5c,0x00,0xfc,0xe8,0xda,0x40);
  2100. #if defined(__cplusplus) && !defined(CINTERFACE)
  2101. MIDL_INTERFACE("9a2bf113-a329-44cc-809a-5c00fce8da40")
  2102. IFsrmQuotaTemplateImported : public IFsrmQuotaTemplate
  2103. {
  2104. virtual HRESULT STDMETHODCALLTYPE get_OverwriteOnCommit(
  2105. VARIANT_BOOL *overwrite) = 0;
  2106. virtual HRESULT STDMETHODCALLTYPE put_OverwriteOnCommit(
  2107. VARIANT_BOOL overwrite) = 0;
  2108. };
  2109. #ifdef __CRT_UUID_DECL
  2110. __CRT_UUID_DECL(IFsrmQuotaTemplateImported, 0x9a2bf113, 0xa329, 0x44cc, 0x80,0x9a, 0x5c,0x00,0xfc,0xe8,0xda,0x40)
  2111. #endif
  2112. #else
  2113. typedef struct IFsrmQuotaTemplateImportedVtbl {
  2114. BEGIN_INTERFACE
  2115. /*** IUnknown methods ***/
  2116. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2117. IFsrmQuotaTemplateImported *This,
  2118. REFIID riid,
  2119. void **ppvObject);
  2120. ULONG (STDMETHODCALLTYPE *AddRef)(
  2121. IFsrmQuotaTemplateImported *This);
  2122. ULONG (STDMETHODCALLTYPE *Release)(
  2123. IFsrmQuotaTemplateImported *This);
  2124. /*** IDispatch methods ***/
  2125. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  2126. IFsrmQuotaTemplateImported *This,
  2127. UINT *pctinfo);
  2128. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  2129. IFsrmQuotaTemplateImported *This,
  2130. UINT iTInfo,
  2131. LCID lcid,
  2132. ITypeInfo **ppTInfo);
  2133. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  2134. IFsrmQuotaTemplateImported *This,
  2135. REFIID riid,
  2136. LPOLESTR *rgszNames,
  2137. UINT cNames,
  2138. LCID lcid,
  2139. DISPID *rgDispId);
  2140. HRESULT (STDMETHODCALLTYPE *Invoke)(
  2141. IFsrmQuotaTemplateImported *This,
  2142. DISPID dispIdMember,
  2143. REFIID riid,
  2144. LCID lcid,
  2145. WORD wFlags,
  2146. DISPPARAMS *pDispParams,
  2147. VARIANT *pVarResult,
  2148. EXCEPINFO *pExcepInfo,
  2149. UINT *puArgErr);
  2150. /*** IFsrmObject methods ***/
  2151. HRESULT (STDMETHODCALLTYPE *get_Id)(
  2152. IFsrmQuotaTemplateImported *This,
  2153. FSRM_OBJECT_ID *id);
  2154. HRESULT (STDMETHODCALLTYPE *get_Description)(
  2155. IFsrmQuotaTemplateImported *This,
  2156. BSTR *description);
  2157. HRESULT (STDMETHODCALLTYPE *put_Description)(
  2158. IFsrmQuotaTemplateImported *This,
  2159. BSTR description);
  2160. HRESULT (STDMETHODCALLTYPE *Delete)(
  2161. IFsrmQuotaTemplateImported *This);
  2162. HRESULT (STDMETHODCALLTYPE *Commit)(
  2163. IFsrmQuotaTemplateImported *This);
  2164. /*** IFsrmQuotaBase methods ***/
  2165. HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
  2166. IFsrmQuotaTemplateImported *This,
  2167. VARIANT *quotaLimit);
  2168. HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
  2169. IFsrmQuotaTemplateImported *This,
  2170. VARIANT quotaLimit);
  2171. HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
  2172. IFsrmQuotaTemplateImported *This,
  2173. LONG *quotaFlags);
  2174. HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
  2175. IFsrmQuotaTemplateImported *This,
  2176. LONG quotaFlags);
  2177. HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
  2178. IFsrmQuotaTemplateImported *This,
  2179. SAFEARRAY **thresholds);
  2180. HRESULT (STDMETHODCALLTYPE *AddThreshold)(
  2181. IFsrmQuotaTemplateImported *This,
  2182. FSRM_QUOTA_THRESHOLD threshold);
  2183. HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
  2184. IFsrmQuotaTemplateImported *This,
  2185. FSRM_QUOTA_THRESHOLD threshold);
  2186. HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
  2187. IFsrmQuotaTemplateImported *This,
  2188. FSRM_QUOTA_THRESHOLD threshold,
  2189. FSRM_QUOTA_THRESHOLD newThreshold);
  2190. HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
  2191. IFsrmQuotaTemplateImported *This,
  2192. FSRM_QUOTA_THRESHOLD threshold,
  2193. FsrmActionType actionType,
  2194. IFsrmAction **action);
  2195. HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
  2196. IFsrmQuotaTemplateImported *This,
  2197. FSRM_QUOTA_THRESHOLD threshold,
  2198. IFsrmCollection **actions);
  2199. /*** IFsrmQuotaTemplate methods ***/
  2200. HRESULT (STDMETHODCALLTYPE *get_Name)(
  2201. IFsrmQuotaTemplateImported *This,
  2202. BSTR *name);
  2203. HRESULT (STDMETHODCALLTYPE *put_Name)(
  2204. IFsrmQuotaTemplateImported *This,
  2205. BSTR name);
  2206. HRESULT (STDMETHODCALLTYPE *CopyTemplate)(
  2207. IFsrmQuotaTemplateImported *This,
  2208. BSTR quotaTemplateName);
  2209. HRESULT (STDMETHODCALLTYPE *CommitAndUpdateDerived)(
  2210. IFsrmQuotaTemplateImported *This,
  2211. FsrmCommitOptions commitOptions,
  2212. FsrmTemplateApplyOptions applyOptions,
  2213. IFsrmDerivedObjectsResult **derivedObjectsResult);
  2214. /*** IFsrmQuotaTemplateImported methods ***/
  2215. HRESULT (STDMETHODCALLTYPE *get_OverwriteOnCommit)(
  2216. IFsrmQuotaTemplateImported *This,
  2217. VARIANT_BOOL *overwrite);
  2218. HRESULT (STDMETHODCALLTYPE *put_OverwriteOnCommit)(
  2219. IFsrmQuotaTemplateImported *This,
  2220. VARIANT_BOOL overwrite);
  2221. END_INTERFACE
  2222. } IFsrmQuotaTemplateImportedVtbl;
  2223. interface IFsrmQuotaTemplateImported {
  2224. CONST_VTBL IFsrmQuotaTemplateImportedVtbl* lpVtbl;
  2225. };
  2226. #ifdef COBJMACROS
  2227. #ifndef WIDL_C_INLINE_WRAPPERS
  2228. /*** IUnknown methods ***/
  2229. #define IFsrmQuotaTemplateImported_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2230. #define IFsrmQuotaTemplateImported_AddRef(This) (This)->lpVtbl->AddRef(This)
  2231. #define IFsrmQuotaTemplateImported_Release(This) (This)->lpVtbl->Release(This)
  2232. /*** IDispatch methods ***/
  2233. #define IFsrmQuotaTemplateImported_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  2234. #define IFsrmQuotaTemplateImported_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2235. #define IFsrmQuotaTemplateImported_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2236. #define IFsrmQuotaTemplateImported_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2237. /*** IFsrmObject methods ***/
  2238. #define IFsrmQuotaTemplateImported_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
  2239. #define IFsrmQuotaTemplateImported_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
  2240. #define IFsrmQuotaTemplateImported_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
  2241. #define IFsrmQuotaTemplateImported_Delete(This) (This)->lpVtbl->Delete(This)
  2242. #define IFsrmQuotaTemplateImported_Commit(This) (This)->lpVtbl->Commit(This)
  2243. /*** IFsrmQuotaBase methods ***/
  2244. #define IFsrmQuotaTemplateImported_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
  2245. #define IFsrmQuotaTemplateImported_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
  2246. #define IFsrmQuotaTemplateImported_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
  2247. #define IFsrmQuotaTemplateImported_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
  2248. #define IFsrmQuotaTemplateImported_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
  2249. #define IFsrmQuotaTemplateImported_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
  2250. #define IFsrmQuotaTemplateImported_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
  2251. #define IFsrmQuotaTemplateImported_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
  2252. #define IFsrmQuotaTemplateImported_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
  2253. #define IFsrmQuotaTemplateImported_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
  2254. /*** IFsrmQuotaTemplate methods ***/
  2255. #define IFsrmQuotaTemplateImported_get_Name(This,name) (This)->lpVtbl->get_Name(This,name)
  2256. #define IFsrmQuotaTemplateImported_put_Name(This,name) (This)->lpVtbl->put_Name(This,name)
  2257. #define IFsrmQuotaTemplateImported_CopyTemplate(This,quotaTemplateName) (This)->lpVtbl->CopyTemplate(This,quotaTemplateName)
  2258. #define IFsrmQuotaTemplateImported_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) (This)->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult)
  2259. /*** IFsrmQuotaTemplateImported methods ***/
  2260. #define IFsrmQuotaTemplateImported_get_OverwriteOnCommit(This,overwrite) (This)->lpVtbl->get_OverwriteOnCommit(This,overwrite)
  2261. #define IFsrmQuotaTemplateImported_put_OverwriteOnCommit(This,overwrite) (This)->lpVtbl->put_OverwriteOnCommit(This,overwrite)
  2262. #else
  2263. /*** IUnknown methods ***/
  2264. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_QueryInterface(IFsrmQuotaTemplateImported* This,REFIID riid,void **ppvObject) {
  2265. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2266. }
  2267. static FORCEINLINE ULONG IFsrmQuotaTemplateImported_AddRef(IFsrmQuotaTemplateImported* This) {
  2268. return This->lpVtbl->AddRef(This);
  2269. }
  2270. static FORCEINLINE ULONG IFsrmQuotaTemplateImported_Release(IFsrmQuotaTemplateImported* This) {
  2271. return This->lpVtbl->Release(This);
  2272. }
  2273. /*** IDispatch methods ***/
  2274. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_GetTypeInfoCount(IFsrmQuotaTemplateImported* This,UINT *pctinfo) {
  2275. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  2276. }
  2277. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_GetTypeInfo(IFsrmQuotaTemplateImported* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  2278. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  2279. }
  2280. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_GetIDsOfNames(IFsrmQuotaTemplateImported* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  2281. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  2282. }
  2283. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_Invoke(IFsrmQuotaTemplateImported* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  2284. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  2285. }
  2286. /*** IFsrmObject methods ***/
  2287. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_Id(IFsrmQuotaTemplateImported* This,FSRM_OBJECT_ID *id) {
  2288. return This->lpVtbl->get_Id(This,id);
  2289. }
  2290. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_Description(IFsrmQuotaTemplateImported* This,BSTR *description) {
  2291. return This->lpVtbl->get_Description(This,description);
  2292. }
  2293. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_put_Description(IFsrmQuotaTemplateImported* This,BSTR description) {
  2294. return This->lpVtbl->put_Description(This,description);
  2295. }
  2296. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_Delete(IFsrmQuotaTemplateImported* This) {
  2297. return This->lpVtbl->Delete(This);
  2298. }
  2299. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_Commit(IFsrmQuotaTemplateImported* This) {
  2300. return This->lpVtbl->Commit(This);
  2301. }
  2302. /*** IFsrmQuotaBase methods ***/
  2303. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_QuotaLimit(IFsrmQuotaTemplateImported* This,VARIANT *quotaLimit) {
  2304. return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
  2305. }
  2306. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_put_QuotaLimit(IFsrmQuotaTemplateImported* This,VARIANT quotaLimit) {
  2307. return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
  2308. }
  2309. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_QuotaFlags(IFsrmQuotaTemplateImported* This,LONG *quotaFlags) {
  2310. return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
  2311. }
  2312. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_put_QuotaFlags(IFsrmQuotaTemplateImported* This,LONG quotaFlags) {
  2313. return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
  2314. }
  2315. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_Thresholds(IFsrmQuotaTemplateImported* This,SAFEARRAY **thresholds) {
  2316. return This->lpVtbl->get_Thresholds(This,thresholds);
  2317. }
  2318. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_AddThreshold(IFsrmQuotaTemplateImported* This,FSRM_QUOTA_THRESHOLD threshold) {
  2319. return This->lpVtbl->AddThreshold(This,threshold);
  2320. }
  2321. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_DeleteThreshold(IFsrmQuotaTemplateImported* This,FSRM_QUOTA_THRESHOLD threshold) {
  2322. return This->lpVtbl->DeleteThreshold(This,threshold);
  2323. }
  2324. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_ModifyThreshold(IFsrmQuotaTemplateImported* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
  2325. return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
  2326. }
  2327. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_CreateThresholdAction(IFsrmQuotaTemplateImported* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
  2328. return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
  2329. }
  2330. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_EnumThresholdActions(IFsrmQuotaTemplateImported* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
  2331. return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
  2332. }
  2333. /*** IFsrmQuotaTemplate methods ***/
  2334. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_Name(IFsrmQuotaTemplateImported* This,BSTR *name) {
  2335. return This->lpVtbl->get_Name(This,name);
  2336. }
  2337. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_put_Name(IFsrmQuotaTemplateImported* This,BSTR name) {
  2338. return This->lpVtbl->put_Name(This,name);
  2339. }
  2340. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_CopyTemplate(IFsrmQuotaTemplateImported* This,BSTR quotaTemplateName) {
  2341. return This->lpVtbl->CopyTemplate(This,quotaTemplateName);
  2342. }
  2343. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_CommitAndUpdateDerived(IFsrmQuotaTemplateImported* This,FsrmCommitOptions commitOptions,FsrmTemplateApplyOptions applyOptions,IFsrmDerivedObjectsResult **derivedObjectsResult) {
  2344. return This->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult);
  2345. }
  2346. /*** IFsrmQuotaTemplateImported methods ***/
  2347. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_OverwriteOnCommit(IFsrmQuotaTemplateImported* This,VARIANT_BOOL *overwrite) {
  2348. return This->lpVtbl->get_OverwriteOnCommit(This,overwrite);
  2349. }
  2350. static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_put_OverwriteOnCommit(IFsrmQuotaTemplateImported* This,VARIANT_BOOL overwrite) {
  2351. return This->lpVtbl->put_OverwriteOnCommit(This,overwrite);
  2352. }
  2353. #endif
  2354. #endif
  2355. #endif
  2356. #endif /* __IFsrmQuotaTemplateImported_INTERFACE_DEFINED__ */
  2357. #endif
  2358. /* Begin additional prototypes for all interfaces */
  2359. ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *);
  2360. unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *);
  2361. unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
  2362. void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *);
  2363. ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
  2364. unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
  2365. unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
  2366. void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
  2367. /* End additional prototypes */
  2368. #ifdef __cplusplus
  2369. }
  2370. #endif
  2371. #endif /* __fsrmquota_h__ */