123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754 |
- /*** Autogenerated by WIDL 7.7 from include/fsrmquota.idl - Do not edit ***/
- #ifdef _WIN32
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- #include <rpc.h>
- #include <rpcndr.h>
- #endif
- #ifndef COM_NO_WINDOWS_H
- #include <windows.h>
- #include <ole2.h>
- #endif
- #ifndef __fsrmquota_h__
- #define __fsrmquota_h__
- /* Forward declarations */
- #ifndef __IFsrmQuotaManager_FWD_DEFINED__
- #define __IFsrmQuotaManager_FWD_DEFINED__
- typedef interface IFsrmQuotaManager IFsrmQuotaManager;
- #ifdef __cplusplus
- interface IFsrmQuotaManager;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaTemplateManager_FWD_DEFINED__
- #define __IFsrmQuotaTemplateManager_FWD_DEFINED__
- typedef interface IFsrmQuotaTemplateManager IFsrmQuotaTemplateManager;
- #ifdef __cplusplus
- interface IFsrmQuotaTemplateManager;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaBase_FWD_DEFINED__
- #define __IFsrmQuotaBase_FWD_DEFINED__
- typedef interface IFsrmQuotaBase IFsrmQuotaBase;
- #ifdef __cplusplus
- interface IFsrmQuotaBase;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaObject_FWD_DEFINED__
- #define __IFsrmQuotaObject_FWD_DEFINED__
- typedef interface IFsrmQuotaObject IFsrmQuotaObject;
- #ifdef __cplusplus
- interface IFsrmQuotaObject;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaTemplate_FWD_DEFINED__
- #define __IFsrmQuotaTemplate_FWD_DEFINED__
- typedef interface IFsrmQuotaTemplate IFsrmQuotaTemplate;
- #ifdef __cplusplus
- interface IFsrmQuotaTemplate;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuota_FWD_DEFINED__
- #define __IFsrmQuota_FWD_DEFINED__
- typedef interface IFsrmQuota IFsrmQuota;
- #ifdef __cplusplus
- interface IFsrmQuota;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmAutoApplyQuota_FWD_DEFINED__
- #define __IFsrmAutoApplyQuota_FWD_DEFINED__
- typedef interface IFsrmAutoApplyQuota IFsrmAutoApplyQuota;
- #ifdef __cplusplus
- interface IFsrmAutoApplyQuota;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaManagerEx_FWD_DEFINED__
- #define __IFsrmQuotaManagerEx_FWD_DEFINED__
- typedef interface IFsrmQuotaManagerEx IFsrmQuotaManagerEx;
- #ifdef __cplusplus
- interface IFsrmQuotaManagerEx;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaTemplateImported_FWD_DEFINED__
- #define __IFsrmQuotaTemplateImported_FWD_DEFINED__
- typedef interface IFsrmQuotaTemplateImported IFsrmQuotaTemplateImported;
- #ifdef __cplusplus
- interface IFsrmQuotaTemplateImported;
- #endif /* __cplusplus */
- #endif
- /* Headers for imported files */
- #include <oaidl.h>
- #include <fsrmenums.h>
- #include <fsrm.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include <winapifamily.h>
- #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
- #ifndef __IFsrmAutoApplyQuota_FWD_DEFINED__
- #define __IFsrmAutoApplyQuota_FWD_DEFINED__
- typedef interface IFsrmAutoApplyQuota IFsrmAutoApplyQuota;
- #ifdef __cplusplus
- interface IFsrmAutoApplyQuota;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuota_FWD_DEFINED__
- #define __IFsrmQuota_FWD_DEFINED__
- typedef interface IFsrmQuota IFsrmQuota;
- #ifdef __cplusplus
- interface IFsrmQuota;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaBase_FWD_DEFINED__
- #define __IFsrmQuotaBase_FWD_DEFINED__
- typedef interface IFsrmQuotaBase IFsrmQuotaBase;
- #ifdef __cplusplus
- interface IFsrmQuotaBase;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaObject_FWD_DEFINED__
- #define __IFsrmQuotaObject_FWD_DEFINED__
- typedef interface IFsrmQuotaObject IFsrmQuotaObject;
- #ifdef __cplusplus
- interface IFsrmQuotaObject;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaManager_FWD_DEFINED__
- #define __IFsrmQuotaManager_FWD_DEFINED__
- typedef interface IFsrmQuotaManager IFsrmQuotaManager;
- #ifdef __cplusplus
- interface IFsrmQuotaManager;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaTemplate_FWD_DEFINED__
- #define __IFsrmQuotaTemplate_FWD_DEFINED__
- typedef interface IFsrmQuotaTemplate IFsrmQuotaTemplate;
- #ifdef __cplusplus
- interface IFsrmQuotaTemplate;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaTemplateImported_FWD_DEFINED__
- #define __IFsrmQuotaTemplateImported_FWD_DEFINED__
- typedef interface IFsrmQuotaTemplateImported IFsrmQuotaTemplateImported;
- #ifdef __cplusplus
- interface IFsrmQuotaTemplateImported;
- #endif /* __cplusplus */
- #endif
- #ifndef __IFsrmQuotaTemplateManager_FWD_DEFINED__
- #define __IFsrmQuotaTemplateManager_FWD_DEFINED__
- typedef interface IFsrmQuotaTemplateManager IFsrmQuotaTemplateManager;
- #ifdef __cplusplus
- interface IFsrmQuotaTemplateManager;
- #endif /* __cplusplus */
- #endif
- typedef LONG FSRM_QUOTA_THRESHOLD;
- #define FSRM_DISPID_QUOTA_BASE (FSRM_DISPID_FEATURE_QUOTA | 0x100000)
- #define FSRM_DISPID_QUOTA_OBJECT (FSRM_DISPID_QUOTA_BASE | 0x10000)
- #define FSRM_DISPID_QUOTA (FSRM_DISPID_QUOTA_OBJECT | 0x1000)
- #define FSRM_DISPID_AUTOAPPLYQUOTA (FSRM_DISPID_QUOTA_OBJECT | 0x2000)
- #define FSRM_DISPID_QUOTA_TEMPLATE (FSRM_DISPID_QUOTA_BASE | 0x20000)
- #define FSRM_DISPID_QUOTA_TEMPLATE_IMPORTED (FSRM_DISPID_QUOTA_TEMPLATE | 0x1000)
- #define FSRM_DISPID_QUOTA_MANAGER (FSRM_DISPID_FEATURE_QUOTA | 0x200000)
- #define FSRM_DISPID_QUOTA_TEMPLATE_MANAGER (FSRM_DISPID_FEATURE_QUOTA | 0x300000)
- #define FSRM_DISPID_QUOTA_MANAGER_EX (FSRM_DISPID_FEATURE_QUOTA | 0x400000)
- #define FsrmMaxNumberThresholds (16)
- #define FsrmMinThresholdValue (1)
- #define FsrmMaxThresholdValue (250)
- #define FsrmMinQuotaLimit (1024)
- #define FsrmMaxExcludeFolders (32)
- /*****************************************************************************
- * IFsrmQuotaManager interface
- */
- #ifndef __IFsrmQuotaManager_INTERFACE_DEFINED__
- #define __IFsrmQuotaManager_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IFsrmQuotaManager, 0x8bb68c7d, 0x19d8, 0x4ffb, 0x80,0x9e, 0xbe,0x4f,0xc1,0x73,0x40,0x14);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("8bb68c7d-19d8-4ffb-809e-be4fc1734014")
- IFsrmQuotaManager : public IDispatch
- {
- virtual HRESULT STDMETHODCALLTYPE get_ActionVariables(
- SAFEARRAY **variables) = 0;
- virtual HRESULT STDMETHODCALLTYPE get_ActionVariableDescriptions(
- SAFEARRAY **descriptions) = 0;
- virtual HRESULT STDMETHODCALLTYPE CreateQuota(
- BSTR path,
- IFsrmQuota **quota) = 0;
- virtual HRESULT STDMETHODCALLTYPE CreateAutoApplyQuota(
- BSTR quotaTemplateName,
- BSTR path,
- IFsrmAutoApplyQuota **quota) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetQuota(
- BSTR path,
- IFsrmQuota **quota) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetAutoApplyQuota(
- BSTR path,
- IFsrmAutoApplyQuota **quota) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetRestrictiveQuota(
- BSTR path,
- IFsrmQuota **quota) = 0;
- virtual HRESULT STDMETHODCALLTYPE EnumQuotas(
- BSTR path,
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotas) = 0;
- virtual HRESULT STDMETHODCALLTYPE EnumAutoApplyQuotas(
- BSTR path,
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotas) = 0;
- virtual HRESULT STDMETHODCALLTYPE EnumEffectiveQuotas(
- BSTR path,
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotas) = 0;
- virtual HRESULT STDMETHODCALLTYPE Scan(
- BSTR strPath) = 0;
- virtual HRESULT STDMETHODCALLTYPE CreateQuotaCollection(
- IFsrmCommittableCollection **collection) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IFsrmQuotaManager, 0x8bb68c7d, 0x19d8, 0x4ffb, 0x80,0x9e, 0xbe,0x4f,0xc1,0x73,0x40,0x14)
- #endif
- #else
- typedef struct IFsrmQuotaManagerVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IFsrmQuotaManager *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IFsrmQuotaManager *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IFsrmQuotaManager *This);
- /*** IDispatch methods ***/
- HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
- IFsrmQuotaManager *This,
- UINT *pctinfo);
- HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
- IFsrmQuotaManager *This,
- UINT iTInfo,
- LCID lcid,
- ITypeInfo **ppTInfo);
- HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
- IFsrmQuotaManager *This,
- REFIID riid,
- LPOLESTR *rgszNames,
- UINT cNames,
- LCID lcid,
- DISPID *rgDispId);
- HRESULT (STDMETHODCALLTYPE *Invoke)(
- IFsrmQuotaManager *This,
- DISPID dispIdMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- DISPPARAMS *pDispParams,
- VARIANT *pVarResult,
- EXCEPINFO *pExcepInfo,
- UINT *puArgErr);
- /*** IFsrmQuotaManager methods ***/
- HRESULT (STDMETHODCALLTYPE *get_ActionVariables)(
- IFsrmQuotaManager *This,
- SAFEARRAY **variables);
- HRESULT (STDMETHODCALLTYPE *get_ActionVariableDescriptions)(
- IFsrmQuotaManager *This,
- SAFEARRAY **descriptions);
- HRESULT (STDMETHODCALLTYPE *CreateQuota)(
- IFsrmQuotaManager *This,
- BSTR path,
- IFsrmQuota **quota);
- HRESULT (STDMETHODCALLTYPE *CreateAutoApplyQuota)(
- IFsrmQuotaManager *This,
- BSTR quotaTemplateName,
- BSTR path,
- IFsrmAutoApplyQuota **quota);
- HRESULT (STDMETHODCALLTYPE *GetQuota)(
- IFsrmQuotaManager *This,
- BSTR path,
- IFsrmQuota **quota);
- HRESULT (STDMETHODCALLTYPE *GetAutoApplyQuota)(
- IFsrmQuotaManager *This,
- BSTR path,
- IFsrmAutoApplyQuota **quota);
- HRESULT (STDMETHODCALLTYPE *GetRestrictiveQuota)(
- IFsrmQuotaManager *This,
- BSTR path,
- IFsrmQuota **quota);
- HRESULT (STDMETHODCALLTYPE *EnumQuotas)(
- IFsrmQuotaManager *This,
- BSTR path,
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotas);
- HRESULT (STDMETHODCALLTYPE *EnumAutoApplyQuotas)(
- IFsrmQuotaManager *This,
- BSTR path,
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotas);
- HRESULT (STDMETHODCALLTYPE *EnumEffectiveQuotas)(
- IFsrmQuotaManager *This,
- BSTR path,
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotas);
- HRESULT (STDMETHODCALLTYPE *Scan)(
- IFsrmQuotaManager *This,
- BSTR strPath);
- HRESULT (STDMETHODCALLTYPE *CreateQuotaCollection)(
- IFsrmQuotaManager *This,
- IFsrmCommittableCollection **collection);
- END_INTERFACE
- } IFsrmQuotaManagerVtbl;
- interface IFsrmQuotaManager {
- CONST_VTBL IFsrmQuotaManagerVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IFsrmQuotaManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IFsrmQuotaManager_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IFsrmQuotaManager_Release(This) (This)->lpVtbl->Release(This)
- /*** IDispatch methods ***/
- #define IFsrmQuotaManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
- #define IFsrmQuotaManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IFsrmQuotaManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IFsrmQuotaManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- /*** IFsrmQuotaManager methods ***/
- #define IFsrmQuotaManager_get_ActionVariables(This,variables) (This)->lpVtbl->get_ActionVariables(This,variables)
- #define IFsrmQuotaManager_get_ActionVariableDescriptions(This,descriptions) (This)->lpVtbl->get_ActionVariableDescriptions(This,descriptions)
- #define IFsrmQuotaManager_CreateQuota(This,path,quota) (This)->lpVtbl->CreateQuota(This,path,quota)
- #define IFsrmQuotaManager_CreateAutoApplyQuota(This,quotaTemplateName,path,quota) (This)->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota)
- #define IFsrmQuotaManager_GetQuota(This,path,quota) (This)->lpVtbl->GetQuota(This,path,quota)
- #define IFsrmQuotaManager_GetAutoApplyQuota(This,path,quota) (This)->lpVtbl->GetAutoApplyQuota(This,path,quota)
- #define IFsrmQuotaManager_GetRestrictiveQuota(This,path,quota) (This)->lpVtbl->GetRestrictiveQuota(This,path,quota)
- #define IFsrmQuotaManager_EnumQuotas(This,path,options,quotas) (This)->lpVtbl->EnumQuotas(This,path,options,quotas)
- #define IFsrmQuotaManager_EnumAutoApplyQuotas(This,path,options,quotas) (This)->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas)
- #define IFsrmQuotaManager_EnumEffectiveQuotas(This,path,options,quotas) (This)->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas)
- #define IFsrmQuotaManager_Scan(This,strPath) (This)->lpVtbl->Scan(This,strPath)
- #define IFsrmQuotaManager_CreateQuotaCollection(This,collection) (This)->lpVtbl->CreateQuotaCollection(This,collection)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaManager_QueryInterface(IFsrmQuotaManager* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IFsrmQuotaManager_AddRef(IFsrmQuotaManager* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IFsrmQuotaManager_Release(IFsrmQuotaManager* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IDispatch methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaManager_GetTypeInfoCount(IFsrmQuotaManager* This,UINT *pctinfo) {
- return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_GetTypeInfo(IFsrmQuotaManager* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
- return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_GetIDsOfNames(IFsrmQuotaManager* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
- return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_Invoke(IFsrmQuotaManager* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
- return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
- }
- /*** IFsrmQuotaManager methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaManager_get_ActionVariables(IFsrmQuotaManager* This,SAFEARRAY **variables) {
- return This->lpVtbl->get_ActionVariables(This,variables);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_get_ActionVariableDescriptions(IFsrmQuotaManager* This,SAFEARRAY **descriptions) {
- return This->lpVtbl->get_ActionVariableDescriptions(This,descriptions);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_CreateQuota(IFsrmQuotaManager* This,BSTR path,IFsrmQuota **quota) {
- return This->lpVtbl->CreateQuota(This,path,quota);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_CreateAutoApplyQuota(IFsrmQuotaManager* This,BSTR quotaTemplateName,BSTR path,IFsrmAutoApplyQuota **quota) {
- return This->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_GetQuota(IFsrmQuotaManager* This,BSTR path,IFsrmQuota **quota) {
- return This->lpVtbl->GetQuota(This,path,quota);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_GetAutoApplyQuota(IFsrmQuotaManager* This,BSTR path,IFsrmAutoApplyQuota **quota) {
- return This->lpVtbl->GetAutoApplyQuota(This,path,quota);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_GetRestrictiveQuota(IFsrmQuotaManager* This,BSTR path,IFsrmQuota **quota) {
- return This->lpVtbl->GetRestrictiveQuota(This,path,quota);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_EnumQuotas(IFsrmQuotaManager* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
- return This->lpVtbl->EnumQuotas(This,path,options,quotas);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_EnumAutoApplyQuotas(IFsrmQuotaManager* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
- return This->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_EnumEffectiveQuotas(IFsrmQuotaManager* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
- return This->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_Scan(IFsrmQuotaManager* This,BSTR strPath) {
- return This->lpVtbl->Scan(This,strPath);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManager_CreateQuotaCollection(IFsrmQuotaManager* This,IFsrmCommittableCollection **collection) {
- return This->lpVtbl->CreateQuotaCollection(This,collection);
- }
- #endif
- #endif
- #endif
- #endif /* __IFsrmQuotaManager_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IFsrmQuotaTemplateManager interface
- */
- #ifndef __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__
- #define __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IFsrmQuotaTemplateManager, 0x4173ac41, 0x172d, 0x4d52, 0x96,0x3c, 0xfd,0xc7,0xe4,0x15,0xf7,0x17);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("4173ac41-172d-4d52-963c-fdc7e415f717")
- IFsrmQuotaTemplateManager : public IDispatch
- {
- virtual HRESULT STDMETHODCALLTYPE CreateTemplate(
- IFsrmQuotaTemplate **quotaTemplate) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetTemplate(
- BSTR name,
- IFsrmQuotaTemplate **quotaTemplate) = 0;
- virtual HRESULT STDMETHODCALLTYPE EnumTemplates(
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotaTemplates) = 0;
- virtual HRESULT STDMETHODCALLTYPE ExportTemplates(
- VARIANT *quotaTemplateNamesArray,
- BSTR *serializedQuotaTemplates) = 0;
- virtual HRESULT STDMETHODCALLTYPE ImportTemplates(
- BSTR serializedQuotaTemplates,
- VARIANT *quotaTemplateNamesArray,
- IFsrmCommittableCollection **quotaTemplates) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IFsrmQuotaTemplateManager, 0x4173ac41, 0x172d, 0x4d52, 0x96,0x3c, 0xfd,0xc7,0xe4,0x15,0xf7,0x17)
- #endif
- #else
- typedef struct IFsrmQuotaTemplateManagerVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IFsrmQuotaTemplateManager *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IFsrmQuotaTemplateManager *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IFsrmQuotaTemplateManager *This);
- /*** IDispatch methods ***/
- HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
- IFsrmQuotaTemplateManager *This,
- UINT *pctinfo);
- HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
- IFsrmQuotaTemplateManager *This,
- UINT iTInfo,
- LCID lcid,
- ITypeInfo **ppTInfo);
- HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
- IFsrmQuotaTemplateManager *This,
- REFIID riid,
- LPOLESTR *rgszNames,
- UINT cNames,
- LCID lcid,
- DISPID *rgDispId);
- HRESULT (STDMETHODCALLTYPE *Invoke)(
- IFsrmQuotaTemplateManager *This,
- DISPID dispIdMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- DISPPARAMS *pDispParams,
- VARIANT *pVarResult,
- EXCEPINFO *pExcepInfo,
- UINT *puArgErr);
- /*** IFsrmQuotaTemplateManager methods ***/
- HRESULT (STDMETHODCALLTYPE *CreateTemplate)(
- IFsrmQuotaTemplateManager *This,
- IFsrmQuotaTemplate **quotaTemplate);
- HRESULT (STDMETHODCALLTYPE *GetTemplate)(
- IFsrmQuotaTemplateManager *This,
- BSTR name,
- IFsrmQuotaTemplate **quotaTemplate);
- HRESULT (STDMETHODCALLTYPE *EnumTemplates)(
- IFsrmQuotaTemplateManager *This,
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotaTemplates);
- HRESULT (STDMETHODCALLTYPE *ExportTemplates)(
- IFsrmQuotaTemplateManager *This,
- VARIANT *quotaTemplateNamesArray,
- BSTR *serializedQuotaTemplates);
- HRESULT (STDMETHODCALLTYPE *ImportTemplates)(
- IFsrmQuotaTemplateManager *This,
- BSTR serializedQuotaTemplates,
- VARIANT *quotaTemplateNamesArray,
- IFsrmCommittableCollection **quotaTemplates);
- END_INTERFACE
- } IFsrmQuotaTemplateManagerVtbl;
- interface IFsrmQuotaTemplateManager {
- CONST_VTBL IFsrmQuotaTemplateManagerVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IFsrmQuotaTemplateManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IFsrmQuotaTemplateManager_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IFsrmQuotaTemplateManager_Release(This) (This)->lpVtbl->Release(This)
- /*** IDispatch methods ***/
- #define IFsrmQuotaTemplateManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
- #define IFsrmQuotaTemplateManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IFsrmQuotaTemplateManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IFsrmQuotaTemplateManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- /*** IFsrmQuotaTemplateManager methods ***/
- #define IFsrmQuotaTemplateManager_CreateTemplate(This,quotaTemplate) (This)->lpVtbl->CreateTemplate(This,quotaTemplate)
- #define IFsrmQuotaTemplateManager_GetTemplate(This,name,quotaTemplate) (This)->lpVtbl->GetTemplate(This,name,quotaTemplate)
- #define IFsrmQuotaTemplateManager_EnumTemplates(This,options,quotaTemplates) (This)->lpVtbl->EnumTemplates(This,options,quotaTemplates)
- #define IFsrmQuotaTemplateManager_ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates) (This)->lpVtbl->ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates)
- #define IFsrmQuotaTemplateManager_ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates) (This)->lpVtbl->ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_QueryInterface(IFsrmQuotaTemplateManager* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IFsrmQuotaTemplateManager_AddRef(IFsrmQuotaTemplateManager* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IFsrmQuotaTemplateManager_Release(IFsrmQuotaTemplateManager* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IDispatch methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetTypeInfoCount(IFsrmQuotaTemplateManager* This,UINT *pctinfo) {
- return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetTypeInfo(IFsrmQuotaTemplateManager* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
- return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetIDsOfNames(IFsrmQuotaTemplateManager* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
- return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_Invoke(IFsrmQuotaTemplateManager* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
- return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
- }
- /*** IFsrmQuotaTemplateManager methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_CreateTemplate(IFsrmQuotaTemplateManager* This,IFsrmQuotaTemplate **quotaTemplate) {
- return This->lpVtbl->CreateTemplate(This,quotaTemplate);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_GetTemplate(IFsrmQuotaTemplateManager* This,BSTR name,IFsrmQuotaTemplate **quotaTemplate) {
- return This->lpVtbl->GetTemplate(This,name,quotaTemplate);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_EnumTemplates(IFsrmQuotaTemplateManager* This,FsrmEnumOptions options,IFsrmCommittableCollection **quotaTemplates) {
- return This->lpVtbl->EnumTemplates(This,options,quotaTemplates);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_ExportTemplates(IFsrmQuotaTemplateManager* This,VARIANT *quotaTemplateNamesArray,BSTR *serializedQuotaTemplates) {
- return This->lpVtbl->ExportTemplates(This,quotaTemplateNamesArray,serializedQuotaTemplates);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateManager_ImportTemplates(IFsrmQuotaTemplateManager* This,BSTR serializedQuotaTemplates,VARIANT *quotaTemplateNamesArray,IFsrmCommittableCollection **quotaTemplates) {
- return This->lpVtbl->ImportTemplates(This,serializedQuotaTemplates,quotaTemplateNamesArray,quotaTemplates);
- }
- #endif
- #endif
- #endif
- #endif /* __IFsrmQuotaTemplateManager_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IFsrmQuotaBase interface
- */
- #ifndef __IFsrmQuotaBase_INTERFACE_DEFINED__
- #define __IFsrmQuotaBase_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IFsrmQuotaBase, 0x1568a795, 0x3924, 0x4118, 0xb7,0x4b, 0x68,0xd8,0xf0,0xfa,0x5d,0xaf);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("1568a795-3924-4118-b74b-68d8f0fa5daf")
- IFsrmQuotaBase : public IFsrmObject
- {
- virtual HRESULT STDMETHODCALLTYPE get_QuotaLimit(
- VARIANT *quotaLimit) = 0;
- virtual HRESULT STDMETHODCALLTYPE put_QuotaLimit(
- VARIANT quotaLimit) = 0;
- virtual HRESULT STDMETHODCALLTYPE get_QuotaFlags(
- LONG *quotaFlags) = 0;
- virtual HRESULT STDMETHODCALLTYPE put_QuotaFlags(
- LONG quotaFlags) = 0;
- virtual HRESULT STDMETHODCALLTYPE get_Thresholds(
- SAFEARRAY **thresholds) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddThreshold(
- FSRM_QUOTA_THRESHOLD threshold) = 0;
- virtual HRESULT STDMETHODCALLTYPE DeleteThreshold(
- FSRM_QUOTA_THRESHOLD threshold) = 0;
- virtual HRESULT STDMETHODCALLTYPE ModifyThreshold(
- FSRM_QUOTA_THRESHOLD threshold,
- FSRM_QUOTA_THRESHOLD newThreshold) = 0;
- virtual HRESULT STDMETHODCALLTYPE CreateThresholdAction(
- FSRM_QUOTA_THRESHOLD threshold,
- FsrmActionType actionType,
- IFsrmAction **action) = 0;
- virtual HRESULT STDMETHODCALLTYPE EnumThresholdActions(
- FSRM_QUOTA_THRESHOLD threshold,
- IFsrmCollection **actions) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IFsrmQuotaBase, 0x1568a795, 0x3924, 0x4118, 0xb7,0x4b, 0x68,0xd8,0xf0,0xfa,0x5d,0xaf)
- #endif
- #else
- typedef struct IFsrmQuotaBaseVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IFsrmQuotaBase *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IFsrmQuotaBase *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IFsrmQuotaBase *This);
- /*** IDispatch methods ***/
- HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
- IFsrmQuotaBase *This,
- UINT *pctinfo);
- HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
- IFsrmQuotaBase *This,
- UINT iTInfo,
- LCID lcid,
- ITypeInfo **ppTInfo);
- HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
- IFsrmQuotaBase *This,
- REFIID riid,
- LPOLESTR *rgszNames,
- UINT cNames,
- LCID lcid,
- DISPID *rgDispId);
- HRESULT (STDMETHODCALLTYPE *Invoke)(
- IFsrmQuotaBase *This,
- DISPID dispIdMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- DISPPARAMS *pDispParams,
- VARIANT *pVarResult,
- EXCEPINFO *pExcepInfo,
- UINT *puArgErr);
- /*** IFsrmObject methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Id)(
- IFsrmQuotaBase *This,
- FSRM_OBJECT_ID *id);
- HRESULT (STDMETHODCALLTYPE *get_Description)(
- IFsrmQuotaBase *This,
- BSTR *description);
- HRESULT (STDMETHODCALLTYPE *put_Description)(
- IFsrmQuotaBase *This,
- BSTR description);
- HRESULT (STDMETHODCALLTYPE *Delete)(
- IFsrmQuotaBase *This);
- HRESULT (STDMETHODCALLTYPE *Commit)(
- IFsrmQuotaBase *This);
- /*** IFsrmQuotaBase methods ***/
- HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
- IFsrmQuotaBase *This,
- VARIANT *quotaLimit);
- HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
- IFsrmQuotaBase *This,
- VARIANT quotaLimit);
- HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
- IFsrmQuotaBase *This,
- LONG *quotaFlags);
- HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
- IFsrmQuotaBase *This,
- LONG quotaFlags);
- HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
- IFsrmQuotaBase *This,
- SAFEARRAY **thresholds);
- HRESULT (STDMETHODCALLTYPE *AddThreshold)(
- IFsrmQuotaBase *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
- IFsrmQuotaBase *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
- IFsrmQuotaBase *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FSRM_QUOTA_THRESHOLD newThreshold);
- HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
- IFsrmQuotaBase *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FsrmActionType actionType,
- IFsrmAction **action);
- HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
- IFsrmQuotaBase *This,
- FSRM_QUOTA_THRESHOLD threshold,
- IFsrmCollection **actions);
- END_INTERFACE
- } IFsrmQuotaBaseVtbl;
- interface IFsrmQuotaBase {
- CONST_VTBL IFsrmQuotaBaseVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IFsrmQuotaBase_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IFsrmQuotaBase_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IFsrmQuotaBase_Release(This) (This)->lpVtbl->Release(This)
- /*** IDispatch methods ***/
- #define IFsrmQuotaBase_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
- #define IFsrmQuotaBase_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IFsrmQuotaBase_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IFsrmQuotaBase_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- /*** IFsrmObject methods ***/
- #define IFsrmQuotaBase_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
- #define IFsrmQuotaBase_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
- #define IFsrmQuotaBase_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
- #define IFsrmQuotaBase_Delete(This) (This)->lpVtbl->Delete(This)
- #define IFsrmQuotaBase_Commit(This) (This)->lpVtbl->Commit(This)
- /*** IFsrmQuotaBase methods ***/
- #define IFsrmQuotaBase_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
- #define IFsrmQuotaBase_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
- #define IFsrmQuotaBase_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
- #define IFsrmQuotaBase_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
- #define IFsrmQuotaBase_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
- #define IFsrmQuotaBase_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
- #define IFsrmQuotaBase_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
- #define IFsrmQuotaBase_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
- #define IFsrmQuotaBase_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
- #define IFsrmQuotaBase_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaBase_QueryInterface(IFsrmQuotaBase* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IFsrmQuotaBase_AddRef(IFsrmQuotaBase* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IFsrmQuotaBase_Release(IFsrmQuotaBase* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IDispatch methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaBase_GetTypeInfoCount(IFsrmQuotaBase* This,UINT *pctinfo) {
- return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_GetTypeInfo(IFsrmQuotaBase* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
- return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_GetIDsOfNames(IFsrmQuotaBase* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
- return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_Invoke(IFsrmQuotaBase* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
- return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
- }
- /*** IFsrmObject methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaBase_get_Id(IFsrmQuotaBase* This,FSRM_OBJECT_ID *id) {
- return This->lpVtbl->get_Id(This,id);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_get_Description(IFsrmQuotaBase* This,BSTR *description) {
- return This->lpVtbl->get_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_put_Description(IFsrmQuotaBase* This,BSTR description) {
- return This->lpVtbl->put_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_Delete(IFsrmQuotaBase* This) {
- return This->lpVtbl->Delete(This);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_Commit(IFsrmQuotaBase* This) {
- return This->lpVtbl->Commit(This);
- }
- /*** IFsrmQuotaBase methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaBase_get_QuotaLimit(IFsrmQuotaBase* This,VARIANT *quotaLimit) {
- return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_put_QuotaLimit(IFsrmQuotaBase* This,VARIANT quotaLimit) {
- return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_get_QuotaFlags(IFsrmQuotaBase* This,LONG *quotaFlags) {
- return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_put_QuotaFlags(IFsrmQuotaBase* This,LONG quotaFlags) {
- return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_get_Thresholds(IFsrmQuotaBase* This,SAFEARRAY **thresholds) {
- return This->lpVtbl->get_Thresholds(This,thresholds);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_AddThreshold(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->AddThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_DeleteThreshold(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->DeleteThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_ModifyThreshold(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
- return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_CreateThresholdAction(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
- return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
- }
- static FORCEINLINE HRESULT IFsrmQuotaBase_EnumThresholdActions(IFsrmQuotaBase* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
- return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
- }
- #endif
- #endif
- #endif
- #endif /* __IFsrmQuotaBase_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IFsrmQuotaObject interface
- */
- #ifndef __IFsrmQuotaObject_INTERFACE_DEFINED__
- #define __IFsrmQuotaObject_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IFsrmQuotaObject, 0x42dc3511, 0x61d5, 0x48ae, 0xb6,0xdc, 0x59,0xfc,0x00,0xc0,0xa8,0xd6);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("42dc3511-61d5-48ae-b6dc-59fc00c0a8d6")
- IFsrmQuotaObject : public IFsrmQuotaBase
- {
- virtual HRESULT STDMETHODCALLTYPE get_Path(
- BSTR *path) = 0;
- virtual HRESULT STDMETHODCALLTYPE get_UserSid(
- BSTR *userSid) = 0;
- virtual HRESULT STDMETHODCALLTYPE get_UserAccount(
- BSTR *userAccount) = 0;
- virtual HRESULT STDMETHODCALLTYPE get_SourceTemplateName(
- BSTR *quotaTemplateName) = 0;
- virtual HRESULT STDMETHODCALLTYPE get_MatchesSourceTemplate(
- VARIANT_BOOL *matches) = 0;
- virtual HRESULT STDMETHODCALLTYPE ApplyTemplate(
- BSTR quotaTemplateName) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IFsrmQuotaObject, 0x42dc3511, 0x61d5, 0x48ae, 0xb6,0xdc, 0x59,0xfc,0x00,0xc0,0xa8,0xd6)
- #endif
- #else
- typedef struct IFsrmQuotaObjectVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IFsrmQuotaObject *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IFsrmQuotaObject *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IFsrmQuotaObject *This);
- /*** IDispatch methods ***/
- HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
- IFsrmQuotaObject *This,
- UINT *pctinfo);
- HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
- IFsrmQuotaObject *This,
- UINT iTInfo,
- LCID lcid,
- ITypeInfo **ppTInfo);
- HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
- IFsrmQuotaObject *This,
- REFIID riid,
- LPOLESTR *rgszNames,
- UINT cNames,
- LCID lcid,
- DISPID *rgDispId);
- HRESULT (STDMETHODCALLTYPE *Invoke)(
- IFsrmQuotaObject *This,
- DISPID dispIdMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- DISPPARAMS *pDispParams,
- VARIANT *pVarResult,
- EXCEPINFO *pExcepInfo,
- UINT *puArgErr);
- /*** IFsrmObject methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Id)(
- IFsrmQuotaObject *This,
- FSRM_OBJECT_ID *id);
- HRESULT (STDMETHODCALLTYPE *get_Description)(
- IFsrmQuotaObject *This,
- BSTR *description);
- HRESULT (STDMETHODCALLTYPE *put_Description)(
- IFsrmQuotaObject *This,
- BSTR description);
- HRESULT (STDMETHODCALLTYPE *Delete)(
- IFsrmQuotaObject *This);
- HRESULT (STDMETHODCALLTYPE *Commit)(
- IFsrmQuotaObject *This);
- /*** IFsrmQuotaBase methods ***/
- HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
- IFsrmQuotaObject *This,
- VARIANT *quotaLimit);
- HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
- IFsrmQuotaObject *This,
- VARIANT quotaLimit);
- HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
- IFsrmQuotaObject *This,
- LONG *quotaFlags);
- HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
- IFsrmQuotaObject *This,
- LONG quotaFlags);
- HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
- IFsrmQuotaObject *This,
- SAFEARRAY **thresholds);
- HRESULT (STDMETHODCALLTYPE *AddThreshold)(
- IFsrmQuotaObject *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
- IFsrmQuotaObject *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
- IFsrmQuotaObject *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FSRM_QUOTA_THRESHOLD newThreshold);
- HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
- IFsrmQuotaObject *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FsrmActionType actionType,
- IFsrmAction **action);
- HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
- IFsrmQuotaObject *This,
- FSRM_QUOTA_THRESHOLD threshold,
- IFsrmCollection **actions);
- /*** IFsrmQuotaObject methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Path)(
- IFsrmQuotaObject *This,
- BSTR *path);
- HRESULT (STDMETHODCALLTYPE *get_UserSid)(
- IFsrmQuotaObject *This,
- BSTR *userSid);
- HRESULT (STDMETHODCALLTYPE *get_UserAccount)(
- IFsrmQuotaObject *This,
- BSTR *userAccount);
- HRESULT (STDMETHODCALLTYPE *get_SourceTemplateName)(
- IFsrmQuotaObject *This,
- BSTR *quotaTemplateName);
- HRESULT (STDMETHODCALLTYPE *get_MatchesSourceTemplate)(
- IFsrmQuotaObject *This,
- VARIANT_BOOL *matches);
- HRESULT (STDMETHODCALLTYPE *ApplyTemplate)(
- IFsrmQuotaObject *This,
- BSTR quotaTemplateName);
- END_INTERFACE
- } IFsrmQuotaObjectVtbl;
- interface IFsrmQuotaObject {
- CONST_VTBL IFsrmQuotaObjectVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IFsrmQuotaObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IFsrmQuotaObject_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IFsrmQuotaObject_Release(This) (This)->lpVtbl->Release(This)
- /*** IDispatch methods ***/
- #define IFsrmQuotaObject_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
- #define IFsrmQuotaObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IFsrmQuotaObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IFsrmQuotaObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- /*** IFsrmObject methods ***/
- #define IFsrmQuotaObject_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
- #define IFsrmQuotaObject_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
- #define IFsrmQuotaObject_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
- #define IFsrmQuotaObject_Delete(This) (This)->lpVtbl->Delete(This)
- #define IFsrmQuotaObject_Commit(This) (This)->lpVtbl->Commit(This)
- /*** IFsrmQuotaBase methods ***/
- #define IFsrmQuotaObject_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
- #define IFsrmQuotaObject_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
- #define IFsrmQuotaObject_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
- #define IFsrmQuotaObject_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
- #define IFsrmQuotaObject_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
- #define IFsrmQuotaObject_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
- #define IFsrmQuotaObject_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
- #define IFsrmQuotaObject_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
- #define IFsrmQuotaObject_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
- #define IFsrmQuotaObject_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
- /*** IFsrmQuotaObject methods ***/
- #define IFsrmQuotaObject_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
- #define IFsrmQuotaObject_get_UserSid(This,userSid) (This)->lpVtbl->get_UserSid(This,userSid)
- #define IFsrmQuotaObject_get_UserAccount(This,userAccount) (This)->lpVtbl->get_UserAccount(This,userAccount)
- #define IFsrmQuotaObject_get_SourceTemplateName(This,quotaTemplateName) (This)->lpVtbl->get_SourceTemplateName(This,quotaTemplateName)
- #define IFsrmQuotaObject_get_MatchesSourceTemplate(This,matches) (This)->lpVtbl->get_MatchesSourceTemplate(This,matches)
- #define IFsrmQuotaObject_ApplyTemplate(This,quotaTemplateName) (This)->lpVtbl->ApplyTemplate(This,quotaTemplateName)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaObject_QueryInterface(IFsrmQuotaObject* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IFsrmQuotaObject_AddRef(IFsrmQuotaObject* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IFsrmQuotaObject_Release(IFsrmQuotaObject* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IDispatch methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaObject_GetTypeInfoCount(IFsrmQuotaObject* This,UINT *pctinfo) {
- return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_GetTypeInfo(IFsrmQuotaObject* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
- return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_GetIDsOfNames(IFsrmQuotaObject* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
- return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_Invoke(IFsrmQuotaObject* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
- return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
- }
- /*** IFsrmObject methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaObject_get_Id(IFsrmQuotaObject* This,FSRM_OBJECT_ID *id) {
- return This->lpVtbl->get_Id(This,id);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_get_Description(IFsrmQuotaObject* This,BSTR *description) {
- return This->lpVtbl->get_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_put_Description(IFsrmQuotaObject* This,BSTR description) {
- return This->lpVtbl->put_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_Delete(IFsrmQuotaObject* This) {
- return This->lpVtbl->Delete(This);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_Commit(IFsrmQuotaObject* This) {
- return This->lpVtbl->Commit(This);
- }
- /*** IFsrmQuotaBase methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaObject_get_QuotaLimit(IFsrmQuotaObject* This,VARIANT *quotaLimit) {
- return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_put_QuotaLimit(IFsrmQuotaObject* This,VARIANT quotaLimit) {
- return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_get_QuotaFlags(IFsrmQuotaObject* This,LONG *quotaFlags) {
- return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_put_QuotaFlags(IFsrmQuotaObject* This,LONG quotaFlags) {
- return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_get_Thresholds(IFsrmQuotaObject* This,SAFEARRAY **thresholds) {
- return This->lpVtbl->get_Thresholds(This,thresholds);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_AddThreshold(IFsrmQuotaObject* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->AddThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_DeleteThreshold(IFsrmQuotaObject* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->DeleteThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_ModifyThreshold(IFsrmQuotaObject* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
- return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_CreateThresholdAction(IFsrmQuotaObject* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
- return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_EnumThresholdActions(IFsrmQuotaObject* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
- return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
- }
- /*** IFsrmQuotaObject methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaObject_get_Path(IFsrmQuotaObject* This,BSTR *path) {
- return This->lpVtbl->get_Path(This,path);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_get_UserSid(IFsrmQuotaObject* This,BSTR *userSid) {
- return This->lpVtbl->get_UserSid(This,userSid);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_get_UserAccount(IFsrmQuotaObject* This,BSTR *userAccount) {
- return This->lpVtbl->get_UserAccount(This,userAccount);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_get_SourceTemplateName(IFsrmQuotaObject* This,BSTR *quotaTemplateName) {
- return This->lpVtbl->get_SourceTemplateName(This,quotaTemplateName);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_get_MatchesSourceTemplate(IFsrmQuotaObject* This,VARIANT_BOOL *matches) {
- return This->lpVtbl->get_MatchesSourceTemplate(This,matches);
- }
- static FORCEINLINE HRESULT IFsrmQuotaObject_ApplyTemplate(IFsrmQuotaObject* This,BSTR quotaTemplateName) {
- return This->lpVtbl->ApplyTemplate(This,quotaTemplateName);
- }
- #endif
- #endif
- #endif
- #endif /* __IFsrmQuotaObject_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IFsrmQuotaTemplate interface
- */
- #ifndef __IFsrmQuotaTemplate_INTERFACE_DEFINED__
- #define __IFsrmQuotaTemplate_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IFsrmQuotaTemplate, 0xa2efab31, 0x295e, 0x46bb, 0xb9,0x76, 0xe8,0x6d,0x58,0xb5,0x2e,0x8b);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("a2efab31-295e-46bb-b976-e86d58b52e8b")
- IFsrmQuotaTemplate : public IFsrmQuotaBase
- {
- virtual HRESULT STDMETHODCALLTYPE get_Name(
- BSTR *name) = 0;
- virtual HRESULT STDMETHODCALLTYPE put_Name(
- BSTR name) = 0;
- virtual HRESULT STDMETHODCALLTYPE CopyTemplate(
- BSTR quotaTemplateName) = 0;
- virtual HRESULT STDMETHODCALLTYPE CommitAndUpdateDerived(
- FsrmCommitOptions commitOptions,
- FsrmTemplateApplyOptions applyOptions,
- IFsrmDerivedObjectsResult **derivedObjectsResult) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IFsrmQuotaTemplate, 0xa2efab31, 0x295e, 0x46bb, 0xb9,0x76, 0xe8,0x6d,0x58,0xb5,0x2e,0x8b)
- #endif
- #else
- typedef struct IFsrmQuotaTemplateVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IFsrmQuotaTemplate *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IFsrmQuotaTemplate *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IFsrmQuotaTemplate *This);
- /*** IDispatch methods ***/
- HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
- IFsrmQuotaTemplate *This,
- UINT *pctinfo);
- HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
- IFsrmQuotaTemplate *This,
- UINT iTInfo,
- LCID lcid,
- ITypeInfo **ppTInfo);
- HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
- IFsrmQuotaTemplate *This,
- REFIID riid,
- LPOLESTR *rgszNames,
- UINT cNames,
- LCID lcid,
- DISPID *rgDispId);
- HRESULT (STDMETHODCALLTYPE *Invoke)(
- IFsrmQuotaTemplate *This,
- DISPID dispIdMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- DISPPARAMS *pDispParams,
- VARIANT *pVarResult,
- EXCEPINFO *pExcepInfo,
- UINT *puArgErr);
- /*** IFsrmObject methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Id)(
- IFsrmQuotaTemplate *This,
- FSRM_OBJECT_ID *id);
- HRESULT (STDMETHODCALLTYPE *get_Description)(
- IFsrmQuotaTemplate *This,
- BSTR *description);
- HRESULT (STDMETHODCALLTYPE *put_Description)(
- IFsrmQuotaTemplate *This,
- BSTR description);
- HRESULT (STDMETHODCALLTYPE *Delete)(
- IFsrmQuotaTemplate *This);
- HRESULT (STDMETHODCALLTYPE *Commit)(
- IFsrmQuotaTemplate *This);
- /*** IFsrmQuotaBase methods ***/
- HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
- IFsrmQuotaTemplate *This,
- VARIANT *quotaLimit);
- HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
- IFsrmQuotaTemplate *This,
- VARIANT quotaLimit);
- HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
- IFsrmQuotaTemplate *This,
- LONG *quotaFlags);
- HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
- IFsrmQuotaTemplate *This,
- LONG quotaFlags);
- HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
- IFsrmQuotaTemplate *This,
- SAFEARRAY **thresholds);
- HRESULT (STDMETHODCALLTYPE *AddThreshold)(
- IFsrmQuotaTemplate *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
- IFsrmQuotaTemplate *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
- IFsrmQuotaTemplate *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FSRM_QUOTA_THRESHOLD newThreshold);
- HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
- IFsrmQuotaTemplate *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FsrmActionType actionType,
- IFsrmAction **action);
- HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
- IFsrmQuotaTemplate *This,
- FSRM_QUOTA_THRESHOLD threshold,
- IFsrmCollection **actions);
- /*** IFsrmQuotaTemplate methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Name)(
- IFsrmQuotaTemplate *This,
- BSTR *name);
- HRESULT (STDMETHODCALLTYPE *put_Name)(
- IFsrmQuotaTemplate *This,
- BSTR name);
- HRESULT (STDMETHODCALLTYPE *CopyTemplate)(
- IFsrmQuotaTemplate *This,
- BSTR quotaTemplateName);
- HRESULT (STDMETHODCALLTYPE *CommitAndUpdateDerived)(
- IFsrmQuotaTemplate *This,
- FsrmCommitOptions commitOptions,
- FsrmTemplateApplyOptions applyOptions,
- IFsrmDerivedObjectsResult **derivedObjectsResult);
- END_INTERFACE
- } IFsrmQuotaTemplateVtbl;
- interface IFsrmQuotaTemplate {
- CONST_VTBL IFsrmQuotaTemplateVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IFsrmQuotaTemplate_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IFsrmQuotaTemplate_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IFsrmQuotaTemplate_Release(This) (This)->lpVtbl->Release(This)
- /*** IDispatch methods ***/
- #define IFsrmQuotaTemplate_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
- #define IFsrmQuotaTemplate_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IFsrmQuotaTemplate_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IFsrmQuotaTemplate_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- /*** IFsrmObject methods ***/
- #define IFsrmQuotaTemplate_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
- #define IFsrmQuotaTemplate_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
- #define IFsrmQuotaTemplate_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
- #define IFsrmQuotaTemplate_Delete(This) (This)->lpVtbl->Delete(This)
- #define IFsrmQuotaTemplate_Commit(This) (This)->lpVtbl->Commit(This)
- /*** IFsrmQuotaBase methods ***/
- #define IFsrmQuotaTemplate_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
- #define IFsrmQuotaTemplate_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
- #define IFsrmQuotaTemplate_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
- #define IFsrmQuotaTemplate_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
- #define IFsrmQuotaTemplate_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
- #define IFsrmQuotaTemplate_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
- #define IFsrmQuotaTemplate_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
- #define IFsrmQuotaTemplate_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
- #define IFsrmQuotaTemplate_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
- #define IFsrmQuotaTemplate_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
- /*** IFsrmQuotaTemplate methods ***/
- #define IFsrmQuotaTemplate_get_Name(This,name) (This)->lpVtbl->get_Name(This,name)
- #define IFsrmQuotaTemplate_put_Name(This,name) (This)->lpVtbl->put_Name(This,name)
- #define IFsrmQuotaTemplate_CopyTemplate(This,quotaTemplateName) (This)->lpVtbl->CopyTemplate(This,quotaTemplateName)
- #define IFsrmQuotaTemplate_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) (This)->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_QueryInterface(IFsrmQuotaTemplate* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IFsrmQuotaTemplate_AddRef(IFsrmQuotaTemplate* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IFsrmQuotaTemplate_Release(IFsrmQuotaTemplate* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IDispatch methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_GetTypeInfoCount(IFsrmQuotaTemplate* This,UINT *pctinfo) {
- return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_GetTypeInfo(IFsrmQuotaTemplate* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
- return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_GetIDsOfNames(IFsrmQuotaTemplate* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
- return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_Invoke(IFsrmQuotaTemplate* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
- return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
- }
- /*** IFsrmObject methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_Id(IFsrmQuotaTemplate* This,FSRM_OBJECT_ID *id) {
- return This->lpVtbl->get_Id(This,id);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_Description(IFsrmQuotaTemplate* This,BSTR *description) {
- return This->lpVtbl->get_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_put_Description(IFsrmQuotaTemplate* This,BSTR description) {
- return This->lpVtbl->put_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_Delete(IFsrmQuotaTemplate* This) {
- return This->lpVtbl->Delete(This);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_Commit(IFsrmQuotaTemplate* This) {
- return This->lpVtbl->Commit(This);
- }
- /*** IFsrmQuotaBase methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_QuotaLimit(IFsrmQuotaTemplate* This,VARIANT *quotaLimit) {
- return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_put_QuotaLimit(IFsrmQuotaTemplate* This,VARIANT quotaLimit) {
- return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_QuotaFlags(IFsrmQuotaTemplate* This,LONG *quotaFlags) {
- return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_put_QuotaFlags(IFsrmQuotaTemplate* This,LONG quotaFlags) {
- return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_Thresholds(IFsrmQuotaTemplate* This,SAFEARRAY **thresholds) {
- return This->lpVtbl->get_Thresholds(This,thresholds);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_AddThreshold(IFsrmQuotaTemplate* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->AddThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_DeleteThreshold(IFsrmQuotaTemplate* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->DeleteThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_ModifyThreshold(IFsrmQuotaTemplate* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
- return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_CreateThresholdAction(IFsrmQuotaTemplate* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
- return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_EnumThresholdActions(IFsrmQuotaTemplate* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
- return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
- }
- /*** IFsrmQuotaTemplate methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_get_Name(IFsrmQuotaTemplate* This,BSTR *name) {
- return This->lpVtbl->get_Name(This,name);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_put_Name(IFsrmQuotaTemplate* This,BSTR name) {
- return This->lpVtbl->put_Name(This,name);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_CopyTemplate(IFsrmQuotaTemplate* This,BSTR quotaTemplateName) {
- return This->lpVtbl->CopyTemplate(This,quotaTemplateName);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplate_CommitAndUpdateDerived(IFsrmQuotaTemplate* This,FsrmCommitOptions commitOptions,FsrmTemplateApplyOptions applyOptions,IFsrmDerivedObjectsResult **derivedObjectsResult) {
- return This->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult);
- }
- #endif
- #endif
- #endif
- #endif /* __IFsrmQuotaTemplate_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IFsrmQuota interface
- */
- #ifndef __IFsrmQuota_INTERFACE_DEFINED__
- #define __IFsrmQuota_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IFsrmQuota, 0x377f739d, 0x9647, 0x4b8e, 0x97,0xd2, 0x5f,0xfc,0xe6,0xd7,0x59,0xcd);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("377f739d-9647-4b8e-97d2-5ffce6d759cd")
- IFsrmQuota : public IFsrmQuotaObject
- {
- virtual HRESULT STDMETHODCALLTYPE get_QuotaUsed(
- VARIANT *used) = 0;
- virtual HRESULT STDMETHODCALLTYPE get_QuotaPeakUsage(
- VARIANT *peakUsage) = 0;
- virtual HRESULT STDMETHODCALLTYPE get_QuotaPeakUsageTime(
- DATE *peakUsageDateTime) = 0;
- virtual HRESULT STDMETHODCALLTYPE ResetPeakUsage(
- ) = 0;
- virtual HRESULT STDMETHODCALLTYPE RefreshUsageProperties(
- ) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IFsrmQuota, 0x377f739d, 0x9647, 0x4b8e, 0x97,0xd2, 0x5f,0xfc,0xe6,0xd7,0x59,0xcd)
- #endif
- #else
- typedef struct IFsrmQuotaVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IFsrmQuota *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IFsrmQuota *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IFsrmQuota *This);
- /*** IDispatch methods ***/
- HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
- IFsrmQuota *This,
- UINT *pctinfo);
- HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
- IFsrmQuota *This,
- UINT iTInfo,
- LCID lcid,
- ITypeInfo **ppTInfo);
- HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
- IFsrmQuota *This,
- REFIID riid,
- LPOLESTR *rgszNames,
- UINT cNames,
- LCID lcid,
- DISPID *rgDispId);
- HRESULT (STDMETHODCALLTYPE *Invoke)(
- IFsrmQuota *This,
- DISPID dispIdMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- DISPPARAMS *pDispParams,
- VARIANT *pVarResult,
- EXCEPINFO *pExcepInfo,
- UINT *puArgErr);
- /*** IFsrmObject methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Id)(
- IFsrmQuota *This,
- FSRM_OBJECT_ID *id);
- HRESULT (STDMETHODCALLTYPE *get_Description)(
- IFsrmQuota *This,
- BSTR *description);
- HRESULT (STDMETHODCALLTYPE *put_Description)(
- IFsrmQuota *This,
- BSTR description);
- HRESULT (STDMETHODCALLTYPE *Delete)(
- IFsrmQuota *This);
- HRESULT (STDMETHODCALLTYPE *Commit)(
- IFsrmQuota *This);
- /*** IFsrmQuotaBase methods ***/
- HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
- IFsrmQuota *This,
- VARIANT *quotaLimit);
- HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
- IFsrmQuota *This,
- VARIANT quotaLimit);
- HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
- IFsrmQuota *This,
- LONG *quotaFlags);
- HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
- IFsrmQuota *This,
- LONG quotaFlags);
- HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
- IFsrmQuota *This,
- SAFEARRAY **thresholds);
- HRESULT (STDMETHODCALLTYPE *AddThreshold)(
- IFsrmQuota *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
- IFsrmQuota *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
- IFsrmQuota *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FSRM_QUOTA_THRESHOLD newThreshold);
- HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
- IFsrmQuota *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FsrmActionType actionType,
- IFsrmAction **action);
- HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
- IFsrmQuota *This,
- FSRM_QUOTA_THRESHOLD threshold,
- IFsrmCollection **actions);
- /*** IFsrmQuotaObject methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Path)(
- IFsrmQuota *This,
- BSTR *path);
- HRESULT (STDMETHODCALLTYPE *get_UserSid)(
- IFsrmQuota *This,
- BSTR *userSid);
- HRESULT (STDMETHODCALLTYPE *get_UserAccount)(
- IFsrmQuota *This,
- BSTR *userAccount);
- HRESULT (STDMETHODCALLTYPE *get_SourceTemplateName)(
- IFsrmQuota *This,
- BSTR *quotaTemplateName);
- HRESULT (STDMETHODCALLTYPE *get_MatchesSourceTemplate)(
- IFsrmQuota *This,
- VARIANT_BOOL *matches);
- HRESULT (STDMETHODCALLTYPE *ApplyTemplate)(
- IFsrmQuota *This,
- BSTR quotaTemplateName);
- /*** IFsrmQuota methods ***/
- HRESULT (STDMETHODCALLTYPE *get_QuotaUsed)(
- IFsrmQuota *This,
- VARIANT *used);
- HRESULT (STDMETHODCALLTYPE *get_QuotaPeakUsage)(
- IFsrmQuota *This,
- VARIANT *peakUsage);
- HRESULT (STDMETHODCALLTYPE *get_QuotaPeakUsageTime)(
- IFsrmQuota *This,
- DATE *peakUsageDateTime);
- HRESULT (STDMETHODCALLTYPE *ResetPeakUsage)(
- IFsrmQuota *This);
- HRESULT (STDMETHODCALLTYPE *RefreshUsageProperties)(
- IFsrmQuota *This);
- END_INTERFACE
- } IFsrmQuotaVtbl;
- interface IFsrmQuota {
- CONST_VTBL IFsrmQuotaVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IFsrmQuota_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IFsrmQuota_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IFsrmQuota_Release(This) (This)->lpVtbl->Release(This)
- /*** IDispatch methods ***/
- #define IFsrmQuota_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
- #define IFsrmQuota_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IFsrmQuota_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IFsrmQuota_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- /*** IFsrmObject methods ***/
- #define IFsrmQuota_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
- #define IFsrmQuota_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
- #define IFsrmQuota_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
- #define IFsrmQuota_Delete(This) (This)->lpVtbl->Delete(This)
- #define IFsrmQuota_Commit(This) (This)->lpVtbl->Commit(This)
- /*** IFsrmQuotaBase methods ***/
- #define IFsrmQuota_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
- #define IFsrmQuota_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
- #define IFsrmQuota_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
- #define IFsrmQuota_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
- #define IFsrmQuota_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
- #define IFsrmQuota_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
- #define IFsrmQuota_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
- #define IFsrmQuota_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
- #define IFsrmQuota_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
- #define IFsrmQuota_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
- /*** IFsrmQuotaObject methods ***/
- #define IFsrmQuota_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
- #define IFsrmQuota_get_UserSid(This,userSid) (This)->lpVtbl->get_UserSid(This,userSid)
- #define IFsrmQuota_get_UserAccount(This,userAccount) (This)->lpVtbl->get_UserAccount(This,userAccount)
- #define IFsrmQuota_get_SourceTemplateName(This,quotaTemplateName) (This)->lpVtbl->get_SourceTemplateName(This,quotaTemplateName)
- #define IFsrmQuota_get_MatchesSourceTemplate(This,matches) (This)->lpVtbl->get_MatchesSourceTemplate(This,matches)
- #define IFsrmQuota_ApplyTemplate(This,quotaTemplateName) (This)->lpVtbl->ApplyTemplate(This,quotaTemplateName)
- /*** IFsrmQuota methods ***/
- #define IFsrmQuota_get_QuotaUsed(This,used) (This)->lpVtbl->get_QuotaUsed(This,used)
- #define IFsrmQuota_get_QuotaPeakUsage(This,peakUsage) (This)->lpVtbl->get_QuotaPeakUsage(This,peakUsage)
- #define IFsrmQuota_get_QuotaPeakUsageTime(This,peakUsageDateTime) (This)->lpVtbl->get_QuotaPeakUsageTime(This,peakUsageDateTime)
- #define IFsrmQuota_ResetPeakUsage(This) (This)->lpVtbl->ResetPeakUsage(This)
- #define IFsrmQuota_RefreshUsageProperties(This) (This)->lpVtbl->RefreshUsageProperties(This)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IFsrmQuota_QueryInterface(IFsrmQuota* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IFsrmQuota_AddRef(IFsrmQuota* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IFsrmQuota_Release(IFsrmQuota* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IDispatch methods ***/
- static FORCEINLINE HRESULT IFsrmQuota_GetTypeInfoCount(IFsrmQuota* This,UINT *pctinfo) {
- return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
- }
- static FORCEINLINE HRESULT IFsrmQuota_GetTypeInfo(IFsrmQuota* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
- return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
- }
- static FORCEINLINE HRESULT IFsrmQuota_GetIDsOfNames(IFsrmQuota* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
- return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
- }
- static FORCEINLINE HRESULT IFsrmQuota_Invoke(IFsrmQuota* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
- return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
- }
- /*** IFsrmObject methods ***/
- static FORCEINLINE HRESULT IFsrmQuota_get_Id(IFsrmQuota* This,FSRM_OBJECT_ID *id) {
- return This->lpVtbl->get_Id(This,id);
- }
- static FORCEINLINE HRESULT IFsrmQuota_get_Description(IFsrmQuota* This,BSTR *description) {
- return This->lpVtbl->get_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmQuota_put_Description(IFsrmQuota* This,BSTR description) {
- return This->lpVtbl->put_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmQuota_Delete(IFsrmQuota* This) {
- return This->lpVtbl->Delete(This);
- }
- static FORCEINLINE HRESULT IFsrmQuota_Commit(IFsrmQuota* This) {
- return This->lpVtbl->Commit(This);
- }
- /*** IFsrmQuotaBase methods ***/
- static FORCEINLINE HRESULT IFsrmQuota_get_QuotaLimit(IFsrmQuota* This,VARIANT *quotaLimit) {
- return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmQuota_put_QuotaLimit(IFsrmQuota* This,VARIANT quotaLimit) {
- return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmQuota_get_QuotaFlags(IFsrmQuota* This,LONG *quotaFlags) {
- return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmQuota_put_QuotaFlags(IFsrmQuota* This,LONG quotaFlags) {
- return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmQuota_get_Thresholds(IFsrmQuota* This,SAFEARRAY **thresholds) {
- return This->lpVtbl->get_Thresholds(This,thresholds);
- }
- static FORCEINLINE HRESULT IFsrmQuota_AddThreshold(IFsrmQuota* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->AddThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmQuota_DeleteThreshold(IFsrmQuota* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->DeleteThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmQuota_ModifyThreshold(IFsrmQuota* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
- return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
- }
- static FORCEINLINE HRESULT IFsrmQuota_CreateThresholdAction(IFsrmQuota* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
- return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
- }
- static FORCEINLINE HRESULT IFsrmQuota_EnumThresholdActions(IFsrmQuota* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
- return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
- }
- /*** IFsrmQuotaObject methods ***/
- static FORCEINLINE HRESULT IFsrmQuota_get_Path(IFsrmQuota* This,BSTR *path) {
- return This->lpVtbl->get_Path(This,path);
- }
- static FORCEINLINE HRESULT IFsrmQuota_get_UserSid(IFsrmQuota* This,BSTR *userSid) {
- return This->lpVtbl->get_UserSid(This,userSid);
- }
- static FORCEINLINE HRESULT IFsrmQuota_get_UserAccount(IFsrmQuota* This,BSTR *userAccount) {
- return This->lpVtbl->get_UserAccount(This,userAccount);
- }
- static FORCEINLINE HRESULT IFsrmQuota_get_SourceTemplateName(IFsrmQuota* This,BSTR *quotaTemplateName) {
- return This->lpVtbl->get_SourceTemplateName(This,quotaTemplateName);
- }
- static FORCEINLINE HRESULT IFsrmQuota_get_MatchesSourceTemplate(IFsrmQuota* This,VARIANT_BOOL *matches) {
- return This->lpVtbl->get_MatchesSourceTemplate(This,matches);
- }
- static FORCEINLINE HRESULT IFsrmQuota_ApplyTemplate(IFsrmQuota* This,BSTR quotaTemplateName) {
- return This->lpVtbl->ApplyTemplate(This,quotaTemplateName);
- }
- /*** IFsrmQuota methods ***/
- static FORCEINLINE HRESULT IFsrmQuota_get_QuotaUsed(IFsrmQuota* This,VARIANT *used) {
- return This->lpVtbl->get_QuotaUsed(This,used);
- }
- static FORCEINLINE HRESULT IFsrmQuota_get_QuotaPeakUsage(IFsrmQuota* This,VARIANT *peakUsage) {
- return This->lpVtbl->get_QuotaPeakUsage(This,peakUsage);
- }
- static FORCEINLINE HRESULT IFsrmQuota_get_QuotaPeakUsageTime(IFsrmQuota* This,DATE *peakUsageDateTime) {
- return This->lpVtbl->get_QuotaPeakUsageTime(This,peakUsageDateTime);
- }
- static FORCEINLINE HRESULT IFsrmQuota_ResetPeakUsage(IFsrmQuota* This) {
- return This->lpVtbl->ResetPeakUsage(This);
- }
- static FORCEINLINE HRESULT IFsrmQuota_RefreshUsageProperties(IFsrmQuota* This) {
- return This->lpVtbl->RefreshUsageProperties(This);
- }
- #endif
- #endif
- #endif
- #endif /* __IFsrmQuota_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IFsrmAutoApplyQuota interface
- */
- #ifndef __IFsrmAutoApplyQuota_INTERFACE_DEFINED__
- #define __IFsrmAutoApplyQuota_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IFsrmAutoApplyQuota, 0xf82e5729, 0x6aba, 0x4740, 0xbf,0xc7, 0xc7,0xf5,0x8f,0x75,0xfb,0x7b);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("f82e5729-6aba-4740-bfc7-c7f58f75fb7b")
- IFsrmAutoApplyQuota : public IFsrmQuotaObject
- {
- virtual HRESULT STDMETHODCALLTYPE get_ExcludeFolders(
- SAFEARRAY **folders) = 0;
- virtual HRESULT STDMETHODCALLTYPE put_ExcludeFolders(
- SAFEARRAY *folders) = 0;
- virtual HRESULT STDMETHODCALLTYPE CommitAndUpdateDerived(
- FsrmCommitOptions commitOptions,
- FsrmTemplateApplyOptions applyOptions,
- IFsrmDerivedObjectsResult **derivedObjectsResult) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IFsrmAutoApplyQuota, 0xf82e5729, 0x6aba, 0x4740, 0xbf,0xc7, 0xc7,0xf5,0x8f,0x75,0xfb,0x7b)
- #endif
- #else
- typedef struct IFsrmAutoApplyQuotaVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IFsrmAutoApplyQuota *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IFsrmAutoApplyQuota *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IFsrmAutoApplyQuota *This);
- /*** IDispatch methods ***/
- HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
- IFsrmAutoApplyQuota *This,
- UINT *pctinfo);
- HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
- IFsrmAutoApplyQuota *This,
- UINT iTInfo,
- LCID lcid,
- ITypeInfo **ppTInfo);
- HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
- IFsrmAutoApplyQuota *This,
- REFIID riid,
- LPOLESTR *rgszNames,
- UINT cNames,
- LCID lcid,
- DISPID *rgDispId);
- HRESULT (STDMETHODCALLTYPE *Invoke)(
- IFsrmAutoApplyQuota *This,
- DISPID dispIdMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- DISPPARAMS *pDispParams,
- VARIANT *pVarResult,
- EXCEPINFO *pExcepInfo,
- UINT *puArgErr);
- /*** IFsrmObject methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Id)(
- IFsrmAutoApplyQuota *This,
- FSRM_OBJECT_ID *id);
- HRESULT (STDMETHODCALLTYPE *get_Description)(
- IFsrmAutoApplyQuota *This,
- BSTR *description);
- HRESULT (STDMETHODCALLTYPE *put_Description)(
- IFsrmAutoApplyQuota *This,
- BSTR description);
- HRESULT (STDMETHODCALLTYPE *Delete)(
- IFsrmAutoApplyQuota *This);
- HRESULT (STDMETHODCALLTYPE *Commit)(
- IFsrmAutoApplyQuota *This);
- /*** IFsrmQuotaBase methods ***/
- HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
- IFsrmAutoApplyQuota *This,
- VARIANT *quotaLimit);
- HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
- IFsrmAutoApplyQuota *This,
- VARIANT quotaLimit);
- HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
- IFsrmAutoApplyQuota *This,
- LONG *quotaFlags);
- HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
- IFsrmAutoApplyQuota *This,
- LONG quotaFlags);
- HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
- IFsrmAutoApplyQuota *This,
- SAFEARRAY **thresholds);
- HRESULT (STDMETHODCALLTYPE *AddThreshold)(
- IFsrmAutoApplyQuota *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
- IFsrmAutoApplyQuota *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
- IFsrmAutoApplyQuota *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FSRM_QUOTA_THRESHOLD newThreshold);
- HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
- IFsrmAutoApplyQuota *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FsrmActionType actionType,
- IFsrmAction **action);
- HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
- IFsrmAutoApplyQuota *This,
- FSRM_QUOTA_THRESHOLD threshold,
- IFsrmCollection **actions);
- /*** IFsrmQuotaObject methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Path)(
- IFsrmAutoApplyQuota *This,
- BSTR *path);
- HRESULT (STDMETHODCALLTYPE *get_UserSid)(
- IFsrmAutoApplyQuota *This,
- BSTR *userSid);
- HRESULT (STDMETHODCALLTYPE *get_UserAccount)(
- IFsrmAutoApplyQuota *This,
- BSTR *userAccount);
- HRESULT (STDMETHODCALLTYPE *get_SourceTemplateName)(
- IFsrmAutoApplyQuota *This,
- BSTR *quotaTemplateName);
- HRESULT (STDMETHODCALLTYPE *get_MatchesSourceTemplate)(
- IFsrmAutoApplyQuota *This,
- VARIANT_BOOL *matches);
- HRESULT (STDMETHODCALLTYPE *ApplyTemplate)(
- IFsrmAutoApplyQuota *This,
- BSTR quotaTemplateName);
- /*** IFsrmAutoApplyQuota methods ***/
- HRESULT (STDMETHODCALLTYPE *get_ExcludeFolders)(
- IFsrmAutoApplyQuota *This,
- SAFEARRAY **folders);
- HRESULT (STDMETHODCALLTYPE *put_ExcludeFolders)(
- IFsrmAutoApplyQuota *This,
- SAFEARRAY *folders);
- HRESULT (STDMETHODCALLTYPE *CommitAndUpdateDerived)(
- IFsrmAutoApplyQuota *This,
- FsrmCommitOptions commitOptions,
- FsrmTemplateApplyOptions applyOptions,
- IFsrmDerivedObjectsResult **derivedObjectsResult);
- END_INTERFACE
- } IFsrmAutoApplyQuotaVtbl;
- interface IFsrmAutoApplyQuota {
- CONST_VTBL IFsrmAutoApplyQuotaVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IFsrmAutoApplyQuota_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IFsrmAutoApplyQuota_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IFsrmAutoApplyQuota_Release(This) (This)->lpVtbl->Release(This)
- /*** IDispatch methods ***/
- #define IFsrmAutoApplyQuota_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
- #define IFsrmAutoApplyQuota_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IFsrmAutoApplyQuota_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IFsrmAutoApplyQuota_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- /*** IFsrmObject methods ***/
- #define IFsrmAutoApplyQuota_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
- #define IFsrmAutoApplyQuota_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
- #define IFsrmAutoApplyQuota_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
- #define IFsrmAutoApplyQuota_Delete(This) (This)->lpVtbl->Delete(This)
- #define IFsrmAutoApplyQuota_Commit(This) (This)->lpVtbl->Commit(This)
- /*** IFsrmQuotaBase methods ***/
- #define IFsrmAutoApplyQuota_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
- #define IFsrmAutoApplyQuota_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
- #define IFsrmAutoApplyQuota_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
- #define IFsrmAutoApplyQuota_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
- #define IFsrmAutoApplyQuota_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
- #define IFsrmAutoApplyQuota_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
- #define IFsrmAutoApplyQuota_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
- #define IFsrmAutoApplyQuota_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
- #define IFsrmAutoApplyQuota_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
- #define IFsrmAutoApplyQuota_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
- /*** IFsrmQuotaObject methods ***/
- #define IFsrmAutoApplyQuota_get_Path(This,path) (This)->lpVtbl->get_Path(This,path)
- #define IFsrmAutoApplyQuota_get_UserSid(This,userSid) (This)->lpVtbl->get_UserSid(This,userSid)
- #define IFsrmAutoApplyQuota_get_UserAccount(This,userAccount) (This)->lpVtbl->get_UserAccount(This,userAccount)
- #define IFsrmAutoApplyQuota_get_SourceTemplateName(This,quotaTemplateName) (This)->lpVtbl->get_SourceTemplateName(This,quotaTemplateName)
- #define IFsrmAutoApplyQuota_get_MatchesSourceTemplate(This,matches) (This)->lpVtbl->get_MatchesSourceTemplate(This,matches)
- #define IFsrmAutoApplyQuota_ApplyTemplate(This,quotaTemplateName) (This)->lpVtbl->ApplyTemplate(This,quotaTemplateName)
- /*** IFsrmAutoApplyQuota methods ***/
- #define IFsrmAutoApplyQuota_get_ExcludeFolders(This,folders) (This)->lpVtbl->get_ExcludeFolders(This,folders)
- #define IFsrmAutoApplyQuota_put_ExcludeFolders(This,folders) (This)->lpVtbl->put_ExcludeFolders(This,folders)
- #define IFsrmAutoApplyQuota_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) (This)->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_QueryInterface(IFsrmAutoApplyQuota* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IFsrmAutoApplyQuota_AddRef(IFsrmAutoApplyQuota* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IFsrmAutoApplyQuota_Release(IFsrmAutoApplyQuota* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IDispatch methods ***/
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_GetTypeInfoCount(IFsrmAutoApplyQuota* This,UINT *pctinfo) {
- return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_GetTypeInfo(IFsrmAutoApplyQuota* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
- return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_GetIDsOfNames(IFsrmAutoApplyQuota* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
- return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_Invoke(IFsrmAutoApplyQuota* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
- return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
- }
- /*** IFsrmObject methods ***/
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_Id(IFsrmAutoApplyQuota* This,FSRM_OBJECT_ID *id) {
- return This->lpVtbl->get_Id(This,id);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_Description(IFsrmAutoApplyQuota* This,BSTR *description) {
- return This->lpVtbl->get_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_put_Description(IFsrmAutoApplyQuota* This,BSTR description) {
- return This->lpVtbl->put_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_Delete(IFsrmAutoApplyQuota* This) {
- return This->lpVtbl->Delete(This);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_Commit(IFsrmAutoApplyQuota* This) {
- return This->lpVtbl->Commit(This);
- }
- /*** IFsrmQuotaBase methods ***/
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_QuotaLimit(IFsrmAutoApplyQuota* This,VARIANT *quotaLimit) {
- return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_put_QuotaLimit(IFsrmAutoApplyQuota* This,VARIANT quotaLimit) {
- return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_QuotaFlags(IFsrmAutoApplyQuota* This,LONG *quotaFlags) {
- return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_put_QuotaFlags(IFsrmAutoApplyQuota* This,LONG quotaFlags) {
- return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_Thresholds(IFsrmAutoApplyQuota* This,SAFEARRAY **thresholds) {
- return This->lpVtbl->get_Thresholds(This,thresholds);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_AddThreshold(IFsrmAutoApplyQuota* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->AddThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_DeleteThreshold(IFsrmAutoApplyQuota* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->DeleteThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_ModifyThreshold(IFsrmAutoApplyQuota* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
- return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_CreateThresholdAction(IFsrmAutoApplyQuota* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
- return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_EnumThresholdActions(IFsrmAutoApplyQuota* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
- return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
- }
- /*** IFsrmQuotaObject methods ***/
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_Path(IFsrmAutoApplyQuota* This,BSTR *path) {
- return This->lpVtbl->get_Path(This,path);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_UserSid(IFsrmAutoApplyQuota* This,BSTR *userSid) {
- return This->lpVtbl->get_UserSid(This,userSid);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_UserAccount(IFsrmAutoApplyQuota* This,BSTR *userAccount) {
- return This->lpVtbl->get_UserAccount(This,userAccount);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_SourceTemplateName(IFsrmAutoApplyQuota* This,BSTR *quotaTemplateName) {
- return This->lpVtbl->get_SourceTemplateName(This,quotaTemplateName);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_MatchesSourceTemplate(IFsrmAutoApplyQuota* This,VARIANT_BOOL *matches) {
- return This->lpVtbl->get_MatchesSourceTemplate(This,matches);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_ApplyTemplate(IFsrmAutoApplyQuota* This,BSTR quotaTemplateName) {
- return This->lpVtbl->ApplyTemplate(This,quotaTemplateName);
- }
- /*** IFsrmAutoApplyQuota methods ***/
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_get_ExcludeFolders(IFsrmAutoApplyQuota* This,SAFEARRAY **folders) {
- return This->lpVtbl->get_ExcludeFolders(This,folders);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_put_ExcludeFolders(IFsrmAutoApplyQuota* This,SAFEARRAY *folders) {
- return This->lpVtbl->put_ExcludeFolders(This,folders);
- }
- static FORCEINLINE HRESULT IFsrmAutoApplyQuota_CommitAndUpdateDerived(IFsrmAutoApplyQuota* This,FsrmCommitOptions commitOptions,FsrmTemplateApplyOptions applyOptions,IFsrmDerivedObjectsResult **derivedObjectsResult) {
- return This->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult);
- }
- #endif
- #endif
- #endif
- #endif /* __IFsrmAutoApplyQuota_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IFsrmQuotaManagerEx interface
- */
- #ifndef __IFsrmQuotaManagerEx_INTERFACE_DEFINED__
- #define __IFsrmQuotaManagerEx_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IFsrmQuotaManagerEx, 0x4846cb01, 0xd430, 0x494f, 0xab,0xb4, 0xb1,0x05,0x49,0x99,0xfb,0x09);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("4846cb01-d430-494f-abb4-b1054999fb09")
- IFsrmQuotaManagerEx : public IFsrmQuotaManager
- {
- virtual HRESULT STDMETHODCALLTYPE IsAffectedByQuota(
- BSTR path,
- FsrmEnumOptions options,
- VARIANT_BOOL *affected) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IFsrmQuotaManagerEx, 0x4846cb01, 0xd430, 0x494f, 0xab,0xb4, 0xb1,0x05,0x49,0x99,0xfb,0x09)
- #endif
- #else
- typedef struct IFsrmQuotaManagerExVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IFsrmQuotaManagerEx *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IFsrmQuotaManagerEx *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IFsrmQuotaManagerEx *This);
- /*** IDispatch methods ***/
- HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
- IFsrmQuotaManagerEx *This,
- UINT *pctinfo);
- HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
- IFsrmQuotaManagerEx *This,
- UINT iTInfo,
- LCID lcid,
- ITypeInfo **ppTInfo);
- HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
- IFsrmQuotaManagerEx *This,
- REFIID riid,
- LPOLESTR *rgszNames,
- UINT cNames,
- LCID lcid,
- DISPID *rgDispId);
- HRESULT (STDMETHODCALLTYPE *Invoke)(
- IFsrmQuotaManagerEx *This,
- DISPID dispIdMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- DISPPARAMS *pDispParams,
- VARIANT *pVarResult,
- EXCEPINFO *pExcepInfo,
- UINT *puArgErr);
- /*** IFsrmQuotaManager methods ***/
- HRESULT (STDMETHODCALLTYPE *get_ActionVariables)(
- IFsrmQuotaManagerEx *This,
- SAFEARRAY **variables);
- HRESULT (STDMETHODCALLTYPE *get_ActionVariableDescriptions)(
- IFsrmQuotaManagerEx *This,
- SAFEARRAY **descriptions);
- HRESULT (STDMETHODCALLTYPE *CreateQuota)(
- IFsrmQuotaManagerEx *This,
- BSTR path,
- IFsrmQuota **quota);
- HRESULT (STDMETHODCALLTYPE *CreateAutoApplyQuota)(
- IFsrmQuotaManagerEx *This,
- BSTR quotaTemplateName,
- BSTR path,
- IFsrmAutoApplyQuota **quota);
- HRESULT (STDMETHODCALLTYPE *GetQuota)(
- IFsrmQuotaManagerEx *This,
- BSTR path,
- IFsrmQuota **quota);
- HRESULT (STDMETHODCALLTYPE *GetAutoApplyQuota)(
- IFsrmQuotaManagerEx *This,
- BSTR path,
- IFsrmAutoApplyQuota **quota);
- HRESULT (STDMETHODCALLTYPE *GetRestrictiveQuota)(
- IFsrmQuotaManagerEx *This,
- BSTR path,
- IFsrmQuota **quota);
- HRESULT (STDMETHODCALLTYPE *EnumQuotas)(
- IFsrmQuotaManagerEx *This,
- BSTR path,
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotas);
- HRESULT (STDMETHODCALLTYPE *EnumAutoApplyQuotas)(
- IFsrmQuotaManagerEx *This,
- BSTR path,
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotas);
- HRESULT (STDMETHODCALLTYPE *EnumEffectiveQuotas)(
- IFsrmQuotaManagerEx *This,
- BSTR path,
- FsrmEnumOptions options,
- IFsrmCommittableCollection **quotas);
- HRESULT (STDMETHODCALLTYPE *Scan)(
- IFsrmQuotaManagerEx *This,
- BSTR strPath);
- HRESULT (STDMETHODCALLTYPE *CreateQuotaCollection)(
- IFsrmQuotaManagerEx *This,
- IFsrmCommittableCollection **collection);
- /*** IFsrmQuotaManagerEx methods ***/
- HRESULT (STDMETHODCALLTYPE *IsAffectedByQuota)(
- IFsrmQuotaManagerEx *This,
- BSTR path,
- FsrmEnumOptions options,
- VARIANT_BOOL *affected);
- END_INTERFACE
- } IFsrmQuotaManagerExVtbl;
- interface IFsrmQuotaManagerEx {
- CONST_VTBL IFsrmQuotaManagerExVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IFsrmQuotaManagerEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IFsrmQuotaManagerEx_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IFsrmQuotaManagerEx_Release(This) (This)->lpVtbl->Release(This)
- /*** IDispatch methods ***/
- #define IFsrmQuotaManagerEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
- #define IFsrmQuotaManagerEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IFsrmQuotaManagerEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IFsrmQuotaManagerEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- /*** IFsrmQuotaManager methods ***/
- #define IFsrmQuotaManagerEx_get_ActionVariables(This,variables) (This)->lpVtbl->get_ActionVariables(This,variables)
- #define IFsrmQuotaManagerEx_get_ActionVariableDescriptions(This,descriptions) (This)->lpVtbl->get_ActionVariableDescriptions(This,descriptions)
- #define IFsrmQuotaManagerEx_CreateQuota(This,path,quota) (This)->lpVtbl->CreateQuota(This,path,quota)
- #define IFsrmQuotaManagerEx_CreateAutoApplyQuota(This,quotaTemplateName,path,quota) (This)->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota)
- #define IFsrmQuotaManagerEx_GetQuota(This,path,quota) (This)->lpVtbl->GetQuota(This,path,quota)
- #define IFsrmQuotaManagerEx_GetAutoApplyQuota(This,path,quota) (This)->lpVtbl->GetAutoApplyQuota(This,path,quota)
- #define IFsrmQuotaManagerEx_GetRestrictiveQuota(This,path,quota) (This)->lpVtbl->GetRestrictiveQuota(This,path,quota)
- #define IFsrmQuotaManagerEx_EnumQuotas(This,path,options,quotas) (This)->lpVtbl->EnumQuotas(This,path,options,quotas)
- #define IFsrmQuotaManagerEx_EnumAutoApplyQuotas(This,path,options,quotas) (This)->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas)
- #define IFsrmQuotaManagerEx_EnumEffectiveQuotas(This,path,options,quotas) (This)->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas)
- #define IFsrmQuotaManagerEx_Scan(This,strPath) (This)->lpVtbl->Scan(This,strPath)
- #define IFsrmQuotaManagerEx_CreateQuotaCollection(This,collection) (This)->lpVtbl->CreateQuotaCollection(This,collection)
- /*** IFsrmQuotaManagerEx methods ***/
- #define IFsrmQuotaManagerEx_IsAffectedByQuota(This,path,options,affected) (This)->lpVtbl->IsAffectedByQuota(This,path,options,affected)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_QueryInterface(IFsrmQuotaManagerEx* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IFsrmQuotaManagerEx_AddRef(IFsrmQuotaManagerEx* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IFsrmQuotaManagerEx_Release(IFsrmQuotaManagerEx* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IDispatch methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetTypeInfoCount(IFsrmQuotaManagerEx* This,UINT *pctinfo) {
- return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetTypeInfo(IFsrmQuotaManagerEx* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
- return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetIDsOfNames(IFsrmQuotaManagerEx* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
- return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_Invoke(IFsrmQuotaManagerEx* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
- return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
- }
- /*** IFsrmQuotaManager methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_get_ActionVariables(IFsrmQuotaManagerEx* This,SAFEARRAY **variables) {
- return This->lpVtbl->get_ActionVariables(This,variables);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_get_ActionVariableDescriptions(IFsrmQuotaManagerEx* This,SAFEARRAY **descriptions) {
- return This->lpVtbl->get_ActionVariableDescriptions(This,descriptions);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_CreateQuota(IFsrmQuotaManagerEx* This,BSTR path,IFsrmQuota **quota) {
- return This->lpVtbl->CreateQuota(This,path,quota);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_CreateAutoApplyQuota(IFsrmQuotaManagerEx* This,BSTR quotaTemplateName,BSTR path,IFsrmAutoApplyQuota **quota) {
- return This->lpVtbl->CreateAutoApplyQuota(This,quotaTemplateName,path,quota);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetQuota(IFsrmQuotaManagerEx* This,BSTR path,IFsrmQuota **quota) {
- return This->lpVtbl->GetQuota(This,path,quota);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetAutoApplyQuota(IFsrmQuotaManagerEx* This,BSTR path,IFsrmAutoApplyQuota **quota) {
- return This->lpVtbl->GetAutoApplyQuota(This,path,quota);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_GetRestrictiveQuota(IFsrmQuotaManagerEx* This,BSTR path,IFsrmQuota **quota) {
- return This->lpVtbl->GetRestrictiveQuota(This,path,quota);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_EnumQuotas(IFsrmQuotaManagerEx* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
- return This->lpVtbl->EnumQuotas(This,path,options,quotas);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_EnumAutoApplyQuotas(IFsrmQuotaManagerEx* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
- return This->lpVtbl->EnumAutoApplyQuotas(This,path,options,quotas);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_EnumEffectiveQuotas(IFsrmQuotaManagerEx* This,BSTR path,FsrmEnumOptions options,IFsrmCommittableCollection **quotas) {
- return This->lpVtbl->EnumEffectiveQuotas(This,path,options,quotas);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_Scan(IFsrmQuotaManagerEx* This,BSTR strPath) {
- return This->lpVtbl->Scan(This,strPath);
- }
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_CreateQuotaCollection(IFsrmQuotaManagerEx* This,IFsrmCommittableCollection **collection) {
- return This->lpVtbl->CreateQuotaCollection(This,collection);
- }
- /*** IFsrmQuotaManagerEx methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaManagerEx_IsAffectedByQuota(IFsrmQuotaManagerEx* This,BSTR path,FsrmEnumOptions options,VARIANT_BOOL *affected) {
- return This->lpVtbl->IsAffectedByQuota(This,path,options,affected);
- }
- #endif
- #endif
- #endif
- #endif /* __IFsrmQuotaManagerEx_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IFsrmQuotaTemplateImported interface
- */
- #ifndef __IFsrmQuotaTemplateImported_INTERFACE_DEFINED__
- #define __IFsrmQuotaTemplateImported_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IFsrmQuotaTemplateImported, 0x9a2bf113, 0xa329, 0x44cc, 0x80,0x9a, 0x5c,0x00,0xfc,0xe8,0xda,0x40);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("9a2bf113-a329-44cc-809a-5c00fce8da40")
- IFsrmQuotaTemplateImported : public IFsrmQuotaTemplate
- {
- virtual HRESULT STDMETHODCALLTYPE get_OverwriteOnCommit(
- VARIANT_BOOL *overwrite) = 0;
- virtual HRESULT STDMETHODCALLTYPE put_OverwriteOnCommit(
- VARIANT_BOOL overwrite) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IFsrmQuotaTemplateImported, 0x9a2bf113, 0xa329, 0x44cc, 0x80,0x9a, 0x5c,0x00,0xfc,0xe8,0xda,0x40)
- #endif
- #else
- typedef struct IFsrmQuotaTemplateImportedVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IFsrmQuotaTemplateImported *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IFsrmQuotaTemplateImported *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IFsrmQuotaTemplateImported *This);
- /*** IDispatch methods ***/
- HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
- IFsrmQuotaTemplateImported *This,
- UINT *pctinfo);
- HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
- IFsrmQuotaTemplateImported *This,
- UINT iTInfo,
- LCID lcid,
- ITypeInfo **ppTInfo);
- HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
- IFsrmQuotaTemplateImported *This,
- REFIID riid,
- LPOLESTR *rgszNames,
- UINT cNames,
- LCID lcid,
- DISPID *rgDispId);
- HRESULT (STDMETHODCALLTYPE *Invoke)(
- IFsrmQuotaTemplateImported *This,
- DISPID dispIdMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- DISPPARAMS *pDispParams,
- VARIANT *pVarResult,
- EXCEPINFO *pExcepInfo,
- UINT *puArgErr);
- /*** IFsrmObject methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Id)(
- IFsrmQuotaTemplateImported *This,
- FSRM_OBJECT_ID *id);
- HRESULT (STDMETHODCALLTYPE *get_Description)(
- IFsrmQuotaTemplateImported *This,
- BSTR *description);
- HRESULT (STDMETHODCALLTYPE *put_Description)(
- IFsrmQuotaTemplateImported *This,
- BSTR description);
- HRESULT (STDMETHODCALLTYPE *Delete)(
- IFsrmQuotaTemplateImported *This);
- HRESULT (STDMETHODCALLTYPE *Commit)(
- IFsrmQuotaTemplateImported *This);
- /*** IFsrmQuotaBase methods ***/
- HRESULT (STDMETHODCALLTYPE *get_QuotaLimit)(
- IFsrmQuotaTemplateImported *This,
- VARIANT *quotaLimit);
- HRESULT (STDMETHODCALLTYPE *put_QuotaLimit)(
- IFsrmQuotaTemplateImported *This,
- VARIANT quotaLimit);
- HRESULT (STDMETHODCALLTYPE *get_QuotaFlags)(
- IFsrmQuotaTemplateImported *This,
- LONG *quotaFlags);
- HRESULT (STDMETHODCALLTYPE *put_QuotaFlags)(
- IFsrmQuotaTemplateImported *This,
- LONG quotaFlags);
- HRESULT (STDMETHODCALLTYPE *get_Thresholds)(
- IFsrmQuotaTemplateImported *This,
- SAFEARRAY **thresholds);
- HRESULT (STDMETHODCALLTYPE *AddThreshold)(
- IFsrmQuotaTemplateImported *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *DeleteThreshold)(
- IFsrmQuotaTemplateImported *This,
- FSRM_QUOTA_THRESHOLD threshold);
- HRESULT (STDMETHODCALLTYPE *ModifyThreshold)(
- IFsrmQuotaTemplateImported *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FSRM_QUOTA_THRESHOLD newThreshold);
- HRESULT (STDMETHODCALLTYPE *CreateThresholdAction)(
- IFsrmQuotaTemplateImported *This,
- FSRM_QUOTA_THRESHOLD threshold,
- FsrmActionType actionType,
- IFsrmAction **action);
- HRESULT (STDMETHODCALLTYPE *EnumThresholdActions)(
- IFsrmQuotaTemplateImported *This,
- FSRM_QUOTA_THRESHOLD threshold,
- IFsrmCollection **actions);
- /*** IFsrmQuotaTemplate methods ***/
- HRESULT (STDMETHODCALLTYPE *get_Name)(
- IFsrmQuotaTemplateImported *This,
- BSTR *name);
- HRESULT (STDMETHODCALLTYPE *put_Name)(
- IFsrmQuotaTemplateImported *This,
- BSTR name);
- HRESULT (STDMETHODCALLTYPE *CopyTemplate)(
- IFsrmQuotaTemplateImported *This,
- BSTR quotaTemplateName);
- HRESULT (STDMETHODCALLTYPE *CommitAndUpdateDerived)(
- IFsrmQuotaTemplateImported *This,
- FsrmCommitOptions commitOptions,
- FsrmTemplateApplyOptions applyOptions,
- IFsrmDerivedObjectsResult **derivedObjectsResult);
- /*** IFsrmQuotaTemplateImported methods ***/
- HRESULT (STDMETHODCALLTYPE *get_OverwriteOnCommit)(
- IFsrmQuotaTemplateImported *This,
- VARIANT_BOOL *overwrite);
- HRESULT (STDMETHODCALLTYPE *put_OverwriteOnCommit)(
- IFsrmQuotaTemplateImported *This,
- VARIANT_BOOL overwrite);
- END_INTERFACE
- } IFsrmQuotaTemplateImportedVtbl;
- interface IFsrmQuotaTemplateImported {
- CONST_VTBL IFsrmQuotaTemplateImportedVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IFsrmQuotaTemplateImported_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IFsrmQuotaTemplateImported_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IFsrmQuotaTemplateImported_Release(This) (This)->lpVtbl->Release(This)
- /*** IDispatch methods ***/
- #define IFsrmQuotaTemplateImported_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
- #define IFsrmQuotaTemplateImported_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
- #define IFsrmQuotaTemplateImported_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
- #define IFsrmQuotaTemplateImported_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
- /*** IFsrmObject methods ***/
- #define IFsrmQuotaTemplateImported_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
- #define IFsrmQuotaTemplateImported_get_Description(This,description) (This)->lpVtbl->get_Description(This,description)
- #define IFsrmQuotaTemplateImported_put_Description(This,description) (This)->lpVtbl->put_Description(This,description)
- #define IFsrmQuotaTemplateImported_Delete(This) (This)->lpVtbl->Delete(This)
- #define IFsrmQuotaTemplateImported_Commit(This) (This)->lpVtbl->Commit(This)
- /*** IFsrmQuotaBase methods ***/
- #define IFsrmQuotaTemplateImported_get_QuotaLimit(This,quotaLimit) (This)->lpVtbl->get_QuotaLimit(This,quotaLimit)
- #define IFsrmQuotaTemplateImported_put_QuotaLimit(This,quotaLimit) (This)->lpVtbl->put_QuotaLimit(This,quotaLimit)
- #define IFsrmQuotaTemplateImported_get_QuotaFlags(This,quotaFlags) (This)->lpVtbl->get_QuotaFlags(This,quotaFlags)
- #define IFsrmQuotaTemplateImported_put_QuotaFlags(This,quotaFlags) (This)->lpVtbl->put_QuotaFlags(This,quotaFlags)
- #define IFsrmQuotaTemplateImported_get_Thresholds(This,thresholds) (This)->lpVtbl->get_Thresholds(This,thresholds)
- #define IFsrmQuotaTemplateImported_AddThreshold(This,threshold) (This)->lpVtbl->AddThreshold(This,threshold)
- #define IFsrmQuotaTemplateImported_DeleteThreshold(This,threshold) (This)->lpVtbl->DeleteThreshold(This,threshold)
- #define IFsrmQuotaTemplateImported_ModifyThreshold(This,threshold,newThreshold) (This)->lpVtbl->ModifyThreshold(This,threshold,newThreshold)
- #define IFsrmQuotaTemplateImported_CreateThresholdAction(This,threshold,actionType,action) (This)->lpVtbl->CreateThresholdAction(This,threshold,actionType,action)
- #define IFsrmQuotaTemplateImported_EnumThresholdActions(This,threshold,actions) (This)->lpVtbl->EnumThresholdActions(This,threshold,actions)
- /*** IFsrmQuotaTemplate methods ***/
- #define IFsrmQuotaTemplateImported_get_Name(This,name) (This)->lpVtbl->get_Name(This,name)
- #define IFsrmQuotaTemplateImported_put_Name(This,name) (This)->lpVtbl->put_Name(This,name)
- #define IFsrmQuotaTemplateImported_CopyTemplate(This,quotaTemplateName) (This)->lpVtbl->CopyTemplate(This,quotaTemplateName)
- #define IFsrmQuotaTemplateImported_CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult) (This)->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult)
- /*** IFsrmQuotaTemplateImported methods ***/
- #define IFsrmQuotaTemplateImported_get_OverwriteOnCommit(This,overwrite) (This)->lpVtbl->get_OverwriteOnCommit(This,overwrite)
- #define IFsrmQuotaTemplateImported_put_OverwriteOnCommit(This,overwrite) (This)->lpVtbl->put_OverwriteOnCommit(This,overwrite)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_QueryInterface(IFsrmQuotaTemplateImported* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IFsrmQuotaTemplateImported_AddRef(IFsrmQuotaTemplateImported* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IFsrmQuotaTemplateImported_Release(IFsrmQuotaTemplateImported* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IDispatch methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_GetTypeInfoCount(IFsrmQuotaTemplateImported* This,UINT *pctinfo) {
- return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_GetTypeInfo(IFsrmQuotaTemplateImported* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
- return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_GetIDsOfNames(IFsrmQuotaTemplateImported* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
- return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_Invoke(IFsrmQuotaTemplateImported* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
- return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
- }
- /*** IFsrmObject methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_Id(IFsrmQuotaTemplateImported* This,FSRM_OBJECT_ID *id) {
- return This->lpVtbl->get_Id(This,id);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_Description(IFsrmQuotaTemplateImported* This,BSTR *description) {
- return This->lpVtbl->get_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_put_Description(IFsrmQuotaTemplateImported* This,BSTR description) {
- return This->lpVtbl->put_Description(This,description);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_Delete(IFsrmQuotaTemplateImported* This) {
- return This->lpVtbl->Delete(This);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_Commit(IFsrmQuotaTemplateImported* This) {
- return This->lpVtbl->Commit(This);
- }
- /*** IFsrmQuotaBase methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_QuotaLimit(IFsrmQuotaTemplateImported* This,VARIANT *quotaLimit) {
- return This->lpVtbl->get_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_put_QuotaLimit(IFsrmQuotaTemplateImported* This,VARIANT quotaLimit) {
- return This->lpVtbl->put_QuotaLimit(This,quotaLimit);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_QuotaFlags(IFsrmQuotaTemplateImported* This,LONG *quotaFlags) {
- return This->lpVtbl->get_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_put_QuotaFlags(IFsrmQuotaTemplateImported* This,LONG quotaFlags) {
- return This->lpVtbl->put_QuotaFlags(This,quotaFlags);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_Thresholds(IFsrmQuotaTemplateImported* This,SAFEARRAY **thresholds) {
- return This->lpVtbl->get_Thresholds(This,thresholds);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_AddThreshold(IFsrmQuotaTemplateImported* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->AddThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_DeleteThreshold(IFsrmQuotaTemplateImported* This,FSRM_QUOTA_THRESHOLD threshold) {
- return This->lpVtbl->DeleteThreshold(This,threshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_ModifyThreshold(IFsrmQuotaTemplateImported* This,FSRM_QUOTA_THRESHOLD threshold,FSRM_QUOTA_THRESHOLD newThreshold) {
- return This->lpVtbl->ModifyThreshold(This,threshold,newThreshold);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_CreateThresholdAction(IFsrmQuotaTemplateImported* This,FSRM_QUOTA_THRESHOLD threshold,FsrmActionType actionType,IFsrmAction **action) {
- return This->lpVtbl->CreateThresholdAction(This,threshold,actionType,action);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_EnumThresholdActions(IFsrmQuotaTemplateImported* This,FSRM_QUOTA_THRESHOLD threshold,IFsrmCollection **actions) {
- return This->lpVtbl->EnumThresholdActions(This,threshold,actions);
- }
- /*** IFsrmQuotaTemplate methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_Name(IFsrmQuotaTemplateImported* This,BSTR *name) {
- return This->lpVtbl->get_Name(This,name);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_put_Name(IFsrmQuotaTemplateImported* This,BSTR name) {
- return This->lpVtbl->put_Name(This,name);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_CopyTemplate(IFsrmQuotaTemplateImported* This,BSTR quotaTemplateName) {
- return This->lpVtbl->CopyTemplate(This,quotaTemplateName);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_CommitAndUpdateDerived(IFsrmQuotaTemplateImported* This,FsrmCommitOptions commitOptions,FsrmTemplateApplyOptions applyOptions,IFsrmDerivedObjectsResult **derivedObjectsResult) {
- return This->lpVtbl->CommitAndUpdateDerived(This,commitOptions,applyOptions,derivedObjectsResult);
- }
- /*** IFsrmQuotaTemplateImported methods ***/
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_get_OverwriteOnCommit(IFsrmQuotaTemplateImported* This,VARIANT_BOOL *overwrite) {
- return This->lpVtbl->get_OverwriteOnCommit(This,overwrite);
- }
- static FORCEINLINE HRESULT IFsrmQuotaTemplateImported_put_OverwriteOnCommit(IFsrmQuotaTemplateImported* This,VARIANT_BOOL overwrite) {
- return This->lpVtbl->put_OverwriteOnCommit(This,overwrite);
- }
- #endif
- #endif
- #endif
- #endif /* __IFsrmQuotaTemplateImported_INTERFACE_DEFINED__ */
- #endif
- /* Begin additional prototypes for all interfaces */
- ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *);
- unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *);
- unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
- void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *);
- ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
- unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
- unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
- void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
- /* End additional prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif /* __fsrmquota_h__ */
|