123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165 |
- /*** Autogenerated by WIDL 7.7 from include/vswriter.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 __vswriter_h__
- #define __vswriter_h__
- /* Forward declarations */
- #ifndef __IVssWMFiledesc_FWD_DEFINED__
- #define __IVssWMFiledesc_FWD_DEFINED__
- typedef interface IVssWMFiledesc IVssWMFiledesc;
- #ifdef __cplusplus
- interface IVssWMFiledesc;
- #endif /* __cplusplus */
- #endif
- #ifndef __IVssWMDependency_FWD_DEFINED__
- #define __IVssWMDependency_FWD_DEFINED__
- typedef interface IVssWMDependency IVssWMDependency;
- #ifdef __cplusplus
- interface IVssWMDependency;
- #endif /* __cplusplus */
- #endif
- #ifndef __IVssComponent_FWD_DEFINED__
- #define __IVssComponent_FWD_DEFINED__
- typedef interface IVssComponent IVssComponent;
- #ifdef __cplusplus
- interface IVssComponent;
- #endif /* __cplusplus */
- #endif
- #ifndef __IVssWriterComponents_FWD_DEFINED__
- #define __IVssWriterComponents_FWD_DEFINED__
- typedef interface IVssWriterComponents IVssWriterComponents;
- #ifdef __cplusplus
- interface IVssWriterComponents;
- #endif /* __cplusplus */
- #endif
- #ifndef __IVssComponentEx_FWD_DEFINED__
- #define __IVssComponentEx_FWD_DEFINED__
- typedef interface IVssComponentEx IVssComponentEx;
- #ifdef __cplusplus
- interface IVssComponentEx;
- #endif /* __cplusplus */
- #endif
- #ifndef __IVssComponentEx2_FWD_DEFINED__
- #define __IVssComponentEx2_FWD_DEFINED__
- typedef interface IVssComponentEx2 IVssComponentEx2;
- #ifdef __cplusplus
- interface IVssComponentEx2;
- #endif /* __cplusplus */
- #endif
- #ifndef __IVssCreateWriterMetadata_FWD_DEFINED__
- #define __IVssCreateWriterMetadata_FWD_DEFINED__
- typedef interface IVssCreateWriterMetadata IVssCreateWriterMetadata;
- #ifdef __cplusplus
- interface IVssCreateWriterMetadata;
- #endif /* __cplusplus */
- #endif
- #ifndef __IVssCreateWriterMetadataEx_FWD_DEFINED__
- #define __IVssCreateWriterMetadataEx_FWD_DEFINED__
- typedef interface IVssCreateWriterMetadataEx IVssCreateWriterMetadataEx;
- #ifdef __cplusplus
- interface IVssCreateWriterMetadataEx;
- #endif /* __cplusplus */
- #endif
- #ifndef __IVssWriterImpl_FWD_DEFINED__
- #define __IVssWriterImpl_FWD_DEFINED__
- typedef interface IVssWriterImpl IVssWriterImpl;
- #ifdef __cplusplus
- interface IVssWriterImpl;
- #endif /* __cplusplus */
- #endif
- #ifndef __IVssCreateExpressWriterMetadata_FWD_DEFINED__
- #define __IVssCreateExpressWriterMetadata_FWD_DEFINED__
- typedef interface IVssCreateExpressWriterMetadata IVssCreateExpressWriterMetadata;
- #ifdef __cplusplus
- interface IVssCreateExpressWriterMetadata;
- #endif /* __cplusplus */
- #endif
- #ifndef __IVssExpressWriter_FWD_DEFINED__
- #define __IVssExpressWriter_FWD_DEFINED__
- typedef interface IVssExpressWriter IVssExpressWriter;
- #ifdef __cplusplus
- interface IVssExpressWriter;
- #endif /* __cplusplus */
- #endif
- /* Headers for imported files */
- #include <oaidl.h>
- #include <ocidl.h>
- #include <vss.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include <winapifamily.h>
- #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
- #include "vsserror.h"
- typedef enum VSS_USAGE_TYPE {
- VSS_UT_UNDEFINED = 0,
- VSS_UT_BOOTABLESYSTEMSTATE = 1,
- VSS_UT_SYSTEMSERVICE = 2,
- VSS_UT_USERDATA = 3,
- VSS_UT_OTHER = 4
- } VSS_USAGE_TYPE;
- typedef enum VSS_SOURCE_TYPE {
- VSS_ST_UNDEFINED = 0,
- VSS_ST_TRANSACTEDDB = 1,
- VSS_ST_NONTRANSACTEDDB = 2,
- VSS_ST_OTHER = 3
- } VSS_SOURCE_TYPE;
- typedef enum VSS_RESTOREMETHOD_ENUM {
- VSS_RME_UNDEFINED = 0,
- VSS_RME_RESTORE_IF_NOT_THERE = 1,
- VSS_RME_RESTORE_IF_CAN_REPLACE = 2,
- VSS_RME_STOP_RESTORE_START = 3,
- VSS_RME_RESTORE_TO_ALTERNATE_LOCATION = 4,
- VSS_RME_RESTORE_AT_REBOOT = 5,
- VSS_RME_RESTORE_AT_REBOOT_IF_CANNOT_REPLACE = 6,
- VSS_RME_CUSTOM = 7,
- VSS_RME_RESTORE_STOP_START = 8
- } VSS_RESTOREMETHOD_ENUM;
- typedef enum VSS_WRITERRESTORE_ENUM {
- VSS_WRE_UNDEFINED = 0,
- VSS_WRE_NEVER = 1,
- VSS_WRE_IF_REPLACE_FAILS = 2,
- VSS_WRE_ALWAYS = 3
- } VSS_WRITERRESTORE_ENUM;
- typedef enum VSS_COMPONENT_TYPE {
- VSS_CT_UNDEFINED = 0,
- VSS_CT_DATABASE = 1,
- VSS_CT_FILEGROUP = 2
- } VSS_COMPONENT_TYPE;
- typedef enum VSS_ALTERNATE_WRITER_STATE {
- VSS_AWS_UNDEFINED = 0,
- VSS_AWS_NO_ALTERNATE_WRITER = 1,
- VSS_AWS_ALTERNATE_WRITER_EXISTS = 2,
- VSS_AWS_THIS_IS_ALTERNATE_WRITER = 3
- } VSS_ALTERNATE_WRITER_STATE;
- typedef enum VSS_SUBSCRIBE_MASK {
- VSS_SM_POST_SNAPSHOT_FLAG = 0x1,
- VSS_SM_BACKUP_EVENTS_FLAG = 0x2,
- VSS_SM_RESTORE_EVENTS_FLAG = 0x4,
- VSS_SM_IO_THROTTLING_FLAG = 0x8,
- VSS_SM_ALL_FLAGS = 0xffffffff
- } VSS_SUBSCRIBE_MASK;
- typedef enum VSS_RESTORE_TARGET {
- VSS_RT_UNDEFINED = 0,
- VSS_RT_ORIGINAL = 1,
- VSS_RT_ALTERNATE = 2,
- VSS_RT_DIRECTED = 3,
- VSS_RT_ORIGINAL_LOCATION = 4
- } VSS_RESTORE_TARGET;
- typedef enum VSS_FILE_RESTORE_STATUS {
- VSS_RS_UNDEFINED = 0,
- VSS_RS_NONE = 1,
- VSS_RS_ALL = 2,
- VSS_RS_FAILED = 3
- } VSS_FILE_RESTORE_STATUS;
- typedef enum VSS_COMPONENT_FLAGS {
- VSS_CF_BACKUP_RECOVERY = 0x1,
- VSS_CF_APP_ROLLBACK_RECOVERY = 0x2,
- VSS_CF_NOT_SYSTEM_STATE = 0x4
- } VSS_COMPONENT_FLAGS;
- #ifndef __IVssExamineWriterMetadata_FWD_DEFINED__
- #define __IVssExamineWriterMetadata_FWD_DEFINED__
- typedef interface IVssExamineWriterMetadata IVssExamineWriterMetadata;
- #ifdef __cplusplus
- interface IVssExamineWriterMetadata;
- #endif /* __cplusplus */
- #endif
- /*****************************************************************************
- * IVssWMFiledesc interface
- */
- #ifndef __IVssWMFiledesc_INTERFACE_DEFINED__
- #define __IVssWMFiledesc_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssWMFiledesc, 0x00000000, 0x0000, 0x0000, 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("00000000-0000-0000-0000-000000000000")
- IVssWMFiledesc : public IUnknown
- {
- virtual HRESULT STDMETHODCALLTYPE GetPath(
- BSTR *pbstrPath) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetFilespec(
- BSTR *pbstrFilespec) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetRecursive(
- boolean *pbRecursive) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetAlternateLocation(
- BSTR *pbstrAlternateLocation) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetBackupTypeMask(
- DWORD *pdwTypeMask) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssWMFiledesc, 0x00000000, 0x0000, 0x0000, 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00)
- #endif
- #else
- typedef struct IVssWMFiledescVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IVssWMFiledesc *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IVssWMFiledesc *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IVssWMFiledesc *This);
- /*** IVssWMFiledesc methods ***/
- HRESULT (STDMETHODCALLTYPE *GetPath)(
- IVssWMFiledesc *This,
- BSTR *pbstrPath);
- HRESULT (STDMETHODCALLTYPE *GetFilespec)(
- IVssWMFiledesc *This,
- BSTR *pbstrFilespec);
- HRESULT (STDMETHODCALLTYPE *GetRecursive)(
- IVssWMFiledesc *This,
- boolean *pbRecursive);
- HRESULT (STDMETHODCALLTYPE *GetAlternateLocation)(
- IVssWMFiledesc *This,
- BSTR *pbstrAlternateLocation);
- HRESULT (STDMETHODCALLTYPE *GetBackupTypeMask)(
- IVssWMFiledesc *This,
- DWORD *pdwTypeMask);
- END_INTERFACE
- } IVssWMFiledescVtbl;
- interface IVssWMFiledesc {
- CONST_VTBL IVssWMFiledescVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IVssWMFiledesc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IVssWMFiledesc_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IVssWMFiledesc_Release(This) (This)->lpVtbl->Release(This)
- /*** IVssWMFiledesc methods ***/
- #define IVssWMFiledesc_GetPath(This,pbstrPath) (This)->lpVtbl->GetPath(This,pbstrPath)
- #define IVssWMFiledesc_GetFilespec(This,pbstrFilespec) (This)->lpVtbl->GetFilespec(This,pbstrFilespec)
- #define IVssWMFiledesc_GetRecursive(This,pbRecursive) (This)->lpVtbl->GetRecursive(This,pbRecursive)
- #define IVssWMFiledesc_GetAlternateLocation(This,pbstrAlternateLocation) (This)->lpVtbl->GetAlternateLocation(This,pbstrAlternateLocation)
- #define IVssWMFiledesc_GetBackupTypeMask(This,pdwTypeMask) (This)->lpVtbl->GetBackupTypeMask(This,pdwTypeMask)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IVssWMFiledesc_QueryInterface(IVssWMFiledesc* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IVssWMFiledesc_AddRef(IVssWMFiledesc* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IVssWMFiledesc_Release(IVssWMFiledesc* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IVssWMFiledesc methods ***/
- static FORCEINLINE HRESULT IVssWMFiledesc_GetPath(IVssWMFiledesc* This,BSTR *pbstrPath) {
- return This->lpVtbl->GetPath(This,pbstrPath);
- }
- static FORCEINLINE HRESULT IVssWMFiledesc_GetFilespec(IVssWMFiledesc* This,BSTR *pbstrFilespec) {
- return This->lpVtbl->GetFilespec(This,pbstrFilespec);
- }
- static FORCEINLINE HRESULT IVssWMFiledesc_GetRecursive(IVssWMFiledesc* This,boolean *pbRecursive) {
- return This->lpVtbl->GetRecursive(This,pbRecursive);
- }
- static FORCEINLINE HRESULT IVssWMFiledesc_GetAlternateLocation(IVssWMFiledesc* This,BSTR *pbstrAlternateLocation) {
- return This->lpVtbl->GetAlternateLocation(This,pbstrAlternateLocation);
- }
- static FORCEINLINE HRESULT IVssWMFiledesc_GetBackupTypeMask(IVssWMFiledesc* This,DWORD *pdwTypeMask) {
- return This->lpVtbl->GetBackupTypeMask(This,pdwTypeMask);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssWMFiledesc_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IVssWMDependency interface
- */
- #ifndef __IVssWMDependency_INTERFACE_DEFINED__
- #define __IVssWMDependency_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssWMDependency, 0x00000000, 0x0000, 0x0000, 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("00000000-0000-0000-0000-000000000000")
- IVssWMDependency : public IUnknown
- {
- virtual HRESULT STDMETHODCALLTYPE GetWriterId(
- VSS_ID *pWriterId) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetLogicalPath(
- BSTR *pbstrLogicalPath) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetComponentName(
- BSTR *pbstrComponentName) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssWMDependency, 0x00000000, 0x0000, 0x0000, 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00)
- #endif
- #else
- typedef struct IVssWMDependencyVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IVssWMDependency *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IVssWMDependency *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IVssWMDependency *This);
- /*** IVssWMDependency methods ***/
- HRESULT (STDMETHODCALLTYPE *GetWriterId)(
- IVssWMDependency *This,
- VSS_ID *pWriterId);
- HRESULT (STDMETHODCALLTYPE *GetLogicalPath)(
- IVssWMDependency *This,
- BSTR *pbstrLogicalPath);
- HRESULT (STDMETHODCALLTYPE *GetComponentName)(
- IVssWMDependency *This,
- BSTR *pbstrComponentName);
- END_INTERFACE
- } IVssWMDependencyVtbl;
- interface IVssWMDependency {
- CONST_VTBL IVssWMDependencyVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IVssWMDependency_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IVssWMDependency_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IVssWMDependency_Release(This) (This)->lpVtbl->Release(This)
- /*** IVssWMDependency methods ***/
- #define IVssWMDependency_GetWriterId(This,pWriterId) (This)->lpVtbl->GetWriterId(This,pWriterId)
- #define IVssWMDependency_GetLogicalPath(This,pbstrLogicalPath) (This)->lpVtbl->GetLogicalPath(This,pbstrLogicalPath)
- #define IVssWMDependency_GetComponentName(This,pbstrComponentName) (This)->lpVtbl->GetComponentName(This,pbstrComponentName)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IVssWMDependency_QueryInterface(IVssWMDependency* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IVssWMDependency_AddRef(IVssWMDependency* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IVssWMDependency_Release(IVssWMDependency* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IVssWMDependency methods ***/
- static FORCEINLINE HRESULT IVssWMDependency_GetWriterId(IVssWMDependency* This,VSS_ID *pWriterId) {
- return This->lpVtbl->GetWriterId(This,pWriterId);
- }
- static FORCEINLINE HRESULT IVssWMDependency_GetLogicalPath(IVssWMDependency* This,BSTR *pbstrLogicalPath) {
- return This->lpVtbl->GetLogicalPath(This,pbstrLogicalPath);
- }
- static FORCEINLINE HRESULT IVssWMDependency_GetComponentName(IVssWMDependency* This,BSTR *pbstrComponentName) {
- return This->lpVtbl->GetComponentName(This,pbstrComponentName);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssWMDependency_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IVssComponent interface
- */
- #ifndef __IVssComponent_INTERFACE_DEFINED__
- #define __IVssComponent_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssComponent, 0xd2c72c96, 0xc121, 0x4518, 0xb6,0x27, 0xe5,0xa9,0x3d,0x01,0x0e,0xad);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("d2c72c96-c121-4518-b627-e5a93d010ead")
- IVssComponent : public IUnknown
- {
- virtual HRESULT STDMETHODCALLTYPE GetLogicalPath(
- BSTR *pbstrPath) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetComponentType(
- VSS_COMPONENT_TYPE *pct) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetComponentName(
- BSTR *pbstrName) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetBackupSucceeded(
- boolean *pbSucceeded) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetAlternateLocationMappingCount(
- UINT *pcMappings) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetAlternateLocationMapping(
- UINT iMapping,
- IVssWMFiledesc **ppFiledesc) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetBackupMetadata(
- LPCWSTR wszData) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetBackupMetadata(
- BSTR *pbstrData) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddPartialFile(
- LPCWSTR wszPath,
- LPCWSTR wszFilename,
- LPCWSTR wszRanges,
- LPCWSTR wszMetadata) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetPartialFileCount(
- UINT *pcPartialFiles) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetPartialFile(
- UINT iPartialFile,
- BSTR *pbstrPath,
- BSTR *pbstrFilename,
- BSTR *pbstrRange,
- BSTR *pbstrMetadata) = 0;
- virtual HRESULT STDMETHODCALLTYPE IsSelectedForRestore(
- boolean *pbSelectedForRestore) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetAdditionalRestores(
- boolean *pbAdditionalRestores) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetNewTargetCount(
- UINT *pcNewTarget) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetNewTarget(
- UINT iNewTarget,
- IVssWMFiledesc **ppFiledesc) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddDirectedTarget(
- LPCWSTR wszSourcePath,
- LPCWSTR wszSourceFilename,
- LPCWSTR wszSourceRangeList,
- LPCWSTR wszDestinationPath,
- LPCWSTR wszDestinationFilename,
- LPCWSTR wszDestinationRangeList) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetDirectedTargetCount(
- UINT *pcDirectedTarget) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetDirectedTarget(
- UINT iDirectedTarget,
- BSTR *pbstrSourcePath,
- BSTR *pbstrSourceFileName,
- BSTR *pbstrSourceRangeList,
- BSTR *pbstrDestinationPath,
- BSTR *pbstrDestinationFilename,
- BSTR *pbstrDestinationRangeList) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetRestoreMetadata(
- LPCWSTR wszRestoreMetadata) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetRestoreMetadata(
- BSTR *pbstrRestoreMetadata) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetRestoreTarget(
- VSS_RESTORE_TARGET target) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetRestoreTarget(
- VSS_RESTORE_TARGET *pTarget) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetPreRestoreFailureMsg(
- LPCWSTR wszPreRestoreFailureMsg) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetPreRestoreFailureMsg(
- BSTR *pbstrPreRestoreFailureMsg) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetPostRestoreFailureMsg(
- LPCWSTR wszPostRestoreFailureMsg) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetPostRestoreFailureMsg(
- BSTR *pbstrPostRestoreFailureMsg) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetBackupStamp(
- LPCWSTR wszBackupStamp) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetBackupStamp(
- BSTR *pbstrBackupStamp) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetPreviousBackupStamp(
- BSTR *pbstrBackupStamp) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetBackupOptions(
- BSTR *pbstrBackupOptions) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetRestoreOptions(
- BSTR *pbstrRestoreOptions) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetRestoreSubcomponentCount(
- UINT *pcRestoreSubcomponent) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetRestoreSubcomponent(
- UINT iComponent,
- BSTR *pbstrLogicalPath,
- BSTR *pbstrComponentName,
- boolean *pbRepair) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetFileRestoreStatus(
- VSS_FILE_RESTORE_STATUS *pStatus) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddDifferencedFilesByLastModifyTime(
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- WINBOOL bRecursive,
- FILETIME ftLastModifyTime) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddDifferencedFilesByLastModifyLSN(
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- WINBOOL bRecursive,
- BSTR bstrLsnString) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetDifferencedFilesCount(
- UINT *pcDifferencedFiles) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetDifferencedFile(
- UINT iDifferencedFile,
- BSTR *pbstrPath,
- BSTR *pbstrFilespec,
- WINBOOL *pbRecursive,
- BSTR *pbstrLsnString,
- FILETIME *pftLastModifyTime) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssComponent, 0xd2c72c96, 0xc121, 0x4518, 0xb6,0x27, 0xe5,0xa9,0x3d,0x01,0x0e,0xad)
- #endif
- #else
- typedef struct IVssComponentVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IVssComponent *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IVssComponent *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IVssComponent *This);
- /*** IVssComponent methods ***/
- HRESULT (STDMETHODCALLTYPE *GetLogicalPath)(
- IVssComponent *This,
- BSTR *pbstrPath);
- HRESULT (STDMETHODCALLTYPE *GetComponentType)(
- IVssComponent *This,
- VSS_COMPONENT_TYPE *pct);
- HRESULT (STDMETHODCALLTYPE *GetComponentName)(
- IVssComponent *This,
- BSTR *pbstrName);
- HRESULT (STDMETHODCALLTYPE *GetBackupSucceeded)(
- IVssComponent *This,
- boolean *pbSucceeded);
- HRESULT (STDMETHODCALLTYPE *GetAlternateLocationMappingCount)(
- IVssComponent *This,
- UINT *pcMappings);
- HRESULT (STDMETHODCALLTYPE *GetAlternateLocationMapping)(
- IVssComponent *This,
- UINT iMapping,
- IVssWMFiledesc **ppFiledesc);
- HRESULT (STDMETHODCALLTYPE *SetBackupMetadata)(
- IVssComponent *This,
- LPCWSTR wszData);
- HRESULT (STDMETHODCALLTYPE *GetBackupMetadata)(
- IVssComponent *This,
- BSTR *pbstrData);
- HRESULT (STDMETHODCALLTYPE *AddPartialFile)(
- IVssComponent *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilename,
- LPCWSTR wszRanges,
- LPCWSTR wszMetadata);
- HRESULT (STDMETHODCALLTYPE *GetPartialFileCount)(
- IVssComponent *This,
- UINT *pcPartialFiles);
- HRESULT (STDMETHODCALLTYPE *GetPartialFile)(
- IVssComponent *This,
- UINT iPartialFile,
- BSTR *pbstrPath,
- BSTR *pbstrFilename,
- BSTR *pbstrRange,
- BSTR *pbstrMetadata);
- HRESULT (STDMETHODCALLTYPE *IsSelectedForRestore)(
- IVssComponent *This,
- boolean *pbSelectedForRestore);
- HRESULT (STDMETHODCALLTYPE *GetAdditionalRestores)(
- IVssComponent *This,
- boolean *pbAdditionalRestores);
- HRESULT (STDMETHODCALLTYPE *GetNewTargetCount)(
- IVssComponent *This,
- UINT *pcNewTarget);
- HRESULT (STDMETHODCALLTYPE *GetNewTarget)(
- IVssComponent *This,
- UINT iNewTarget,
- IVssWMFiledesc **ppFiledesc);
- HRESULT (STDMETHODCALLTYPE *AddDirectedTarget)(
- IVssComponent *This,
- LPCWSTR wszSourcePath,
- LPCWSTR wszSourceFilename,
- LPCWSTR wszSourceRangeList,
- LPCWSTR wszDestinationPath,
- LPCWSTR wszDestinationFilename,
- LPCWSTR wszDestinationRangeList);
- HRESULT (STDMETHODCALLTYPE *GetDirectedTargetCount)(
- IVssComponent *This,
- UINT *pcDirectedTarget);
- HRESULT (STDMETHODCALLTYPE *GetDirectedTarget)(
- IVssComponent *This,
- UINT iDirectedTarget,
- BSTR *pbstrSourcePath,
- BSTR *pbstrSourceFileName,
- BSTR *pbstrSourceRangeList,
- BSTR *pbstrDestinationPath,
- BSTR *pbstrDestinationFilename,
- BSTR *pbstrDestinationRangeList);
- HRESULT (STDMETHODCALLTYPE *SetRestoreMetadata)(
- IVssComponent *This,
- LPCWSTR wszRestoreMetadata);
- HRESULT (STDMETHODCALLTYPE *GetRestoreMetadata)(
- IVssComponent *This,
- BSTR *pbstrRestoreMetadata);
- HRESULT (STDMETHODCALLTYPE *SetRestoreTarget)(
- IVssComponent *This,
- VSS_RESTORE_TARGET target);
- HRESULT (STDMETHODCALLTYPE *GetRestoreTarget)(
- IVssComponent *This,
- VSS_RESTORE_TARGET *pTarget);
- HRESULT (STDMETHODCALLTYPE *SetPreRestoreFailureMsg)(
- IVssComponent *This,
- LPCWSTR wszPreRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetPreRestoreFailureMsg)(
- IVssComponent *This,
- BSTR *pbstrPreRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *SetPostRestoreFailureMsg)(
- IVssComponent *This,
- LPCWSTR wszPostRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetPostRestoreFailureMsg)(
- IVssComponent *This,
- BSTR *pbstrPostRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *SetBackupStamp)(
- IVssComponent *This,
- LPCWSTR wszBackupStamp);
- HRESULT (STDMETHODCALLTYPE *GetBackupStamp)(
- IVssComponent *This,
- BSTR *pbstrBackupStamp);
- HRESULT (STDMETHODCALLTYPE *GetPreviousBackupStamp)(
- IVssComponent *This,
- BSTR *pbstrBackupStamp);
- HRESULT (STDMETHODCALLTYPE *GetBackupOptions)(
- IVssComponent *This,
- BSTR *pbstrBackupOptions);
- HRESULT (STDMETHODCALLTYPE *GetRestoreOptions)(
- IVssComponent *This,
- BSTR *pbstrRestoreOptions);
- HRESULT (STDMETHODCALLTYPE *GetRestoreSubcomponentCount)(
- IVssComponent *This,
- UINT *pcRestoreSubcomponent);
- HRESULT (STDMETHODCALLTYPE *GetRestoreSubcomponent)(
- IVssComponent *This,
- UINT iComponent,
- BSTR *pbstrLogicalPath,
- BSTR *pbstrComponentName,
- boolean *pbRepair);
- HRESULT (STDMETHODCALLTYPE *GetFileRestoreStatus)(
- IVssComponent *This,
- VSS_FILE_RESTORE_STATUS *pStatus);
- HRESULT (STDMETHODCALLTYPE *AddDifferencedFilesByLastModifyTime)(
- IVssComponent *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- WINBOOL bRecursive,
- FILETIME ftLastModifyTime);
- HRESULT (STDMETHODCALLTYPE *AddDifferencedFilesByLastModifyLSN)(
- IVssComponent *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- WINBOOL bRecursive,
- BSTR bstrLsnString);
- HRESULT (STDMETHODCALLTYPE *GetDifferencedFilesCount)(
- IVssComponent *This,
- UINT *pcDifferencedFiles);
- HRESULT (STDMETHODCALLTYPE *GetDifferencedFile)(
- IVssComponent *This,
- UINT iDifferencedFile,
- BSTR *pbstrPath,
- BSTR *pbstrFilespec,
- WINBOOL *pbRecursive,
- BSTR *pbstrLsnString,
- FILETIME *pftLastModifyTime);
- END_INTERFACE
- } IVssComponentVtbl;
- interface IVssComponent {
- CONST_VTBL IVssComponentVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IVssComponent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IVssComponent_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IVssComponent_Release(This) (This)->lpVtbl->Release(This)
- /*** IVssComponent methods ***/
- #define IVssComponent_GetLogicalPath(This,pbstrPath) (This)->lpVtbl->GetLogicalPath(This,pbstrPath)
- #define IVssComponent_GetComponentType(This,pct) (This)->lpVtbl->GetComponentType(This,pct)
- #define IVssComponent_GetComponentName(This,pbstrName) (This)->lpVtbl->GetComponentName(This,pbstrName)
- #define IVssComponent_GetBackupSucceeded(This,pbSucceeded) (This)->lpVtbl->GetBackupSucceeded(This,pbSucceeded)
- #define IVssComponent_GetAlternateLocationMappingCount(This,pcMappings) (This)->lpVtbl->GetAlternateLocationMappingCount(This,pcMappings)
- #define IVssComponent_GetAlternateLocationMapping(This,iMapping,ppFiledesc) (This)->lpVtbl->GetAlternateLocationMapping(This,iMapping,ppFiledesc)
- #define IVssComponent_SetBackupMetadata(This,wszData) (This)->lpVtbl->SetBackupMetadata(This,wszData)
- #define IVssComponent_GetBackupMetadata(This,pbstrData) (This)->lpVtbl->GetBackupMetadata(This,pbstrData)
- #define IVssComponent_AddPartialFile(This,wszPath,wszFilename,wszRanges,wszMetadata) (This)->lpVtbl->AddPartialFile(This,wszPath,wszFilename,wszRanges,wszMetadata)
- #define IVssComponent_GetPartialFileCount(This,pcPartialFiles) (This)->lpVtbl->GetPartialFileCount(This,pcPartialFiles)
- #define IVssComponent_GetPartialFile(This,iPartialFile,pbstrPath,pbstrFilename,pbstrRange,pbstrMetadata) (This)->lpVtbl->GetPartialFile(This,iPartialFile,pbstrPath,pbstrFilename,pbstrRange,pbstrMetadata)
- #define IVssComponent_IsSelectedForRestore(This,pbSelectedForRestore) (This)->lpVtbl->IsSelectedForRestore(This,pbSelectedForRestore)
- #define IVssComponent_GetAdditionalRestores(This,pbAdditionalRestores) (This)->lpVtbl->GetAdditionalRestores(This,pbAdditionalRestores)
- #define IVssComponent_GetNewTargetCount(This,pcNewTarget) (This)->lpVtbl->GetNewTargetCount(This,pcNewTarget)
- #define IVssComponent_GetNewTarget(This,iNewTarget,ppFiledesc) (This)->lpVtbl->GetNewTarget(This,iNewTarget,ppFiledesc)
- #define IVssComponent_AddDirectedTarget(This,wszSourcePath,wszSourceFilename,wszSourceRangeList,wszDestinationPath,wszDestinationFilename,wszDestinationRangeList) (This)->lpVtbl->AddDirectedTarget(This,wszSourcePath,wszSourceFilename,wszSourceRangeList,wszDestinationPath,wszDestinationFilename,wszDestinationRangeList)
- #define IVssComponent_GetDirectedTargetCount(This,pcDirectedTarget) (This)->lpVtbl->GetDirectedTargetCount(This,pcDirectedTarget)
- #define IVssComponent_GetDirectedTarget(This,iDirectedTarget,pbstrSourcePath,pbstrSourceFileName,pbstrSourceRangeList,pbstrDestinationPath,pbstrDestinationFilename,pbstrDestinationRangeList) (This)->lpVtbl->GetDirectedTarget(This,iDirectedTarget,pbstrSourcePath,pbstrSourceFileName,pbstrSourceRangeList,pbstrDestinationPath,pbstrDestinationFilename,pbstrDestinationRangeList)
- #define IVssComponent_SetRestoreMetadata(This,wszRestoreMetadata) (This)->lpVtbl->SetRestoreMetadata(This,wszRestoreMetadata)
- #define IVssComponent_GetRestoreMetadata(This,pbstrRestoreMetadata) (This)->lpVtbl->GetRestoreMetadata(This,pbstrRestoreMetadata)
- #define IVssComponent_SetRestoreTarget(This,target) (This)->lpVtbl->SetRestoreTarget(This,target)
- #define IVssComponent_GetRestoreTarget(This,pTarget) (This)->lpVtbl->GetRestoreTarget(This,pTarget)
- #define IVssComponent_SetPreRestoreFailureMsg(This,wszPreRestoreFailureMsg) (This)->lpVtbl->SetPreRestoreFailureMsg(This,wszPreRestoreFailureMsg)
- #define IVssComponent_GetPreRestoreFailureMsg(This,pbstrPreRestoreFailureMsg) (This)->lpVtbl->GetPreRestoreFailureMsg(This,pbstrPreRestoreFailureMsg)
- #define IVssComponent_SetPostRestoreFailureMsg(This,wszPostRestoreFailureMsg) (This)->lpVtbl->SetPostRestoreFailureMsg(This,wszPostRestoreFailureMsg)
- #define IVssComponent_GetPostRestoreFailureMsg(This,pbstrPostRestoreFailureMsg) (This)->lpVtbl->GetPostRestoreFailureMsg(This,pbstrPostRestoreFailureMsg)
- #define IVssComponent_SetBackupStamp(This,wszBackupStamp) (This)->lpVtbl->SetBackupStamp(This,wszBackupStamp)
- #define IVssComponent_GetBackupStamp(This,pbstrBackupStamp) (This)->lpVtbl->GetBackupStamp(This,pbstrBackupStamp)
- #define IVssComponent_GetPreviousBackupStamp(This,pbstrBackupStamp) (This)->lpVtbl->GetPreviousBackupStamp(This,pbstrBackupStamp)
- #define IVssComponent_GetBackupOptions(This,pbstrBackupOptions) (This)->lpVtbl->GetBackupOptions(This,pbstrBackupOptions)
- #define IVssComponent_GetRestoreOptions(This,pbstrRestoreOptions) (This)->lpVtbl->GetRestoreOptions(This,pbstrRestoreOptions)
- #define IVssComponent_GetRestoreSubcomponentCount(This,pcRestoreSubcomponent) (This)->lpVtbl->GetRestoreSubcomponentCount(This,pcRestoreSubcomponent)
- #define IVssComponent_GetRestoreSubcomponent(This,iComponent,pbstrLogicalPath,pbstrComponentName,pbRepair) (This)->lpVtbl->GetRestoreSubcomponent(This,iComponent,pbstrLogicalPath,pbstrComponentName,pbRepair)
- #define IVssComponent_GetFileRestoreStatus(This,pStatus) (This)->lpVtbl->GetFileRestoreStatus(This,pStatus)
- #define IVssComponent_AddDifferencedFilesByLastModifyTime(This,wszPath,wszFilespec,bRecursive,ftLastModifyTime) (This)->lpVtbl->AddDifferencedFilesByLastModifyTime(This,wszPath,wszFilespec,bRecursive,ftLastModifyTime)
- #define IVssComponent_AddDifferencedFilesByLastModifyLSN(This,wszPath,wszFilespec,bRecursive,bstrLsnString) (This)->lpVtbl->AddDifferencedFilesByLastModifyLSN(This,wszPath,wszFilespec,bRecursive,bstrLsnString)
- #define IVssComponent_GetDifferencedFilesCount(This,pcDifferencedFiles) (This)->lpVtbl->GetDifferencedFilesCount(This,pcDifferencedFiles)
- #define IVssComponent_GetDifferencedFile(This,iDifferencedFile,pbstrPath,pbstrFilespec,pbRecursive,pbstrLsnString,pftLastModifyTime) (This)->lpVtbl->GetDifferencedFile(This,iDifferencedFile,pbstrPath,pbstrFilespec,pbRecursive,pbstrLsnString,pftLastModifyTime)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IVssComponent_QueryInterface(IVssComponent* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IVssComponent_AddRef(IVssComponent* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IVssComponent_Release(IVssComponent* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IVssComponent methods ***/
- static FORCEINLINE HRESULT IVssComponent_GetLogicalPath(IVssComponent* This,BSTR *pbstrPath) {
- return This->lpVtbl->GetLogicalPath(This,pbstrPath);
- }
- static FORCEINLINE HRESULT IVssComponent_GetComponentType(IVssComponent* This,VSS_COMPONENT_TYPE *pct) {
- return This->lpVtbl->GetComponentType(This,pct);
- }
- static FORCEINLINE HRESULT IVssComponent_GetComponentName(IVssComponent* This,BSTR *pbstrName) {
- return This->lpVtbl->GetComponentName(This,pbstrName);
- }
- static FORCEINLINE HRESULT IVssComponent_GetBackupSucceeded(IVssComponent* This,boolean *pbSucceeded) {
- return This->lpVtbl->GetBackupSucceeded(This,pbSucceeded);
- }
- static FORCEINLINE HRESULT IVssComponent_GetAlternateLocationMappingCount(IVssComponent* This,UINT *pcMappings) {
- return This->lpVtbl->GetAlternateLocationMappingCount(This,pcMappings);
- }
- static FORCEINLINE HRESULT IVssComponent_GetAlternateLocationMapping(IVssComponent* This,UINT iMapping,IVssWMFiledesc **ppFiledesc) {
- return This->lpVtbl->GetAlternateLocationMapping(This,iMapping,ppFiledesc);
- }
- static FORCEINLINE HRESULT IVssComponent_SetBackupMetadata(IVssComponent* This,LPCWSTR wszData) {
- return This->lpVtbl->SetBackupMetadata(This,wszData);
- }
- static FORCEINLINE HRESULT IVssComponent_GetBackupMetadata(IVssComponent* This,BSTR *pbstrData) {
- return This->lpVtbl->GetBackupMetadata(This,pbstrData);
- }
- static FORCEINLINE HRESULT IVssComponent_AddPartialFile(IVssComponent* This,LPCWSTR wszPath,LPCWSTR wszFilename,LPCWSTR wszRanges,LPCWSTR wszMetadata) {
- return This->lpVtbl->AddPartialFile(This,wszPath,wszFilename,wszRanges,wszMetadata);
- }
- static FORCEINLINE HRESULT IVssComponent_GetPartialFileCount(IVssComponent* This,UINT *pcPartialFiles) {
- return This->lpVtbl->GetPartialFileCount(This,pcPartialFiles);
- }
- static FORCEINLINE HRESULT IVssComponent_GetPartialFile(IVssComponent* This,UINT iPartialFile,BSTR *pbstrPath,BSTR *pbstrFilename,BSTR *pbstrRange,BSTR *pbstrMetadata) {
- return This->lpVtbl->GetPartialFile(This,iPartialFile,pbstrPath,pbstrFilename,pbstrRange,pbstrMetadata);
- }
- static FORCEINLINE HRESULT IVssComponent_IsSelectedForRestore(IVssComponent* This,boolean *pbSelectedForRestore) {
- return This->lpVtbl->IsSelectedForRestore(This,pbSelectedForRestore);
- }
- static FORCEINLINE HRESULT IVssComponent_GetAdditionalRestores(IVssComponent* This,boolean *pbAdditionalRestores) {
- return This->lpVtbl->GetAdditionalRestores(This,pbAdditionalRestores);
- }
- static FORCEINLINE HRESULT IVssComponent_GetNewTargetCount(IVssComponent* This,UINT *pcNewTarget) {
- return This->lpVtbl->GetNewTargetCount(This,pcNewTarget);
- }
- static FORCEINLINE HRESULT IVssComponent_GetNewTarget(IVssComponent* This,UINT iNewTarget,IVssWMFiledesc **ppFiledesc) {
- return This->lpVtbl->GetNewTarget(This,iNewTarget,ppFiledesc);
- }
- static FORCEINLINE HRESULT IVssComponent_AddDirectedTarget(IVssComponent* This,LPCWSTR wszSourcePath,LPCWSTR wszSourceFilename,LPCWSTR wszSourceRangeList,LPCWSTR wszDestinationPath,LPCWSTR wszDestinationFilename,LPCWSTR wszDestinationRangeList) {
- return This->lpVtbl->AddDirectedTarget(This,wszSourcePath,wszSourceFilename,wszSourceRangeList,wszDestinationPath,wszDestinationFilename,wszDestinationRangeList);
- }
- static FORCEINLINE HRESULT IVssComponent_GetDirectedTargetCount(IVssComponent* This,UINT *pcDirectedTarget) {
- return This->lpVtbl->GetDirectedTargetCount(This,pcDirectedTarget);
- }
- static FORCEINLINE HRESULT IVssComponent_GetDirectedTarget(IVssComponent* This,UINT iDirectedTarget,BSTR *pbstrSourcePath,BSTR *pbstrSourceFileName,BSTR *pbstrSourceRangeList,BSTR *pbstrDestinationPath,BSTR *pbstrDestinationFilename,BSTR *pbstrDestinationRangeList) {
- return This->lpVtbl->GetDirectedTarget(This,iDirectedTarget,pbstrSourcePath,pbstrSourceFileName,pbstrSourceRangeList,pbstrDestinationPath,pbstrDestinationFilename,pbstrDestinationRangeList);
- }
- static FORCEINLINE HRESULT IVssComponent_SetRestoreMetadata(IVssComponent* This,LPCWSTR wszRestoreMetadata) {
- return This->lpVtbl->SetRestoreMetadata(This,wszRestoreMetadata);
- }
- static FORCEINLINE HRESULT IVssComponent_GetRestoreMetadata(IVssComponent* This,BSTR *pbstrRestoreMetadata) {
- return This->lpVtbl->GetRestoreMetadata(This,pbstrRestoreMetadata);
- }
- static FORCEINLINE HRESULT IVssComponent_SetRestoreTarget(IVssComponent* This,VSS_RESTORE_TARGET target) {
- return This->lpVtbl->SetRestoreTarget(This,target);
- }
- static FORCEINLINE HRESULT IVssComponent_GetRestoreTarget(IVssComponent* This,VSS_RESTORE_TARGET *pTarget) {
- return This->lpVtbl->GetRestoreTarget(This,pTarget);
- }
- static FORCEINLINE HRESULT IVssComponent_SetPreRestoreFailureMsg(IVssComponent* This,LPCWSTR wszPreRestoreFailureMsg) {
- return This->lpVtbl->SetPreRestoreFailureMsg(This,wszPreRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponent_GetPreRestoreFailureMsg(IVssComponent* This,BSTR *pbstrPreRestoreFailureMsg) {
- return This->lpVtbl->GetPreRestoreFailureMsg(This,pbstrPreRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponent_SetPostRestoreFailureMsg(IVssComponent* This,LPCWSTR wszPostRestoreFailureMsg) {
- return This->lpVtbl->SetPostRestoreFailureMsg(This,wszPostRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponent_GetPostRestoreFailureMsg(IVssComponent* This,BSTR *pbstrPostRestoreFailureMsg) {
- return This->lpVtbl->GetPostRestoreFailureMsg(This,pbstrPostRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponent_SetBackupStamp(IVssComponent* This,LPCWSTR wszBackupStamp) {
- return This->lpVtbl->SetBackupStamp(This,wszBackupStamp);
- }
- static FORCEINLINE HRESULT IVssComponent_GetBackupStamp(IVssComponent* This,BSTR *pbstrBackupStamp) {
- return This->lpVtbl->GetBackupStamp(This,pbstrBackupStamp);
- }
- static FORCEINLINE HRESULT IVssComponent_GetPreviousBackupStamp(IVssComponent* This,BSTR *pbstrBackupStamp) {
- return This->lpVtbl->GetPreviousBackupStamp(This,pbstrBackupStamp);
- }
- static FORCEINLINE HRESULT IVssComponent_GetBackupOptions(IVssComponent* This,BSTR *pbstrBackupOptions) {
- return This->lpVtbl->GetBackupOptions(This,pbstrBackupOptions);
- }
- static FORCEINLINE HRESULT IVssComponent_GetRestoreOptions(IVssComponent* This,BSTR *pbstrRestoreOptions) {
- return This->lpVtbl->GetRestoreOptions(This,pbstrRestoreOptions);
- }
- static FORCEINLINE HRESULT IVssComponent_GetRestoreSubcomponentCount(IVssComponent* This,UINT *pcRestoreSubcomponent) {
- return This->lpVtbl->GetRestoreSubcomponentCount(This,pcRestoreSubcomponent);
- }
- static FORCEINLINE HRESULT IVssComponent_GetRestoreSubcomponent(IVssComponent* This,UINT iComponent,BSTR *pbstrLogicalPath,BSTR *pbstrComponentName,boolean *pbRepair) {
- return This->lpVtbl->GetRestoreSubcomponent(This,iComponent,pbstrLogicalPath,pbstrComponentName,pbRepair);
- }
- static FORCEINLINE HRESULT IVssComponent_GetFileRestoreStatus(IVssComponent* This,VSS_FILE_RESTORE_STATUS *pStatus) {
- return This->lpVtbl->GetFileRestoreStatus(This,pStatus);
- }
- static FORCEINLINE HRESULT IVssComponent_AddDifferencedFilesByLastModifyTime(IVssComponent* This,LPCWSTR wszPath,LPCWSTR wszFilespec,WINBOOL bRecursive,FILETIME ftLastModifyTime) {
- return This->lpVtbl->AddDifferencedFilesByLastModifyTime(This,wszPath,wszFilespec,bRecursive,ftLastModifyTime);
- }
- static FORCEINLINE HRESULT IVssComponent_AddDifferencedFilesByLastModifyLSN(IVssComponent* This,LPCWSTR wszPath,LPCWSTR wszFilespec,WINBOOL bRecursive,BSTR bstrLsnString) {
- return This->lpVtbl->AddDifferencedFilesByLastModifyLSN(This,wszPath,wszFilespec,bRecursive,bstrLsnString);
- }
- static FORCEINLINE HRESULT IVssComponent_GetDifferencedFilesCount(IVssComponent* This,UINT *pcDifferencedFiles) {
- return This->lpVtbl->GetDifferencedFilesCount(This,pcDifferencedFiles);
- }
- static FORCEINLINE HRESULT IVssComponent_GetDifferencedFile(IVssComponent* This,UINT iDifferencedFile,BSTR *pbstrPath,BSTR *pbstrFilespec,WINBOOL *pbRecursive,BSTR *pbstrLsnString,FILETIME *pftLastModifyTime) {
- return This->lpVtbl->GetDifferencedFile(This,iDifferencedFile,pbstrPath,pbstrFilespec,pbRecursive,pbstrLsnString,pftLastModifyTime);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssComponent_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IVssWriterComponents interface
- */
- #ifndef __IVssWriterComponents_INTERFACE_DEFINED__
- #define __IVssWriterComponents_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssWriterComponents, 0x00000000, 0x0000, 0x0000, 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("00000000-0000-0000-0000-000000000000")
- IVssWriterComponents
- {
- BEGIN_INTERFACE
- virtual HRESULT STDMETHODCALLTYPE GetComponentCount(
- UINT *pcComponents) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetWriterInfo(
- VSS_ID *pidInstance,
- VSS_ID *pidWriter) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetComponent(
- UINT iComponent,
- IVssComponent **ppComponent) = 0;
- END_INTERFACE
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssWriterComponents, 0x00000000, 0x0000, 0x0000, 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00)
- #endif
- #else
- typedef struct IVssWriterComponentsVtbl {
- BEGIN_INTERFACE
- /*** IVssWriterComponents methods ***/
- HRESULT (STDMETHODCALLTYPE *GetComponentCount)(
- IVssWriterComponents *This,
- UINT *pcComponents);
- HRESULT (STDMETHODCALLTYPE *GetWriterInfo)(
- IVssWriterComponents *This,
- VSS_ID *pidInstance,
- VSS_ID *pidWriter);
- HRESULT (STDMETHODCALLTYPE *GetComponent)(
- IVssWriterComponents *This,
- UINT iComponent,
- IVssComponent **ppComponent);
- END_INTERFACE
- } IVssWriterComponentsVtbl;
- interface IVssWriterComponents {
- CONST_VTBL IVssWriterComponentsVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IVssWriterComponents methods ***/
- #define IVssWriterComponents_GetComponentCount(This,pcComponents) (This)->lpVtbl->GetComponentCount(This,pcComponents)
- #define IVssWriterComponents_GetWriterInfo(This,pidInstance,pidWriter) (This)->lpVtbl->GetWriterInfo(This,pidInstance,pidWriter)
- #define IVssWriterComponents_GetComponent(This,iComponent,ppComponent) (This)->lpVtbl->GetComponent(This,iComponent,ppComponent)
- #else
- /*** IVssWriterComponents methods ***/
- static FORCEINLINE HRESULT IVssWriterComponents_GetComponentCount(IVssWriterComponents* This,UINT *pcComponents) {
- return This->lpVtbl->GetComponentCount(This,pcComponents);
- }
- static FORCEINLINE HRESULT IVssWriterComponents_GetWriterInfo(IVssWriterComponents* This,VSS_ID *pidInstance,VSS_ID *pidWriter) {
- return This->lpVtbl->GetWriterInfo(This,pidInstance,pidWriter);
- }
- static FORCEINLINE HRESULT IVssWriterComponents_GetComponent(IVssWriterComponents* This,UINT iComponent,IVssComponent **ppComponent) {
- return This->lpVtbl->GetComponent(This,iComponent,ppComponent);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssWriterComponents_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IVssComponentEx interface
- */
- #ifndef __IVssComponentEx_INTERFACE_DEFINED__
- #define __IVssComponentEx_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssComponentEx, 0x156c8b5e, 0xf131, 0x4bd7, 0x9c,0x97, 0xd1,0x92,0x3b,0xe7,0xe1,0xfa);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("156c8b5e-f131-4bd7-9c97-d1923be7e1fa")
- IVssComponentEx : public IVssComponent
- {
- virtual HRESULT STDMETHODCALLTYPE SetPrepareForBackupFailureMsg(
- LPCWSTR wszFailureMsg) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetPostSnapshotFailureMsg(
- LPCWSTR wszFailureMsg) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetPrepareForBackupFailureMsg(
- BSTR *pbstrFailureMsg) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetPostSnapshotFailureMsg(
- BSTR *pbstrFailureMsg) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetAuthoritativeRestore(
- boolean *pbAuth) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetRollForward(
- VSS_ROLLFORWARD_TYPE *pRollType,
- BSTR *pbstrPoint) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetRestoreName(
- BSTR *pbstrName) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssComponentEx, 0x156c8b5e, 0xf131, 0x4bd7, 0x9c,0x97, 0xd1,0x92,0x3b,0xe7,0xe1,0xfa)
- #endif
- #else
- typedef struct IVssComponentExVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IVssComponentEx *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IVssComponentEx *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IVssComponentEx *This);
- /*** IVssComponent methods ***/
- HRESULT (STDMETHODCALLTYPE *GetLogicalPath)(
- IVssComponentEx *This,
- BSTR *pbstrPath);
- HRESULT (STDMETHODCALLTYPE *GetComponentType)(
- IVssComponentEx *This,
- VSS_COMPONENT_TYPE *pct);
- HRESULT (STDMETHODCALLTYPE *GetComponentName)(
- IVssComponentEx *This,
- BSTR *pbstrName);
- HRESULT (STDMETHODCALLTYPE *GetBackupSucceeded)(
- IVssComponentEx *This,
- boolean *pbSucceeded);
- HRESULT (STDMETHODCALLTYPE *GetAlternateLocationMappingCount)(
- IVssComponentEx *This,
- UINT *pcMappings);
- HRESULT (STDMETHODCALLTYPE *GetAlternateLocationMapping)(
- IVssComponentEx *This,
- UINT iMapping,
- IVssWMFiledesc **ppFiledesc);
- HRESULT (STDMETHODCALLTYPE *SetBackupMetadata)(
- IVssComponentEx *This,
- LPCWSTR wszData);
- HRESULT (STDMETHODCALLTYPE *GetBackupMetadata)(
- IVssComponentEx *This,
- BSTR *pbstrData);
- HRESULT (STDMETHODCALLTYPE *AddPartialFile)(
- IVssComponentEx *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilename,
- LPCWSTR wszRanges,
- LPCWSTR wszMetadata);
- HRESULT (STDMETHODCALLTYPE *GetPartialFileCount)(
- IVssComponentEx *This,
- UINT *pcPartialFiles);
- HRESULT (STDMETHODCALLTYPE *GetPartialFile)(
- IVssComponentEx *This,
- UINT iPartialFile,
- BSTR *pbstrPath,
- BSTR *pbstrFilename,
- BSTR *pbstrRange,
- BSTR *pbstrMetadata);
- HRESULT (STDMETHODCALLTYPE *IsSelectedForRestore)(
- IVssComponentEx *This,
- boolean *pbSelectedForRestore);
- HRESULT (STDMETHODCALLTYPE *GetAdditionalRestores)(
- IVssComponentEx *This,
- boolean *pbAdditionalRestores);
- HRESULT (STDMETHODCALLTYPE *GetNewTargetCount)(
- IVssComponentEx *This,
- UINT *pcNewTarget);
- HRESULT (STDMETHODCALLTYPE *GetNewTarget)(
- IVssComponentEx *This,
- UINT iNewTarget,
- IVssWMFiledesc **ppFiledesc);
- HRESULT (STDMETHODCALLTYPE *AddDirectedTarget)(
- IVssComponentEx *This,
- LPCWSTR wszSourcePath,
- LPCWSTR wszSourceFilename,
- LPCWSTR wszSourceRangeList,
- LPCWSTR wszDestinationPath,
- LPCWSTR wszDestinationFilename,
- LPCWSTR wszDestinationRangeList);
- HRESULT (STDMETHODCALLTYPE *GetDirectedTargetCount)(
- IVssComponentEx *This,
- UINT *pcDirectedTarget);
- HRESULT (STDMETHODCALLTYPE *GetDirectedTarget)(
- IVssComponentEx *This,
- UINT iDirectedTarget,
- BSTR *pbstrSourcePath,
- BSTR *pbstrSourceFileName,
- BSTR *pbstrSourceRangeList,
- BSTR *pbstrDestinationPath,
- BSTR *pbstrDestinationFilename,
- BSTR *pbstrDestinationRangeList);
- HRESULT (STDMETHODCALLTYPE *SetRestoreMetadata)(
- IVssComponentEx *This,
- LPCWSTR wszRestoreMetadata);
- HRESULT (STDMETHODCALLTYPE *GetRestoreMetadata)(
- IVssComponentEx *This,
- BSTR *pbstrRestoreMetadata);
- HRESULT (STDMETHODCALLTYPE *SetRestoreTarget)(
- IVssComponentEx *This,
- VSS_RESTORE_TARGET target);
- HRESULT (STDMETHODCALLTYPE *GetRestoreTarget)(
- IVssComponentEx *This,
- VSS_RESTORE_TARGET *pTarget);
- HRESULT (STDMETHODCALLTYPE *SetPreRestoreFailureMsg)(
- IVssComponentEx *This,
- LPCWSTR wszPreRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetPreRestoreFailureMsg)(
- IVssComponentEx *This,
- BSTR *pbstrPreRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *SetPostRestoreFailureMsg)(
- IVssComponentEx *This,
- LPCWSTR wszPostRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetPostRestoreFailureMsg)(
- IVssComponentEx *This,
- BSTR *pbstrPostRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *SetBackupStamp)(
- IVssComponentEx *This,
- LPCWSTR wszBackupStamp);
- HRESULT (STDMETHODCALLTYPE *GetBackupStamp)(
- IVssComponentEx *This,
- BSTR *pbstrBackupStamp);
- HRESULT (STDMETHODCALLTYPE *GetPreviousBackupStamp)(
- IVssComponentEx *This,
- BSTR *pbstrBackupStamp);
- HRESULT (STDMETHODCALLTYPE *GetBackupOptions)(
- IVssComponentEx *This,
- BSTR *pbstrBackupOptions);
- HRESULT (STDMETHODCALLTYPE *GetRestoreOptions)(
- IVssComponentEx *This,
- BSTR *pbstrRestoreOptions);
- HRESULT (STDMETHODCALLTYPE *GetRestoreSubcomponentCount)(
- IVssComponentEx *This,
- UINT *pcRestoreSubcomponent);
- HRESULT (STDMETHODCALLTYPE *GetRestoreSubcomponent)(
- IVssComponentEx *This,
- UINT iComponent,
- BSTR *pbstrLogicalPath,
- BSTR *pbstrComponentName,
- boolean *pbRepair);
- HRESULT (STDMETHODCALLTYPE *GetFileRestoreStatus)(
- IVssComponentEx *This,
- VSS_FILE_RESTORE_STATUS *pStatus);
- HRESULT (STDMETHODCALLTYPE *AddDifferencedFilesByLastModifyTime)(
- IVssComponentEx *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- WINBOOL bRecursive,
- FILETIME ftLastModifyTime);
- HRESULT (STDMETHODCALLTYPE *AddDifferencedFilesByLastModifyLSN)(
- IVssComponentEx *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- WINBOOL bRecursive,
- BSTR bstrLsnString);
- HRESULT (STDMETHODCALLTYPE *GetDifferencedFilesCount)(
- IVssComponentEx *This,
- UINT *pcDifferencedFiles);
- HRESULT (STDMETHODCALLTYPE *GetDifferencedFile)(
- IVssComponentEx *This,
- UINT iDifferencedFile,
- BSTR *pbstrPath,
- BSTR *pbstrFilespec,
- WINBOOL *pbRecursive,
- BSTR *pbstrLsnString,
- FILETIME *pftLastModifyTime);
- /*** IVssComponentEx methods ***/
- HRESULT (STDMETHODCALLTYPE *SetPrepareForBackupFailureMsg)(
- IVssComponentEx *This,
- LPCWSTR wszFailureMsg);
- HRESULT (STDMETHODCALLTYPE *SetPostSnapshotFailureMsg)(
- IVssComponentEx *This,
- LPCWSTR wszFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetPrepareForBackupFailureMsg)(
- IVssComponentEx *This,
- BSTR *pbstrFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetPostSnapshotFailureMsg)(
- IVssComponentEx *This,
- BSTR *pbstrFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetAuthoritativeRestore)(
- IVssComponentEx *This,
- boolean *pbAuth);
- HRESULT (STDMETHODCALLTYPE *GetRollForward)(
- IVssComponentEx *This,
- VSS_ROLLFORWARD_TYPE *pRollType,
- BSTR *pbstrPoint);
- HRESULT (STDMETHODCALLTYPE *GetRestoreName)(
- IVssComponentEx *This,
- BSTR *pbstrName);
- END_INTERFACE
- } IVssComponentExVtbl;
- interface IVssComponentEx {
- CONST_VTBL IVssComponentExVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IVssComponentEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IVssComponentEx_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IVssComponentEx_Release(This) (This)->lpVtbl->Release(This)
- /*** IVssComponent methods ***/
- #define IVssComponentEx_GetLogicalPath(This,pbstrPath) (This)->lpVtbl->GetLogicalPath(This,pbstrPath)
- #define IVssComponentEx_GetComponentType(This,pct) (This)->lpVtbl->GetComponentType(This,pct)
- #define IVssComponentEx_GetComponentName(This,pbstrName) (This)->lpVtbl->GetComponentName(This,pbstrName)
- #define IVssComponentEx_GetBackupSucceeded(This,pbSucceeded) (This)->lpVtbl->GetBackupSucceeded(This,pbSucceeded)
- #define IVssComponentEx_GetAlternateLocationMappingCount(This,pcMappings) (This)->lpVtbl->GetAlternateLocationMappingCount(This,pcMappings)
- #define IVssComponentEx_GetAlternateLocationMapping(This,iMapping,ppFiledesc) (This)->lpVtbl->GetAlternateLocationMapping(This,iMapping,ppFiledesc)
- #define IVssComponentEx_SetBackupMetadata(This,wszData) (This)->lpVtbl->SetBackupMetadata(This,wszData)
- #define IVssComponentEx_GetBackupMetadata(This,pbstrData) (This)->lpVtbl->GetBackupMetadata(This,pbstrData)
- #define IVssComponentEx_AddPartialFile(This,wszPath,wszFilename,wszRanges,wszMetadata) (This)->lpVtbl->AddPartialFile(This,wszPath,wszFilename,wszRanges,wszMetadata)
- #define IVssComponentEx_GetPartialFileCount(This,pcPartialFiles) (This)->lpVtbl->GetPartialFileCount(This,pcPartialFiles)
- #define IVssComponentEx_GetPartialFile(This,iPartialFile,pbstrPath,pbstrFilename,pbstrRange,pbstrMetadata) (This)->lpVtbl->GetPartialFile(This,iPartialFile,pbstrPath,pbstrFilename,pbstrRange,pbstrMetadata)
- #define IVssComponentEx_IsSelectedForRestore(This,pbSelectedForRestore) (This)->lpVtbl->IsSelectedForRestore(This,pbSelectedForRestore)
- #define IVssComponentEx_GetAdditionalRestores(This,pbAdditionalRestores) (This)->lpVtbl->GetAdditionalRestores(This,pbAdditionalRestores)
- #define IVssComponentEx_GetNewTargetCount(This,pcNewTarget) (This)->lpVtbl->GetNewTargetCount(This,pcNewTarget)
- #define IVssComponentEx_GetNewTarget(This,iNewTarget,ppFiledesc) (This)->lpVtbl->GetNewTarget(This,iNewTarget,ppFiledesc)
- #define IVssComponentEx_AddDirectedTarget(This,wszSourcePath,wszSourceFilename,wszSourceRangeList,wszDestinationPath,wszDestinationFilename,wszDestinationRangeList) (This)->lpVtbl->AddDirectedTarget(This,wszSourcePath,wszSourceFilename,wszSourceRangeList,wszDestinationPath,wszDestinationFilename,wszDestinationRangeList)
- #define IVssComponentEx_GetDirectedTargetCount(This,pcDirectedTarget) (This)->lpVtbl->GetDirectedTargetCount(This,pcDirectedTarget)
- #define IVssComponentEx_GetDirectedTarget(This,iDirectedTarget,pbstrSourcePath,pbstrSourceFileName,pbstrSourceRangeList,pbstrDestinationPath,pbstrDestinationFilename,pbstrDestinationRangeList) (This)->lpVtbl->GetDirectedTarget(This,iDirectedTarget,pbstrSourcePath,pbstrSourceFileName,pbstrSourceRangeList,pbstrDestinationPath,pbstrDestinationFilename,pbstrDestinationRangeList)
- #define IVssComponentEx_SetRestoreMetadata(This,wszRestoreMetadata) (This)->lpVtbl->SetRestoreMetadata(This,wszRestoreMetadata)
- #define IVssComponentEx_GetRestoreMetadata(This,pbstrRestoreMetadata) (This)->lpVtbl->GetRestoreMetadata(This,pbstrRestoreMetadata)
- #define IVssComponentEx_SetRestoreTarget(This,target) (This)->lpVtbl->SetRestoreTarget(This,target)
- #define IVssComponentEx_GetRestoreTarget(This,pTarget) (This)->lpVtbl->GetRestoreTarget(This,pTarget)
- #define IVssComponentEx_SetPreRestoreFailureMsg(This,wszPreRestoreFailureMsg) (This)->lpVtbl->SetPreRestoreFailureMsg(This,wszPreRestoreFailureMsg)
- #define IVssComponentEx_GetPreRestoreFailureMsg(This,pbstrPreRestoreFailureMsg) (This)->lpVtbl->GetPreRestoreFailureMsg(This,pbstrPreRestoreFailureMsg)
- #define IVssComponentEx_SetPostRestoreFailureMsg(This,wszPostRestoreFailureMsg) (This)->lpVtbl->SetPostRestoreFailureMsg(This,wszPostRestoreFailureMsg)
- #define IVssComponentEx_GetPostRestoreFailureMsg(This,pbstrPostRestoreFailureMsg) (This)->lpVtbl->GetPostRestoreFailureMsg(This,pbstrPostRestoreFailureMsg)
- #define IVssComponentEx_SetBackupStamp(This,wszBackupStamp) (This)->lpVtbl->SetBackupStamp(This,wszBackupStamp)
- #define IVssComponentEx_GetBackupStamp(This,pbstrBackupStamp) (This)->lpVtbl->GetBackupStamp(This,pbstrBackupStamp)
- #define IVssComponentEx_GetPreviousBackupStamp(This,pbstrBackupStamp) (This)->lpVtbl->GetPreviousBackupStamp(This,pbstrBackupStamp)
- #define IVssComponentEx_GetBackupOptions(This,pbstrBackupOptions) (This)->lpVtbl->GetBackupOptions(This,pbstrBackupOptions)
- #define IVssComponentEx_GetRestoreOptions(This,pbstrRestoreOptions) (This)->lpVtbl->GetRestoreOptions(This,pbstrRestoreOptions)
- #define IVssComponentEx_GetRestoreSubcomponentCount(This,pcRestoreSubcomponent) (This)->lpVtbl->GetRestoreSubcomponentCount(This,pcRestoreSubcomponent)
- #define IVssComponentEx_GetRestoreSubcomponent(This,iComponent,pbstrLogicalPath,pbstrComponentName,pbRepair) (This)->lpVtbl->GetRestoreSubcomponent(This,iComponent,pbstrLogicalPath,pbstrComponentName,pbRepair)
- #define IVssComponentEx_GetFileRestoreStatus(This,pStatus) (This)->lpVtbl->GetFileRestoreStatus(This,pStatus)
- #define IVssComponentEx_AddDifferencedFilesByLastModifyTime(This,wszPath,wszFilespec,bRecursive,ftLastModifyTime) (This)->lpVtbl->AddDifferencedFilesByLastModifyTime(This,wszPath,wszFilespec,bRecursive,ftLastModifyTime)
- #define IVssComponentEx_AddDifferencedFilesByLastModifyLSN(This,wszPath,wszFilespec,bRecursive,bstrLsnString) (This)->lpVtbl->AddDifferencedFilesByLastModifyLSN(This,wszPath,wszFilespec,bRecursive,bstrLsnString)
- #define IVssComponentEx_GetDifferencedFilesCount(This,pcDifferencedFiles) (This)->lpVtbl->GetDifferencedFilesCount(This,pcDifferencedFiles)
- #define IVssComponentEx_GetDifferencedFile(This,iDifferencedFile,pbstrPath,pbstrFilespec,pbRecursive,pbstrLsnString,pftLastModifyTime) (This)->lpVtbl->GetDifferencedFile(This,iDifferencedFile,pbstrPath,pbstrFilespec,pbRecursive,pbstrLsnString,pftLastModifyTime)
- /*** IVssComponentEx methods ***/
- #define IVssComponentEx_SetPrepareForBackupFailureMsg(This,wszFailureMsg) (This)->lpVtbl->SetPrepareForBackupFailureMsg(This,wszFailureMsg)
- #define IVssComponentEx_SetPostSnapshotFailureMsg(This,wszFailureMsg) (This)->lpVtbl->SetPostSnapshotFailureMsg(This,wszFailureMsg)
- #define IVssComponentEx_GetPrepareForBackupFailureMsg(This,pbstrFailureMsg) (This)->lpVtbl->GetPrepareForBackupFailureMsg(This,pbstrFailureMsg)
- #define IVssComponentEx_GetPostSnapshotFailureMsg(This,pbstrFailureMsg) (This)->lpVtbl->GetPostSnapshotFailureMsg(This,pbstrFailureMsg)
- #define IVssComponentEx_GetAuthoritativeRestore(This,pbAuth) (This)->lpVtbl->GetAuthoritativeRestore(This,pbAuth)
- #define IVssComponentEx_GetRollForward(This,pRollType,pbstrPoint) (This)->lpVtbl->GetRollForward(This,pRollType,pbstrPoint)
- #define IVssComponentEx_GetRestoreName(This,pbstrName) (This)->lpVtbl->GetRestoreName(This,pbstrName)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IVssComponentEx_QueryInterface(IVssComponentEx* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IVssComponentEx_AddRef(IVssComponentEx* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IVssComponentEx_Release(IVssComponentEx* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IVssComponent methods ***/
- static FORCEINLINE HRESULT IVssComponentEx_GetLogicalPath(IVssComponentEx* This,BSTR *pbstrPath) {
- return This->lpVtbl->GetLogicalPath(This,pbstrPath);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetComponentType(IVssComponentEx* This,VSS_COMPONENT_TYPE *pct) {
- return This->lpVtbl->GetComponentType(This,pct);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetComponentName(IVssComponentEx* This,BSTR *pbstrName) {
- return This->lpVtbl->GetComponentName(This,pbstrName);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetBackupSucceeded(IVssComponentEx* This,boolean *pbSucceeded) {
- return This->lpVtbl->GetBackupSucceeded(This,pbSucceeded);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetAlternateLocationMappingCount(IVssComponentEx* This,UINT *pcMappings) {
- return This->lpVtbl->GetAlternateLocationMappingCount(This,pcMappings);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetAlternateLocationMapping(IVssComponentEx* This,UINT iMapping,IVssWMFiledesc **ppFiledesc) {
- return This->lpVtbl->GetAlternateLocationMapping(This,iMapping,ppFiledesc);
- }
- static FORCEINLINE HRESULT IVssComponentEx_SetBackupMetadata(IVssComponentEx* This,LPCWSTR wszData) {
- return This->lpVtbl->SetBackupMetadata(This,wszData);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetBackupMetadata(IVssComponentEx* This,BSTR *pbstrData) {
- return This->lpVtbl->GetBackupMetadata(This,pbstrData);
- }
- static FORCEINLINE HRESULT IVssComponentEx_AddPartialFile(IVssComponentEx* This,LPCWSTR wszPath,LPCWSTR wszFilename,LPCWSTR wszRanges,LPCWSTR wszMetadata) {
- return This->lpVtbl->AddPartialFile(This,wszPath,wszFilename,wszRanges,wszMetadata);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetPartialFileCount(IVssComponentEx* This,UINT *pcPartialFiles) {
- return This->lpVtbl->GetPartialFileCount(This,pcPartialFiles);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetPartialFile(IVssComponentEx* This,UINT iPartialFile,BSTR *pbstrPath,BSTR *pbstrFilename,BSTR *pbstrRange,BSTR *pbstrMetadata) {
- return This->lpVtbl->GetPartialFile(This,iPartialFile,pbstrPath,pbstrFilename,pbstrRange,pbstrMetadata);
- }
- static FORCEINLINE HRESULT IVssComponentEx_IsSelectedForRestore(IVssComponentEx* This,boolean *pbSelectedForRestore) {
- return This->lpVtbl->IsSelectedForRestore(This,pbSelectedForRestore);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetAdditionalRestores(IVssComponentEx* This,boolean *pbAdditionalRestores) {
- return This->lpVtbl->GetAdditionalRestores(This,pbAdditionalRestores);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetNewTargetCount(IVssComponentEx* This,UINT *pcNewTarget) {
- return This->lpVtbl->GetNewTargetCount(This,pcNewTarget);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetNewTarget(IVssComponentEx* This,UINT iNewTarget,IVssWMFiledesc **ppFiledesc) {
- return This->lpVtbl->GetNewTarget(This,iNewTarget,ppFiledesc);
- }
- static FORCEINLINE HRESULT IVssComponentEx_AddDirectedTarget(IVssComponentEx* This,LPCWSTR wszSourcePath,LPCWSTR wszSourceFilename,LPCWSTR wszSourceRangeList,LPCWSTR wszDestinationPath,LPCWSTR wszDestinationFilename,LPCWSTR wszDestinationRangeList) {
- return This->lpVtbl->AddDirectedTarget(This,wszSourcePath,wszSourceFilename,wszSourceRangeList,wszDestinationPath,wszDestinationFilename,wszDestinationRangeList);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetDirectedTargetCount(IVssComponentEx* This,UINT *pcDirectedTarget) {
- return This->lpVtbl->GetDirectedTargetCount(This,pcDirectedTarget);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetDirectedTarget(IVssComponentEx* This,UINT iDirectedTarget,BSTR *pbstrSourcePath,BSTR *pbstrSourceFileName,BSTR *pbstrSourceRangeList,BSTR *pbstrDestinationPath,BSTR *pbstrDestinationFilename,BSTR *pbstrDestinationRangeList) {
- return This->lpVtbl->GetDirectedTarget(This,iDirectedTarget,pbstrSourcePath,pbstrSourceFileName,pbstrSourceRangeList,pbstrDestinationPath,pbstrDestinationFilename,pbstrDestinationRangeList);
- }
- static FORCEINLINE HRESULT IVssComponentEx_SetRestoreMetadata(IVssComponentEx* This,LPCWSTR wszRestoreMetadata) {
- return This->lpVtbl->SetRestoreMetadata(This,wszRestoreMetadata);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetRestoreMetadata(IVssComponentEx* This,BSTR *pbstrRestoreMetadata) {
- return This->lpVtbl->GetRestoreMetadata(This,pbstrRestoreMetadata);
- }
- static FORCEINLINE HRESULT IVssComponentEx_SetRestoreTarget(IVssComponentEx* This,VSS_RESTORE_TARGET target) {
- return This->lpVtbl->SetRestoreTarget(This,target);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetRestoreTarget(IVssComponentEx* This,VSS_RESTORE_TARGET *pTarget) {
- return This->lpVtbl->GetRestoreTarget(This,pTarget);
- }
- static FORCEINLINE HRESULT IVssComponentEx_SetPreRestoreFailureMsg(IVssComponentEx* This,LPCWSTR wszPreRestoreFailureMsg) {
- return This->lpVtbl->SetPreRestoreFailureMsg(This,wszPreRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetPreRestoreFailureMsg(IVssComponentEx* This,BSTR *pbstrPreRestoreFailureMsg) {
- return This->lpVtbl->GetPreRestoreFailureMsg(This,pbstrPreRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx_SetPostRestoreFailureMsg(IVssComponentEx* This,LPCWSTR wszPostRestoreFailureMsg) {
- return This->lpVtbl->SetPostRestoreFailureMsg(This,wszPostRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetPostRestoreFailureMsg(IVssComponentEx* This,BSTR *pbstrPostRestoreFailureMsg) {
- return This->lpVtbl->GetPostRestoreFailureMsg(This,pbstrPostRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx_SetBackupStamp(IVssComponentEx* This,LPCWSTR wszBackupStamp) {
- return This->lpVtbl->SetBackupStamp(This,wszBackupStamp);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetBackupStamp(IVssComponentEx* This,BSTR *pbstrBackupStamp) {
- return This->lpVtbl->GetBackupStamp(This,pbstrBackupStamp);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetPreviousBackupStamp(IVssComponentEx* This,BSTR *pbstrBackupStamp) {
- return This->lpVtbl->GetPreviousBackupStamp(This,pbstrBackupStamp);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetBackupOptions(IVssComponentEx* This,BSTR *pbstrBackupOptions) {
- return This->lpVtbl->GetBackupOptions(This,pbstrBackupOptions);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetRestoreOptions(IVssComponentEx* This,BSTR *pbstrRestoreOptions) {
- return This->lpVtbl->GetRestoreOptions(This,pbstrRestoreOptions);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetRestoreSubcomponentCount(IVssComponentEx* This,UINT *pcRestoreSubcomponent) {
- return This->lpVtbl->GetRestoreSubcomponentCount(This,pcRestoreSubcomponent);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetRestoreSubcomponent(IVssComponentEx* This,UINT iComponent,BSTR *pbstrLogicalPath,BSTR *pbstrComponentName,boolean *pbRepair) {
- return This->lpVtbl->GetRestoreSubcomponent(This,iComponent,pbstrLogicalPath,pbstrComponentName,pbRepair);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetFileRestoreStatus(IVssComponentEx* This,VSS_FILE_RESTORE_STATUS *pStatus) {
- return This->lpVtbl->GetFileRestoreStatus(This,pStatus);
- }
- static FORCEINLINE HRESULT IVssComponentEx_AddDifferencedFilesByLastModifyTime(IVssComponentEx* This,LPCWSTR wszPath,LPCWSTR wszFilespec,WINBOOL bRecursive,FILETIME ftLastModifyTime) {
- return This->lpVtbl->AddDifferencedFilesByLastModifyTime(This,wszPath,wszFilespec,bRecursive,ftLastModifyTime);
- }
- static FORCEINLINE HRESULT IVssComponentEx_AddDifferencedFilesByLastModifyLSN(IVssComponentEx* This,LPCWSTR wszPath,LPCWSTR wszFilespec,WINBOOL bRecursive,BSTR bstrLsnString) {
- return This->lpVtbl->AddDifferencedFilesByLastModifyLSN(This,wszPath,wszFilespec,bRecursive,bstrLsnString);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetDifferencedFilesCount(IVssComponentEx* This,UINT *pcDifferencedFiles) {
- return This->lpVtbl->GetDifferencedFilesCount(This,pcDifferencedFiles);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetDifferencedFile(IVssComponentEx* This,UINT iDifferencedFile,BSTR *pbstrPath,BSTR *pbstrFilespec,WINBOOL *pbRecursive,BSTR *pbstrLsnString,FILETIME *pftLastModifyTime) {
- return This->lpVtbl->GetDifferencedFile(This,iDifferencedFile,pbstrPath,pbstrFilespec,pbRecursive,pbstrLsnString,pftLastModifyTime);
- }
- /*** IVssComponentEx methods ***/
- static FORCEINLINE HRESULT IVssComponentEx_SetPrepareForBackupFailureMsg(IVssComponentEx* This,LPCWSTR wszFailureMsg) {
- return This->lpVtbl->SetPrepareForBackupFailureMsg(This,wszFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx_SetPostSnapshotFailureMsg(IVssComponentEx* This,LPCWSTR wszFailureMsg) {
- return This->lpVtbl->SetPostSnapshotFailureMsg(This,wszFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetPrepareForBackupFailureMsg(IVssComponentEx* This,BSTR *pbstrFailureMsg) {
- return This->lpVtbl->GetPrepareForBackupFailureMsg(This,pbstrFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetPostSnapshotFailureMsg(IVssComponentEx* This,BSTR *pbstrFailureMsg) {
- return This->lpVtbl->GetPostSnapshotFailureMsg(This,pbstrFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetAuthoritativeRestore(IVssComponentEx* This,boolean *pbAuth) {
- return This->lpVtbl->GetAuthoritativeRestore(This,pbAuth);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetRollForward(IVssComponentEx* This,VSS_ROLLFORWARD_TYPE *pRollType,BSTR *pbstrPoint) {
- return This->lpVtbl->GetRollForward(This,pRollType,pbstrPoint);
- }
- static FORCEINLINE HRESULT IVssComponentEx_GetRestoreName(IVssComponentEx* This,BSTR *pbstrName) {
- return This->lpVtbl->GetRestoreName(This,pbstrName);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssComponentEx_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IVssComponentEx2 interface
- */
- #ifndef __IVssComponentEx2_INTERFACE_DEFINED__
- #define __IVssComponentEx2_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssComponentEx2, 0x3b5be0f2, 0x07a9, 0x4e4b, 0xbd,0xd3, 0xcf,0xdc,0x8e,0x2c,0x0d,0x2d);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("3b5be0f2-07a9-4e4b-bdd3-cfdc8e2c0d2d")
- IVssComponentEx2 : public IVssComponentEx
- {
- virtual HRESULT STDMETHODCALLTYPE SetFailure(
- HRESULT hr,
- HRESULT hrApplication,
- LPCWSTR wszApplicationMessage,
- DWORD dwReserved) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetFailure(
- HRESULT *phr,
- HRESULT *phrApplication,
- BSTR *pbstrApplicationMessage,
- DWORD *pdwReserved) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssComponentEx2, 0x3b5be0f2, 0x07a9, 0x4e4b, 0xbd,0xd3, 0xcf,0xdc,0x8e,0x2c,0x0d,0x2d)
- #endif
- #else
- typedef struct IVssComponentEx2Vtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IVssComponentEx2 *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IVssComponentEx2 *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IVssComponentEx2 *This);
- /*** IVssComponent methods ***/
- HRESULT (STDMETHODCALLTYPE *GetLogicalPath)(
- IVssComponentEx2 *This,
- BSTR *pbstrPath);
- HRESULT (STDMETHODCALLTYPE *GetComponentType)(
- IVssComponentEx2 *This,
- VSS_COMPONENT_TYPE *pct);
- HRESULT (STDMETHODCALLTYPE *GetComponentName)(
- IVssComponentEx2 *This,
- BSTR *pbstrName);
- HRESULT (STDMETHODCALLTYPE *GetBackupSucceeded)(
- IVssComponentEx2 *This,
- boolean *pbSucceeded);
- HRESULT (STDMETHODCALLTYPE *GetAlternateLocationMappingCount)(
- IVssComponentEx2 *This,
- UINT *pcMappings);
- HRESULT (STDMETHODCALLTYPE *GetAlternateLocationMapping)(
- IVssComponentEx2 *This,
- UINT iMapping,
- IVssWMFiledesc **ppFiledesc);
- HRESULT (STDMETHODCALLTYPE *SetBackupMetadata)(
- IVssComponentEx2 *This,
- LPCWSTR wszData);
- HRESULT (STDMETHODCALLTYPE *GetBackupMetadata)(
- IVssComponentEx2 *This,
- BSTR *pbstrData);
- HRESULT (STDMETHODCALLTYPE *AddPartialFile)(
- IVssComponentEx2 *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilename,
- LPCWSTR wszRanges,
- LPCWSTR wszMetadata);
- HRESULT (STDMETHODCALLTYPE *GetPartialFileCount)(
- IVssComponentEx2 *This,
- UINT *pcPartialFiles);
- HRESULT (STDMETHODCALLTYPE *GetPartialFile)(
- IVssComponentEx2 *This,
- UINT iPartialFile,
- BSTR *pbstrPath,
- BSTR *pbstrFilename,
- BSTR *pbstrRange,
- BSTR *pbstrMetadata);
- HRESULT (STDMETHODCALLTYPE *IsSelectedForRestore)(
- IVssComponentEx2 *This,
- boolean *pbSelectedForRestore);
- HRESULT (STDMETHODCALLTYPE *GetAdditionalRestores)(
- IVssComponentEx2 *This,
- boolean *pbAdditionalRestores);
- HRESULT (STDMETHODCALLTYPE *GetNewTargetCount)(
- IVssComponentEx2 *This,
- UINT *pcNewTarget);
- HRESULT (STDMETHODCALLTYPE *GetNewTarget)(
- IVssComponentEx2 *This,
- UINT iNewTarget,
- IVssWMFiledesc **ppFiledesc);
- HRESULT (STDMETHODCALLTYPE *AddDirectedTarget)(
- IVssComponentEx2 *This,
- LPCWSTR wszSourcePath,
- LPCWSTR wszSourceFilename,
- LPCWSTR wszSourceRangeList,
- LPCWSTR wszDestinationPath,
- LPCWSTR wszDestinationFilename,
- LPCWSTR wszDestinationRangeList);
- HRESULT (STDMETHODCALLTYPE *GetDirectedTargetCount)(
- IVssComponentEx2 *This,
- UINT *pcDirectedTarget);
- HRESULT (STDMETHODCALLTYPE *GetDirectedTarget)(
- IVssComponentEx2 *This,
- UINT iDirectedTarget,
- BSTR *pbstrSourcePath,
- BSTR *pbstrSourceFileName,
- BSTR *pbstrSourceRangeList,
- BSTR *pbstrDestinationPath,
- BSTR *pbstrDestinationFilename,
- BSTR *pbstrDestinationRangeList);
- HRESULT (STDMETHODCALLTYPE *SetRestoreMetadata)(
- IVssComponentEx2 *This,
- LPCWSTR wszRestoreMetadata);
- HRESULT (STDMETHODCALLTYPE *GetRestoreMetadata)(
- IVssComponentEx2 *This,
- BSTR *pbstrRestoreMetadata);
- HRESULT (STDMETHODCALLTYPE *SetRestoreTarget)(
- IVssComponentEx2 *This,
- VSS_RESTORE_TARGET target);
- HRESULT (STDMETHODCALLTYPE *GetRestoreTarget)(
- IVssComponentEx2 *This,
- VSS_RESTORE_TARGET *pTarget);
- HRESULT (STDMETHODCALLTYPE *SetPreRestoreFailureMsg)(
- IVssComponentEx2 *This,
- LPCWSTR wszPreRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetPreRestoreFailureMsg)(
- IVssComponentEx2 *This,
- BSTR *pbstrPreRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *SetPostRestoreFailureMsg)(
- IVssComponentEx2 *This,
- LPCWSTR wszPostRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetPostRestoreFailureMsg)(
- IVssComponentEx2 *This,
- BSTR *pbstrPostRestoreFailureMsg);
- HRESULT (STDMETHODCALLTYPE *SetBackupStamp)(
- IVssComponentEx2 *This,
- LPCWSTR wszBackupStamp);
- HRESULT (STDMETHODCALLTYPE *GetBackupStamp)(
- IVssComponentEx2 *This,
- BSTR *pbstrBackupStamp);
- HRESULT (STDMETHODCALLTYPE *GetPreviousBackupStamp)(
- IVssComponentEx2 *This,
- BSTR *pbstrBackupStamp);
- HRESULT (STDMETHODCALLTYPE *GetBackupOptions)(
- IVssComponentEx2 *This,
- BSTR *pbstrBackupOptions);
- HRESULT (STDMETHODCALLTYPE *GetRestoreOptions)(
- IVssComponentEx2 *This,
- BSTR *pbstrRestoreOptions);
- HRESULT (STDMETHODCALLTYPE *GetRestoreSubcomponentCount)(
- IVssComponentEx2 *This,
- UINT *pcRestoreSubcomponent);
- HRESULT (STDMETHODCALLTYPE *GetRestoreSubcomponent)(
- IVssComponentEx2 *This,
- UINT iComponent,
- BSTR *pbstrLogicalPath,
- BSTR *pbstrComponentName,
- boolean *pbRepair);
- HRESULT (STDMETHODCALLTYPE *GetFileRestoreStatus)(
- IVssComponentEx2 *This,
- VSS_FILE_RESTORE_STATUS *pStatus);
- HRESULT (STDMETHODCALLTYPE *AddDifferencedFilesByLastModifyTime)(
- IVssComponentEx2 *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- WINBOOL bRecursive,
- FILETIME ftLastModifyTime);
- HRESULT (STDMETHODCALLTYPE *AddDifferencedFilesByLastModifyLSN)(
- IVssComponentEx2 *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- WINBOOL bRecursive,
- BSTR bstrLsnString);
- HRESULT (STDMETHODCALLTYPE *GetDifferencedFilesCount)(
- IVssComponentEx2 *This,
- UINT *pcDifferencedFiles);
- HRESULT (STDMETHODCALLTYPE *GetDifferencedFile)(
- IVssComponentEx2 *This,
- UINT iDifferencedFile,
- BSTR *pbstrPath,
- BSTR *pbstrFilespec,
- WINBOOL *pbRecursive,
- BSTR *pbstrLsnString,
- FILETIME *pftLastModifyTime);
- /*** IVssComponentEx methods ***/
- HRESULT (STDMETHODCALLTYPE *SetPrepareForBackupFailureMsg)(
- IVssComponentEx2 *This,
- LPCWSTR wszFailureMsg);
- HRESULT (STDMETHODCALLTYPE *SetPostSnapshotFailureMsg)(
- IVssComponentEx2 *This,
- LPCWSTR wszFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetPrepareForBackupFailureMsg)(
- IVssComponentEx2 *This,
- BSTR *pbstrFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetPostSnapshotFailureMsg)(
- IVssComponentEx2 *This,
- BSTR *pbstrFailureMsg);
- HRESULT (STDMETHODCALLTYPE *GetAuthoritativeRestore)(
- IVssComponentEx2 *This,
- boolean *pbAuth);
- HRESULT (STDMETHODCALLTYPE *GetRollForward)(
- IVssComponentEx2 *This,
- VSS_ROLLFORWARD_TYPE *pRollType,
- BSTR *pbstrPoint);
- HRESULT (STDMETHODCALLTYPE *GetRestoreName)(
- IVssComponentEx2 *This,
- BSTR *pbstrName);
- /*** IVssComponentEx2 methods ***/
- HRESULT (STDMETHODCALLTYPE *SetFailure)(
- IVssComponentEx2 *This,
- HRESULT hr,
- HRESULT hrApplication,
- LPCWSTR wszApplicationMessage,
- DWORD dwReserved);
- HRESULT (STDMETHODCALLTYPE *GetFailure)(
- IVssComponentEx2 *This,
- HRESULT *phr,
- HRESULT *phrApplication,
- BSTR *pbstrApplicationMessage,
- DWORD *pdwReserved);
- END_INTERFACE
- } IVssComponentEx2Vtbl;
- interface IVssComponentEx2 {
- CONST_VTBL IVssComponentEx2Vtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IVssComponentEx2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IVssComponentEx2_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IVssComponentEx2_Release(This) (This)->lpVtbl->Release(This)
- /*** IVssComponent methods ***/
- #define IVssComponentEx2_GetLogicalPath(This,pbstrPath) (This)->lpVtbl->GetLogicalPath(This,pbstrPath)
- #define IVssComponentEx2_GetComponentType(This,pct) (This)->lpVtbl->GetComponentType(This,pct)
- #define IVssComponentEx2_GetComponentName(This,pbstrName) (This)->lpVtbl->GetComponentName(This,pbstrName)
- #define IVssComponentEx2_GetBackupSucceeded(This,pbSucceeded) (This)->lpVtbl->GetBackupSucceeded(This,pbSucceeded)
- #define IVssComponentEx2_GetAlternateLocationMappingCount(This,pcMappings) (This)->lpVtbl->GetAlternateLocationMappingCount(This,pcMappings)
- #define IVssComponentEx2_GetAlternateLocationMapping(This,iMapping,ppFiledesc) (This)->lpVtbl->GetAlternateLocationMapping(This,iMapping,ppFiledesc)
- #define IVssComponentEx2_SetBackupMetadata(This,wszData) (This)->lpVtbl->SetBackupMetadata(This,wszData)
- #define IVssComponentEx2_GetBackupMetadata(This,pbstrData) (This)->lpVtbl->GetBackupMetadata(This,pbstrData)
- #define IVssComponentEx2_AddPartialFile(This,wszPath,wszFilename,wszRanges,wszMetadata) (This)->lpVtbl->AddPartialFile(This,wszPath,wszFilename,wszRanges,wszMetadata)
- #define IVssComponentEx2_GetPartialFileCount(This,pcPartialFiles) (This)->lpVtbl->GetPartialFileCount(This,pcPartialFiles)
- #define IVssComponentEx2_GetPartialFile(This,iPartialFile,pbstrPath,pbstrFilename,pbstrRange,pbstrMetadata) (This)->lpVtbl->GetPartialFile(This,iPartialFile,pbstrPath,pbstrFilename,pbstrRange,pbstrMetadata)
- #define IVssComponentEx2_IsSelectedForRestore(This,pbSelectedForRestore) (This)->lpVtbl->IsSelectedForRestore(This,pbSelectedForRestore)
- #define IVssComponentEx2_GetAdditionalRestores(This,pbAdditionalRestores) (This)->lpVtbl->GetAdditionalRestores(This,pbAdditionalRestores)
- #define IVssComponentEx2_GetNewTargetCount(This,pcNewTarget) (This)->lpVtbl->GetNewTargetCount(This,pcNewTarget)
- #define IVssComponentEx2_GetNewTarget(This,iNewTarget,ppFiledesc) (This)->lpVtbl->GetNewTarget(This,iNewTarget,ppFiledesc)
- #define IVssComponentEx2_AddDirectedTarget(This,wszSourcePath,wszSourceFilename,wszSourceRangeList,wszDestinationPath,wszDestinationFilename,wszDestinationRangeList) (This)->lpVtbl->AddDirectedTarget(This,wszSourcePath,wszSourceFilename,wszSourceRangeList,wszDestinationPath,wszDestinationFilename,wszDestinationRangeList)
- #define IVssComponentEx2_GetDirectedTargetCount(This,pcDirectedTarget) (This)->lpVtbl->GetDirectedTargetCount(This,pcDirectedTarget)
- #define IVssComponentEx2_GetDirectedTarget(This,iDirectedTarget,pbstrSourcePath,pbstrSourceFileName,pbstrSourceRangeList,pbstrDestinationPath,pbstrDestinationFilename,pbstrDestinationRangeList) (This)->lpVtbl->GetDirectedTarget(This,iDirectedTarget,pbstrSourcePath,pbstrSourceFileName,pbstrSourceRangeList,pbstrDestinationPath,pbstrDestinationFilename,pbstrDestinationRangeList)
- #define IVssComponentEx2_SetRestoreMetadata(This,wszRestoreMetadata) (This)->lpVtbl->SetRestoreMetadata(This,wszRestoreMetadata)
- #define IVssComponentEx2_GetRestoreMetadata(This,pbstrRestoreMetadata) (This)->lpVtbl->GetRestoreMetadata(This,pbstrRestoreMetadata)
- #define IVssComponentEx2_SetRestoreTarget(This,target) (This)->lpVtbl->SetRestoreTarget(This,target)
- #define IVssComponentEx2_GetRestoreTarget(This,pTarget) (This)->lpVtbl->GetRestoreTarget(This,pTarget)
- #define IVssComponentEx2_SetPreRestoreFailureMsg(This,wszPreRestoreFailureMsg) (This)->lpVtbl->SetPreRestoreFailureMsg(This,wszPreRestoreFailureMsg)
- #define IVssComponentEx2_GetPreRestoreFailureMsg(This,pbstrPreRestoreFailureMsg) (This)->lpVtbl->GetPreRestoreFailureMsg(This,pbstrPreRestoreFailureMsg)
- #define IVssComponentEx2_SetPostRestoreFailureMsg(This,wszPostRestoreFailureMsg) (This)->lpVtbl->SetPostRestoreFailureMsg(This,wszPostRestoreFailureMsg)
- #define IVssComponentEx2_GetPostRestoreFailureMsg(This,pbstrPostRestoreFailureMsg) (This)->lpVtbl->GetPostRestoreFailureMsg(This,pbstrPostRestoreFailureMsg)
- #define IVssComponentEx2_SetBackupStamp(This,wszBackupStamp) (This)->lpVtbl->SetBackupStamp(This,wszBackupStamp)
- #define IVssComponentEx2_GetBackupStamp(This,pbstrBackupStamp) (This)->lpVtbl->GetBackupStamp(This,pbstrBackupStamp)
- #define IVssComponentEx2_GetPreviousBackupStamp(This,pbstrBackupStamp) (This)->lpVtbl->GetPreviousBackupStamp(This,pbstrBackupStamp)
- #define IVssComponentEx2_GetBackupOptions(This,pbstrBackupOptions) (This)->lpVtbl->GetBackupOptions(This,pbstrBackupOptions)
- #define IVssComponentEx2_GetRestoreOptions(This,pbstrRestoreOptions) (This)->lpVtbl->GetRestoreOptions(This,pbstrRestoreOptions)
- #define IVssComponentEx2_GetRestoreSubcomponentCount(This,pcRestoreSubcomponent) (This)->lpVtbl->GetRestoreSubcomponentCount(This,pcRestoreSubcomponent)
- #define IVssComponentEx2_GetRestoreSubcomponent(This,iComponent,pbstrLogicalPath,pbstrComponentName,pbRepair) (This)->lpVtbl->GetRestoreSubcomponent(This,iComponent,pbstrLogicalPath,pbstrComponentName,pbRepair)
- #define IVssComponentEx2_GetFileRestoreStatus(This,pStatus) (This)->lpVtbl->GetFileRestoreStatus(This,pStatus)
- #define IVssComponentEx2_AddDifferencedFilesByLastModifyTime(This,wszPath,wszFilespec,bRecursive,ftLastModifyTime) (This)->lpVtbl->AddDifferencedFilesByLastModifyTime(This,wszPath,wszFilespec,bRecursive,ftLastModifyTime)
- #define IVssComponentEx2_AddDifferencedFilesByLastModifyLSN(This,wszPath,wszFilespec,bRecursive,bstrLsnString) (This)->lpVtbl->AddDifferencedFilesByLastModifyLSN(This,wszPath,wszFilespec,bRecursive,bstrLsnString)
- #define IVssComponentEx2_GetDifferencedFilesCount(This,pcDifferencedFiles) (This)->lpVtbl->GetDifferencedFilesCount(This,pcDifferencedFiles)
- #define IVssComponentEx2_GetDifferencedFile(This,iDifferencedFile,pbstrPath,pbstrFilespec,pbRecursive,pbstrLsnString,pftLastModifyTime) (This)->lpVtbl->GetDifferencedFile(This,iDifferencedFile,pbstrPath,pbstrFilespec,pbRecursive,pbstrLsnString,pftLastModifyTime)
- /*** IVssComponentEx methods ***/
- #define IVssComponentEx2_SetPrepareForBackupFailureMsg(This,wszFailureMsg) (This)->lpVtbl->SetPrepareForBackupFailureMsg(This,wszFailureMsg)
- #define IVssComponentEx2_SetPostSnapshotFailureMsg(This,wszFailureMsg) (This)->lpVtbl->SetPostSnapshotFailureMsg(This,wszFailureMsg)
- #define IVssComponentEx2_GetPrepareForBackupFailureMsg(This,pbstrFailureMsg) (This)->lpVtbl->GetPrepareForBackupFailureMsg(This,pbstrFailureMsg)
- #define IVssComponentEx2_GetPostSnapshotFailureMsg(This,pbstrFailureMsg) (This)->lpVtbl->GetPostSnapshotFailureMsg(This,pbstrFailureMsg)
- #define IVssComponentEx2_GetAuthoritativeRestore(This,pbAuth) (This)->lpVtbl->GetAuthoritativeRestore(This,pbAuth)
- #define IVssComponentEx2_GetRollForward(This,pRollType,pbstrPoint) (This)->lpVtbl->GetRollForward(This,pRollType,pbstrPoint)
- #define IVssComponentEx2_GetRestoreName(This,pbstrName) (This)->lpVtbl->GetRestoreName(This,pbstrName)
- /*** IVssComponentEx2 methods ***/
- #define IVssComponentEx2_SetFailure(This,hr,hrApplication,wszApplicationMessage,dwReserved) (This)->lpVtbl->SetFailure(This,hr,hrApplication,wszApplicationMessage,dwReserved)
- #define IVssComponentEx2_GetFailure(This,phr,phrApplication,pbstrApplicationMessage,pdwReserved) (This)->lpVtbl->GetFailure(This,phr,phrApplication,pbstrApplicationMessage,pdwReserved)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IVssComponentEx2_QueryInterface(IVssComponentEx2* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IVssComponentEx2_AddRef(IVssComponentEx2* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IVssComponentEx2_Release(IVssComponentEx2* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IVssComponent methods ***/
- static FORCEINLINE HRESULT IVssComponentEx2_GetLogicalPath(IVssComponentEx2* This,BSTR *pbstrPath) {
- return This->lpVtbl->GetLogicalPath(This,pbstrPath);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetComponentType(IVssComponentEx2* This,VSS_COMPONENT_TYPE *pct) {
- return This->lpVtbl->GetComponentType(This,pct);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetComponentName(IVssComponentEx2* This,BSTR *pbstrName) {
- return This->lpVtbl->GetComponentName(This,pbstrName);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetBackupSucceeded(IVssComponentEx2* This,boolean *pbSucceeded) {
- return This->lpVtbl->GetBackupSucceeded(This,pbSucceeded);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetAlternateLocationMappingCount(IVssComponentEx2* This,UINT *pcMappings) {
- return This->lpVtbl->GetAlternateLocationMappingCount(This,pcMappings);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetAlternateLocationMapping(IVssComponentEx2* This,UINT iMapping,IVssWMFiledesc **ppFiledesc) {
- return This->lpVtbl->GetAlternateLocationMapping(This,iMapping,ppFiledesc);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_SetBackupMetadata(IVssComponentEx2* This,LPCWSTR wszData) {
- return This->lpVtbl->SetBackupMetadata(This,wszData);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetBackupMetadata(IVssComponentEx2* This,BSTR *pbstrData) {
- return This->lpVtbl->GetBackupMetadata(This,pbstrData);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_AddPartialFile(IVssComponentEx2* This,LPCWSTR wszPath,LPCWSTR wszFilename,LPCWSTR wszRanges,LPCWSTR wszMetadata) {
- return This->lpVtbl->AddPartialFile(This,wszPath,wszFilename,wszRanges,wszMetadata);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetPartialFileCount(IVssComponentEx2* This,UINT *pcPartialFiles) {
- return This->lpVtbl->GetPartialFileCount(This,pcPartialFiles);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetPartialFile(IVssComponentEx2* This,UINT iPartialFile,BSTR *pbstrPath,BSTR *pbstrFilename,BSTR *pbstrRange,BSTR *pbstrMetadata) {
- return This->lpVtbl->GetPartialFile(This,iPartialFile,pbstrPath,pbstrFilename,pbstrRange,pbstrMetadata);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_IsSelectedForRestore(IVssComponentEx2* This,boolean *pbSelectedForRestore) {
- return This->lpVtbl->IsSelectedForRestore(This,pbSelectedForRestore);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetAdditionalRestores(IVssComponentEx2* This,boolean *pbAdditionalRestores) {
- return This->lpVtbl->GetAdditionalRestores(This,pbAdditionalRestores);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetNewTargetCount(IVssComponentEx2* This,UINT *pcNewTarget) {
- return This->lpVtbl->GetNewTargetCount(This,pcNewTarget);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetNewTarget(IVssComponentEx2* This,UINT iNewTarget,IVssWMFiledesc **ppFiledesc) {
- return This->lpVtbl->GetNewTarget(This,iNewTarget,ppFiledesc);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_AddDirectedTarget(IVssComponentEx2* This,LPCWSTR wszSourcePath,LPCWSTR wszSourceFilename,LPCWSTR wszSourceRangeList,LPCWSTR wszDestinationPath,LPCWSTR wszDestinationFilename,LPCWSTR wszDestinationRangeList) {
- return This->lpVtbl->AddDirectedTarget(This,wszSourcePath,wszSourceFilename,wszSourceRangeList,wszDestinationPath,wszDestinationFilename,wszDestinationRangeList);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetDirectedTargetCount(IVssComponentEx2* This,UINT *pcDirectedTarget) {
- return This->lpVtbl->GetDirectedTargetCount(This,pcDirectedTarget);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetDirectedTarget(IVssComponentEx2* This,UINT iDirectedTarget,BSTR *pbstrSourcePath,BSTR *pbstrSourceFileName,BSTR *pbstrSourceRangeList,BSTR *pbstrDestinationPath,BSTR *pbstrDestinationFilename,BSTR *pbstrDestinationRangeList) {
- return This->lpVtbl->GetDirectedTarget(This,iDirectedTarget,pbstrSourcePath,pbstrSourceFileName,pbstrSourceRangeList,pbstrDestinationPath,pbstrDestinationFilename,pbstrDestinationRangeList);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_SetRestoreMetadata(IVssComponentEx2* This,LPCWSTR wszRestoreMetadata) {
- return This->lpVtbl->SetRestoreMetadata(This,wszRestoreMetadata);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetRestoreMetadata(IVssComponentEx2* This,BSTR *pbstrRestoreMetadata) {
- return This->lpVtbl->GetRestoreMetadata(This,pbstrRestoreMetadata);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_SetRestoreTarget(IVssComponentEx2* This,VSS_RESTORE_TARGET target) {
- return This->lpVtbl->SetRestoreTarget(This,target);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetRestoreTarget(IVssComponentEx2* This,VSS_RESTORE_TARGET *pTarget) {
- return This->lpVtbl->GetRestoreTarget(This,pTarget);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_SetPreRestoreFailureMsg(IVssComponentEx2* This,LPCWSTR wszPreRestoreFailureMsg) {
- return This->lpVtbl->SetPreRestoreFailureMsg(This,wszPreRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetPreRestoreFailureMsg(IVssComponentEx2* This,BSTR *pbstrPreRestoreFailureMsg) {
- return This->lpVtbl->GetPreRestoreFailureMsg(This,pbstrPreRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_SetPostRestoreFailureMsg(IVssComponentEx2* This,LPCWSTR wszPostRestoreFailureMsg) {
- return This->lpVtbl->SetPostRestoreFailureMsg(This,wszPostRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetPostRestoreFailureMsg(IVssComponentEx2* This,BSTR *pbstrPostRestoreFailureMsg) {
- return This->lpVtbl->GetPostRestoreFailureMsg(This,pbstrPostRestoreFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_SetBackupStamp(IVssComponentEx2* This,LPCWSTR wszBackupStamp) {
- return This->lpVtbl->SetBackupStamp(This,wszBackupStamp);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetBackupStamp(IVssComponentEx2* This,BSTR *pbstrBackupStamp) {
- return This->lpVtbl->GetBackupStamp(This,pbstrBackupStamp);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetPreviousBackupStamp(IVssComponentEx2* This,BSTR *pbstrBackupStamp) {
- return This->lpVtbl->GetPreviousBackupStamp(This,pbstrBackupStamp);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetBackupOptions(IVssComponentEx2* This,BSTR *pbstrBackupOptions) {
- return This->lpVtbl->GetBackupOptions(This,pbstrBackupOptions);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetRestoreOptions(IVssComponentEx2* This,BSTR *pbstrRestoreOptions) {
- return This->lpVtbl->GetRestoreOptions(This,pbstrRestoreOptions);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetRestoreSubcomponentCount(IVssComponentEx2* This,UINT *pcRestoreSubcomponent) {
- return This->lpVtbl->GetRestoreSubcomponentCount(This,pcRestoreSubcomponent);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetRestoreSubcomponent(IVssComponentEx2* This,UINT iComponent,BSTR *pbstrLogicalPath,BSTR *pbstrComponentName,boolean *pbRepair) {
- return This->lpVtbl->GetRestoreSubcomponent(This,iComponent,pbstrLogicalPath,pbstrComponentName,pbRepair);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetFileRestoreStatus(IVssComponentEx2* This,VSS_FILE_RESTORE_STATUS *pStatus) {
- return This->lpVtbl->GetFileRestoreStatus(This,pStatus);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_AddDifferencedFilesByLastModifyTime(IVssComponentEx2* This,LPCWSTR wszPath,LPCWSTR wszFilespec,WINBOOL bRecursive,FILETIME ftLastModifyTime) {
- return This->lpVtbl->AddDifferencedFilesByLastModifyTime(This,wszPath,wszFilespec,bRecursive,ftLastModifyTime);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_AddDifferencedFilesByLastModifyLSN(IVssComponentEx2* This,LPCWSTR wszPath,LPCWSTR wszFilespec,WINBOOL bRecursive,BSTR bstrLsnString) {
- return This->lpVtbl->AddDifferencedFilesByLastModifyLSN(This,wszPath,wszFilespec,bRecursive,bstrLsnString);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetDifferencedFilesCount(IVssComponentEx2* This,UINT *pcDifferencedFiles) {
- return This->lpVtbl->GetDifferencedFilesCount(This,pcDifferencedFiles);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetDifferencedFile(IVssComponentEx2* This,UINT iDifferencedFile,BSTR *pbstrPath,BSTR *pbstrFilespec,WINBOOL *pbRecursive,BSTR *pbstrLsnString,FILETIME *pftLastModifyTime) {
- return This->lpVtbl->GetDifferencedFile(This,iDifferencedFile,pbstrPath,pbstrFilespec,pbRecursive,pbstrLsnString,pftLastModifyTime);
- }
- /*** IVssComponentEx methods ***/
- static FORCEINLINE HRESULT IVssComponentEx2_SetPrepareForBackupFailureMsg(IVssComponentEx2* This,LPCWSTR wszFailureMsg) {
- return This->lpVtbl->SetPrepareForBackupFailureMsg(This,wszFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_SetPostSnapshotFailureMsg(IVssComponentEx2* This,LPCWSTR wszFailureMsg) {
- return This->lpVtbl->SetPostSnapshotFailureMsg(This,wszFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetPrepareForBackupFailureMsg(IVssComponentEx2* This,BSTR *pbstrFailureMsg) {
- return This->lpVtbl->GetPrepareForBackupFailureMsg(This,pbstrFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetPostSnapshotFailureMsg(IVssComponentEx2* This,BSTR *pbstrFailureMsg) {
- return This->lpVtbl->GetPostSnapshotFailureMsg(This,pbstrFailureMsg);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetAuthoritativeRestore(IVssComponentEx2* This,boolean *pbAuth) {
- return This->lpVtbl->GetAuthoritativeRestore(This,pbAuth);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetRollForward(IVssComponentEx2* This,VSS_ROLLFORWARD_TYPE *pRollType,BSTR *pbstrPoint) {
- return This->lpVtbl->GetRollForward(This,pRollType,pbstrPoint);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetRestoreName(IVssComponentEx2* This,BSTR *pbstrName) {
- return This->lpVtbl->GetRestoreName(This,pbstrName);
- }
- /*** IVssComponentEx2 methods ***/
- static FORCEINLINE HRESULT IVssComponentEx2_SetFailure(IVssComponentEx2* This,HRESULT hr,HRESULT hrApplication,LPCWSTR wszApplicationMessage,DWORD dwReserved) {
- return This->lpVtbl->SetFailure(This,hr,hrApplication,wszApplicationMessage,dwReserved);
- }
- static FORCEINLINE HRESULT IVssComponentEx2_GetFailure(IVssComponentEx2* This,HRESULT *phr,HRESULT *phrApplication,BSTR *pbstrApplicationMessage,DWORD *pdwReserved) {
- return This->lpVtbl->GetFailure(This,phr,phrApplication,pbstrApplicationMessage,pdwReserved);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssComponentEx2_INTERFACE_DEFINED__ */
- #ifndef __IXMLDOMDocument_FWD_DEFINED__
- #define __IXMLDOMDocument_FWD_DEFINED__
- typedef interface IXMLDOMDocument IXMLDOMDocument;
- #ifdef __cplusplus
- interface IXMLDOMDocument;
- #endif /* __cplusplus */
- #endif
- /*****************************************************************************
- * IVssCreateWriterMetadata interface
- */
- #ifndef __IVssCreateWriterMetadata_INTERFACE_DEFINED__
- #define __IVssCreateWriterMetadata_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssCreateWriterMetadata, 0x00000000, 0x0000, 0x0000, 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("00000000-0000-0000-0000-000000000000")
- IVssCreateWriterMetadata
- {
- BEGIN_INTERFACE
- virtual HRESULT STDMETHODCALLTYPE AddIncludeFiles(
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive,
- LPCWSTR wszAlternateLocation) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddExcludeFiles(
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddComponent(
- VSS_COMPONENT_TYPE ct,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszComponentName,
- LPCWSTR wszCaption,
- const BYTE *pbIcon,
- UINT cbIcon,
- boolean bRestoreMetadata,
- boolean bNotifyOnBackupComplete,
- boolean bSelectable,
- boolean bSelectableForRestore = 0,
- DWORD dwComponentFlags = 0) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddDatabaseFiles(
- LPCWSTR wszLogicalPath,
- LPCWSTR wszDatabaseName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- DWORD dwBackupTypeMask = VSS_FSBT_ALL_BACKUP_REQUIRED | VSS_FSBT_ALL_SNAPSHOT_REQUIRED) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddDatabaseLogFiles(
- LPCWSTR wszLogicalPath,
- LPCWSTR wszDatabaseName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- DWORD dwBackupTypeMask = VSS_FSBT_ALL_BACKUP_REQUIRED | VSS_FSBT_ALL_SNAPSHOT_REQUIRED) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddFilesToFileGroup(
- LPCWSTR wszLogicalPath,
- LPCWSTR wszGroupName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive,
- LPCWSTR wszAlternateLocation,
- DWORD dwBackupTypeMask = VSS_FSBT_ALL_BACKUP_REQUIRED | VSS_FSBT_ALL_SNAPSHOT_REQUIRED) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetRestoreMethod(
- VSS_RESTOREMETHOD_ENUM method,
- LPCWSTR wszService,
- LPCWSTR wszUserProcedure,
- VSS_WRITERRESTORE_ENUM writerRestore,
- boolean bRebootRequired) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddAlternateLocationMapping(
- LPCWSTR wszSourcePath,
- LPCWSTR wszSourceFilespec,
- boolean bRecursive,
- LPCWSTR wszDestination) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddComponentDependency(
- LPCWSTR wszForLogicalPath,
- LPCWSTR wszForComponentName,
- VSS_ID onWriterId,
- LPCWSTR wszOnLogicalPath,
- LPCWSTR wszOnComponentName) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetBackupSchema(
- DWORD dwSchemaMask) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetDocument(
- IXMLDOMDocument **pDoc) = 0;
- virtual HRESULT STDMETHODCALLTYPE SaveAsXML(
- BSTR *pbstrXML) = 0;
- END_INTERFACE
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssCreateWriterMetadata, 0x00000000, 0x0000, 0x0000, 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00)
- #endif
- #else
- typedef struct IVssCreateWriterMetadataVtbl {
- BEGIN_INTERFACE
- /*** IVssCreateWriterMetadata methods ***/
- HRESULT (STDMETHODCALLTYPE *AddIncludeFiles)(
- IVssCreateWriterMetadata *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive,
- LPCWSTR wszAlternateLocation);
- HRESULT (STDMETHODCALLTYPE *AddExcludeFiles)(
- IVssCreateWriterMetadata *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive);
- HRESULT (STDMETHODCALLTYPE *AddComponent)(
- IVssCreateWriterMetadata *This,
- VSS_COMPONENT_TYPE ct,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszComponentName,
- LPCWSTR wszCaption,
- const BYTE *pbIcon,
- UINT cbIcon,
- boolean bRestoreMetadata,
- boolean bNotifyOnBackupComplete,
- boolean bSelectable,
- boolean bSelectableForRestore,
- DWORD dwComponentFlags);
- HRESULT (STDMETHODCALLTYPE *AddDatabaseFiles)(
- IVssCreateWriterMetadata *This,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszDatabaseName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- DWORD dwBackupTypeMask);
- HRESULT (STDMETHODCALLTYPE *AddDatabaseLogFiles)(
- IVssCreateWriterMetadata *This,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszDatabaseName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- DWORD dwBackupTypeMask);
- HRESULT (STDMETHODCALLTYPE *AddFilesToFileGroup)(
- IVssCreateWriterMetadata *This,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszGroupName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive,
- LPCWSTR wszAlternateLocation,
- DWORD dwBackupTypeMask);
- HRESULT (STDMETHODCALLTYPE *SetRestoreMethod)(
- IVssCreateWriterMetadata *This,
- VSS_RESTOREMETHOD_ENUM method,
- LPCWSTR wszService,
- LPCWSTR wszUserProcedure,
- VSS_WRITERRESTORE_ENUM writerRestore,
- boolean bRebootRequired);
- HRESULT (STDMETHODCALLTYPE *AddAlternateLocationMapping)(
- IVssCreateWriterMetadata *This,
- LPCWSTR wszSourcePath,
- LPCWSTR wszSourceFilespec,
- boolean bRecursive,
- LPCWSTR wszDestination);
- HRESULT (STDMETHODCALLTYPE *AddComponentDependency)(
- IVssCreateWriterMetadata *This,
- LPCWSTR wszForLogicalPath,
- LPCWSTR wszForComponentName,
- VSS_ID onWriterId,
- LPCWSTR wszOnLogicalPath,
- LPCWSTR wszOnComponentName);
- HRESULT (STDMETHODCALLTYPE *SetBackupSchema)(
- IVssCreateWriterMetadata *This,
- DWORD dwSchemaMask);
- HRESULT (STDMETHODCALLTYPE *GetDocument)(
- IVssCreateWriterMetadata *This,
- IXMLDOMDocument **pDoc);
- HRESULT (STDMETHODCALLTYPE *SaveAsXML)(
- IVssCreateWriterMetadata *This,
- BSTR *pbstrXML);
- END_INTERFACE
- } IVssCreateWriterMetadataVtbl;
- interface IVssCreateWriterMetadata {
- CONST_VTBL IVssCreateWriterMetadataVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IVssCreateWriterMetadata methods ***/
- #define IVssCreateWriterMetadata_AddIncludeFiles(This,wszPath,wszFilespec,bRecursive,wszAlternateLocation) (This)->lpVtbl->AddIncludeFiles(This,wszPath,wszFilespec,bRecursive,wszAlternateLocation)
- #define IVssCreateWriterMetadata_AddExcludeFiles(This,wszPath,wszFilespec,bRecursive) (This)->lpVtbl->AddExcludeFiles(This,wszPath,wszFilespec,bRecursive)
- #define IVssCreateWriterMetadata_AddComponent(This,ct,wszLogicalPath,wszComponentName,wszCaption,pbIcon,cbIcon,bRestoreMetadata,bNotifyOnBackupComplete,bSelectable,bSelectableForRestore,dwComponentFlags) (This)->lpVtbl->AddComponent(This,ct,wszLogicalPath,wszComponentName,wszCaption,pbIcon,cbIcon,bRestoreMetadata,bNotifyOnBackupComplete,bSelectable,bSelectableForRestore,dwComponentFlags)
- #define IVssCreateWriterMetadata_AddDatabaseFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask) (This)->lpVtbl->AddDatabaseFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask)
- #define IVssCreateWriterMetadata_AddDatabaseLogFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask) (This)->lpVtbl->AddDatabaseLogFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask)
- #define IVssCreateWriterMetadata_AddFilesToFileGroup(This,wszLogicalPath,wszGroupName,wszPath,wszFilespec,bRecursive,wszAlternateLocation,dwBackupTypeMask) (This)->lpVtbl->AddFilesToFileGroup(This,wszLogicalPath,wszGroupName,wszPath,wszFilespec,bRecursive,wszAlternateLocation,dwBackupTypeMask)
- #define IVssCreateWriterMetadata_SetRestoreMethod(This,method,wszService,wszUserProcedure,writerRestore,bRebootRequired) (This)->lpVtbl->SetRestoreMethod(This,method,wszService,wszUserProcedure,writerRestore,bRebootRequired)
- #define IVssCreateWriterMetadata_AddAlternateLocationMapping(This,wszSourcePath,wszSourceFilespec,bRecursive,wszDestination) (This)->lpVtbl->AddAlternateLocationMapping(This,wszSourcePath,wszSourceFilespec,bRecursive,wszDestination)
- #define IVssCreateWriterMetadata_AddComponentDependency(This,wszForLogicalPath,wszForComponentName,onWriterId,wszOnLogicalPath,wszOnComponentName) (This)->lpVtbl->AddComponentDependency(This,wszForLogicalPath,wszForComponentName,onWriterId,wszOnLogicalPath,wszOnComponentName)
- #define IVssCreateWriterMetadata_SetBackupSchema(This,dwSchemaMask) (This)->lpVtbl->SetBackupSchema(This,dwSchemaMask)
- #define IVssCreateWriterMetadata_GetDocument(This,pDoc) (This)->lpVtbl->GetDocument(This,pDoc)
- #define IVssCreateWriterMetadata_SaveAsXML(This,pbstrXML) (This)->lpVtbl->SaveAsXML(This,pbstrXML)
- #else
- /*** IVssCreateWriterMetadata methods ***/
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_AddIncludeFiles(IVssCreateWriterMetadata* This,LPCWSTR wszPath,LPCWSTR wszFilespec,boolean bRecursive,LPCWSTR wszAlternateLocation) {
- return This->lpVtbl->AddIncludeFiles(This,wszPath,wszFilespec,bRecursive,wszAlternateLocation);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_AddExcludeFiles(IVssCreateWriterMetadata* This,LPCWSTR wszPath,LPCWSTR wszFilespec,boolean bRecursive) {
- return This->lpVtbl->AddExcludeFiles(This,wszPath,wszFilespec,bRecursive);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_AddComponent(IVssCreateWriterMetadata* This,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszCaption,const BYTE *pbIcon,UINT cbIcon,boolean bRestoreMetadata,boolean bNotifyOnBackupComplete,boolean bSelectable,boolean bSelectableForRestore,DWORD dwComponentFlags) {
- return This->lpVtbl->AddComponent(This,ct,wszLogicalPath,wszComponentName,wszCaption,pbIcon,cbIcon,bRestoreMetadata,bNotifyOnBackupComplete,bSelectable,bSelectableForRestore,dwComponentFlags);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_AddDatabaseFiles(IVssCreateWriterMetadata* This,LPCWSTR wszLogicalPath,LPCWSTR wszDatabaseName,LPCWSTR wszPath,LPCWSTR wszFilespec,DWORD dwBackupTypeMask) {
- return This->lpVtbl->AddDatabaseFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_AddDatabaseLogFiles(IVssCreateWriterMetadata* This,LPCWSTR wszLogicalPath,LPCWSTR wszDatabaseName,LPCWSTR wszPath,LPCWSTR wszFilespec,DWORD dwBackupTypeMask) {
- return This->lpVtbl->AddDatabaseLogFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_AddFilesToFileGroup(IVssCreateWriterMetadata* This,LPCWSTR wszLogicalPath,LPCWSTR wszGroupName,LPCWSTR wszPath,LPCWSTR wszFilespec,boolean bRecursive,LPCWSTR wszAlternateLocation,DWORD dwBackupTypeMask) {
- return This->lpVtbl->AddFilesToFileGroup(This,wszLogicalPath,wszGroupName,wszPath,wszFilespec,bRecursive,wszAlternateLocation,dwBackupTypeMask);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_SetRestoreMethod(IVssCreateWriterMetadata* This,VSS_RESTOREMETHOD_ENUM method,LPCWSTR wszService,LPCWSTR wszUserProcedure,VSS_WRITERRESTORE_ENUM writerRestore,boolean bRebootRequired) {
- return This->lpVtbl->SetRestoreMethod(This,method,wszService,wszUserProcedure,writerRestore,bRebootRequired);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_AddAlternateLocationMapping(IVssCreateWriterMetadata* This,LPCWSTR wszSourcePath,LPCWSTR wszSourceFilespec,boolean bRecursive,LPCWSTR wszDestination) {
- return This->lpVtbl->AddAlternateLocationMapping(This,wszSourcePath,wszSourceFilespec,bRecursive,wszDestination);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_AddComponentDependency(IVssCreateWriterMetadata* This,LPCWSTR wszForLogicalPath,LPCWSTR wszForComponentName,VSS_ID onWriterId,LPCWSTR wszOnLogicalPath,LPCWSTR wszOnComponentName) {
- return This->lpVtbl->AddComponentDependency(This,wszForLogicalPath,wszForComponentName,onWriterId,wszOnLogicalPath,wszOnComponentName);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_SetBackupSchema(IVssCreateWriterMetadata* This,DWORD dwSchemaMask) {
- return This->lpVtbl->SetBackupSchema(This,dwSchemaMask);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_GetDocument(IVssCreateWriterMetadata* This,IXMLDOMDocument **pDoc) {
- return This->lpVtbl->GetDocument(This,pDoc);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadata_SaveAsXML(IVssCreateWriterMetadata* This,BSTR *pbstrXML) {
- return This->lpVtbl->SaveAsXML(This,pbstrXML);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssCreateWriterMetadata_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IVssCreateWriterMetadataEx interface
- */
- #ifndef __IVssCreateWriterMetadataEx_INTERFACE_DEFINED__
- #define __IVssCreateWriterMetadataEx_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssCreateWriterMetadataEx, 0x9f21981d, 0xd469, 0x4349, 0xb8,0x07, 0x39,0xe6,0x4e,0x46,0x74,0xe1);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("9f21981d-d469-4349-b807-39e64e4674e1")
- IVssCreateWriterMetadataEx : public IVssCreateWriterMetadata
- {
- virtual HRESULT STDMETHODCALLTYPE AddExcludeFilesFromSnapshot(
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssCreateWriterMetadataEx, 0x9f21981d, 0xd469, 0x4349, 0xb8,0x07, 0x39,0xe6,0x4e,0x46,0x74,0xe1)
- #endif
- #else
- typedef struct IVssCreateWriterMetadataExVtbl {
- BEGIN_INTERFACE
- /*** IVssCreateWriterMetadata methods ***/
- HRESULT (STDMETHODCALLTYPE *AddIncludeFiles)(
- IVssCreateWriterMetadataEx *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive,
- LPCWSTR wszAlternateLocation);
- HRESULT (STDMETHODCALLTYPE *AddExcludeFiles)(
- IVssCreateWriterMetadataEx *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive);
- HRESULT (STDMETHODCALLTYPE *AddComponent)(
- IVssCreateWriterMetadataEx *This,
- VSS_COMPONENT_TYPE ct,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszComponentName,
- LPCWSTR wszCaption,
- const BYTE *pbIcon,
- UINT cbIcon,
- boolean bRestoreMetadata,
- boolean bNotifyOnBackupComplete,
- boolean bSelectable,
- boolean bSelectableForRestore,
- DWORD dwComponentFlags);
- HRESULT (STDMETHODCALLTYPE *AddDatabaseFiles)(
- IVssCreateWriterMetadataEx *This,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszDatabaseName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- DWORD dwBackupTypeMask);
- HRESULT (STDMETHODCALLTYPE *AddDatabaseLogFiles)(
- IVssCreateWriterMetadataEx *This,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszDatabaseName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- DWORD dwBackupTypeMask);
- HRESULT (STDMETHODCALLTYPE *AddFilesToFileGroup)(
- IVssCreateWriterMetadataEx *This,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszGroupName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive,
- LPCWSTR wszAlternateLocation,
- DWORD dwBackupTypeMask);
- HRESULT (STDMETHODCALLTYPE *SetRestoreMethod)(
- IVssCreateWriterMetadataEx *This,
- VSS_RESTOREMETHOD_ENUM method,
- LPCWSTR wszService,
- LPCWSTR wszUserProcedure,
- VSS_WRITERRESTORE_ENUM writerRestore,
- boolean bRebootRequired);
- HRESULT (STDMETHODCALLTYPE *AddAlternateLocationMapping)(
- IVssCreateWriterMetadataEx *This,
- LPCWSTR wszSourcePath,
- LPCWSTR wszSourceFilespec,
- boolean bRecursive,
- LPCWSTR wszDestination);
- HRESULT (STDMETHODCALLTYPE *AddComponentDependency)(
- IVssCreateWriterMetadataEx *This,
- LPCWSTR wszForLogicalPath,
- LPCWSTR wszForComponentName,
- VSS_ID onWriterId,
- LPCWSTR wszOnLogicalPath,
- LPCWSTR wszOnComponentName);
- HRESULT (STDMETHODCALLTYPE *SetBackupSchema)(
- IVssCreateWriterMetadataEx *This,
- DWORD dwSchemaMask);
- HRESULT (STDMETHODCALLTYPE *GetDocument)(
- IVssCreateWriterMetadataEx *This,
- IXMLDOMDocument **pDoc);
- HRESULT (STDMETHODCALLTYPE *SaveAsXML)(
- IVssCreateWriterMetadataEx *This,
- BSTR *pbstrXML);
- /*** IVssCreateWriterMetadataEx methods ***/
- HRESULT (STDMETHODCALLTYPE *AddExcludeFilesFromSnapshot)(
- IVssCreateWriterMetadataEx *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive);
- END_INTERFACE
- } IVssCreateWriterMetadataExVtbl;
- interface IVssCreateWriterMetadataEx {
- CONST_VTBL IVssCreateWriterMetadataExVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IVssCreateWriterMetadata methods ***/
- #define IVssCreateWriterMetadataEx_AddIncludeFiles(This,wszPath,wszFilespec,bRecursive,wszAlternateLocation) (This)->lpVtbl->AddIncludeFiles(This,wszPath,wszFilespec,bRecursive,wszAlternateLocation)
- #define IVssCreateWriterMetadataEx_AddExcludeFiles(This,wszPath,wszFilespec,bRecursive) (This)->lpVtbl->AddExcludeFiles(This,wszPath,wszFilespec,bRecursive)
- #define IVssCreateWriterMetadataEx_AddComponent(This,ct,wszLogicalPath,wszComponentName,wszCaption,pbIcon,cbIcon,bRestoreMetadata,bNotifyOnBackupComplete,bSelectable,bSelectableForRestore,dwComponentFlags) (This)->lpVtbl->AddComponent(This,ct,wszLogicalPath,wszComponentName,wszCaption,pbIcon,cbIcon,bRestoreMetadata,bNotifyOnBackupComplete,bSelectable,bSelectableForRestore,dwComponentFlags)
- #define IVssCreateWriterMetadataEx_AddDatabaseFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask) (This)->lpVtbl->AddDatabaseFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask)
- #define IVssCreateWriterMetadataEx_AddDatabaseLogFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask) (This)->lpVtbl->AddDatabaseLogFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask)
- #define IVssCreateWriterMetadataEx_AddFilesToFileGroup(This,wszLogicalPath,wszGroupName,wszPath,wszFilespec,bRecursive,wszAlternateLocation,dwBackupTypeMask) (This)->lpVtbl->AddFilesToFileGroup(This,wszLogicalPath,wszGroupName,wszPath,wszFilespec,bRecursive,wszAlternateLocation,dwBackupTypeMask)
- #define IVssCreateWriterMetadataEx_SetRestoreMethod(This,method,wszService,wszUserProcedure,writerRestore,bRebootRequired) (This)->lpVtbl->SetRestoreMethod(This,method,wszService,wszUserProcedure,writerRestore,bRebootRequired)
- #define IVssCreateWriterMetadataEx_AddAlternateLocationMapping(This,wszSourcePath,wszSourceFilespec,bRecursive,wszDestination) (This)->lpVtbl->AddAlternateLocationMapping(This,wszSourcePath,wszSourceFilespec,bRecursive,wszDestination)
- #define IVssCreateWriterMetadataEx_AddComponentDependency(This,wszForLogicalPath,wszForComponentName,onWriterId,wszOnLogicalPath,wszOnComponentName) (This)->lpVtbl->AddComponentDependency(This,wszForLogicalPath,wszForComponentName,onWriterId,wszOnLogicalPath,wszOnComponentName)
- #define IVssCreateWriterMetadataEx_SetBackupSchema(This,dwSchemaMask) (This)->lpVtbl->SetBackupSchema(This,dwSchemaMask)
- #define IVssCreateWriterMetadataEx_GetDocument(This,pDoc) (This)->lpVtbl->GetDocument(This,pDoc)
- #define IVssCreateWriterMetadataEx_SaveAsXML(This,pbstrXML) (This)->lpVtbl->SaveAsXML(This,pbstrXML)
- /*** IVssCreateWriterMetadataEx methods ***/
- #define IVssCreateWriterMetadataEx_AddExcludeFilesFromSnapshot(This,wszPath,wszFilespec,bRecursive) (This)->lpVtbl->AddExcludeFilesFromSnapshot(This,wszPath,wszFilespec,bRecursive)
- #else
- /*** IVssCreateWriterMetadata methods ***/
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_AddIncludeFiles(IVssCreateWriterMetadataEx* This,LPCWSTR wszPath,LPCWSTR wszFilespec,boolean bRecursive,LPCWSTR wszAlternateLocation) {
- return This->lpVtbl->AddIncludeFiles(This,wszPath,wszFilespec,bRecursive,wszAlternateLocation);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_AddExcludeFiles(IVssCreateWriterMetadataEx* This,LPCWSTR wszPath,LPCWSTR wszFilespec,boolean bRecursive) {
- return This->lpVtbl->AddExcludeFiles(This,wszPath,wszFilespec,bRecursive);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_AddComponent(IVssCreateWriterMetadataEx* This,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszCaption,const BYTE *pbIcon,UINT cbIcon,boolean bRestoreMetadata,boolean bNotifyOnBackupComplete,boolean bSelectable,boolean bSelectableForRestore,DWORD dwComponentFlags) {
- return This->lpVtbl->AddComponent(This,ct,wszLogicalPath,wszComponentName,wszCaption,pbIcon,cbIcon,bRestoreMetadata,bNotifyOnBackupComplete,bSelectable,bSelectableForRestore,dwComponentFlags);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_AddDatabaseFiles(IVssCreateWriterMetadataEx* This,LPCWSTR wszLogicalPath,LPCWSTR wszDatabaseName,LPCWSTR wszPath,LPCWSTR wszFilespec,DWORD dwBackupTypeMask) {
- return This->lpVtbl->AddDatabaseFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_AddDatabaseLogFiles(IVssCreateWriterMetadataEx* This,LPCWSTR wszLogicalPath,LPCWSTR wszDatabaseName,LPCWSTR wszPath,LPCWSTR wszFilespec,DWORD dwBackupTypeMask) {
- return This->lpVtbl->AddDatabaseLogFiles(This,wszLogicalPath,wszDatabaseName,wszPath,wszFilespec,dwBackupTypeMask);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_AddFilesToFileGroup(IVssCreateWriterMetadataEx* This,LPCWSTR wszLogicalPath,LPCWSTR wszGroupName,LPCWSTR wszPath,LPCWSTR wszFilespec,boolean bRecursive,LPCWSTR wszAlternateLocation,DWORD dwBackupTypeMask) {
- return This->lpVtbl->AddFilesToFileGroup(This,wszLogicalPath,wszGroupName,wszPath,wszFilespec,bRecursive,wszAlternateLocation,dwBackupTypeMask);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_SetRestoreMethod(IVssCreateWriterMetadataEx* This,VSS_RESTOREMETHOD_ENUM method,LPCWSTR wszService,LPCWSTR wszUserProcedure,VSS_WRITERRESTORE_ENUM writerRestore,boolean bRebootRequired) {
- return This->lpVtbl->SetRestoreMethod(This,method,wszService,wszUserProcedure,writerRestore,bRebootRequired);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_AddAlternateLocationMapping(IVssCreateWriterMetadataEx* This,LPCWSTR wszSourcePath,LPCWSTR wszSourceFilespec,boolean bRecursive,LPCWSTR wszDestination) {
- return This->lpVtbl->AddAlternateLocationMapping(This,wszSourcePath,wszSourceFilespec,bRecursive,wszDestination);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_AddComponentDependency(IVssCreateWriterMetadataEx* This,LPCWSTR wszForLogicalPath,LPCWSTR wszForComponentName,VSS_ID onWriterId,LPCWSTR wszOnLogicalPath,LPCWSTR wszOnComponentName) {
- return This->lpVtbl->AddComponentDependency(This,wszForLogicalPath,wszForComponentName,onWriterId,wszOnLogicalPath,wszOnComponentName);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_SetBackupSchema(IVssCreateWriterMetadataEx* This,DWORD dwSchemaMask) {
- return This->lpVtbl->SetBackupSchema(This,dwSchemaMask);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_GetDocument(IVssCreateWriterMetadataEx* This,IXMLDOMDocument **pDoc) {
- return This->lpVtbl->GetDocument(This,pDoc);
- }
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_SaveAsXML(IVssCreateWriterMetadataEx* This,BSTR *pbstrXML) {
- return This->lpVtbl->SaveAsXML(This,pbstrXML);
- }
- /*** IVssCreateWriterMetadataEx methods ***/
- static FORCEINLINE HRESULT IVssCreateWriterMetadataEx_AddExcludeFilesFromSnapshot(IVssCreateWriterMetadataEx* This,LPCWSTR wszPath,LPCWSTR wszFilespec,boolean bRecursive) {
- return This->lpVtbl->AddExcludeFilesFromSnapshot(This,wszPath,wszFilespec,bRecursive);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssCreateWriterMetadataEx_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IVssWriterImpl interface
- */
- #ifndef __IVssWriterImpl_INTERFACE_DEFINED__
- #define __IVssWriterImpl_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssWriterImpl, 0x00000000, 0x0000, 0x0000, 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("00000000-0000-0000-0000-000000000000")
- IVssWriterImpl : public IUnknown
- {
- virtual HRESULT STDMETHODCALLTYPE Initialize(
- VSS_ID writerId,
- LPCWSTR wszWriterName,
- LPCWSTR wszWriterInstanceName,
- DWORD dwMajorVersion,
- DWORD dwMinorVersion,
- VSS_USAGE_TYPE ut,
- VSS_SOURCE_TYPE st,
- VSS_APPLICATION_LEVEL nLevel,
- DWORD dwTimeout,
- VSS_ALTERNATE_WRITER_STATE aws,
- boolean bIOThrottlingOnly) = 0;
- virtual HRESULT STDMETHODCALLTYPE Subscribe(
- DWORD dwSubscribeTimeout,
- DWORD dwEventFlags) = 0;
- virtual HRESULT STDMETHODCALLTYPE Unsubscribe(
- ) = 0;
- virtual void STDMETHODCALLTYPE Uninitialize(
- ) = 0;
- virtual LPCWSTR * STDMETHODCALLTYPE GetCurrentVolumeArray(
- ) = 0;
- virtual UINT STDMETHODCALLTYPE GetCurrentVolumeCount(
- ) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetSnapshotDeviceName(
- LPCWSTR wszOriginalVolume,
- LPCWSTR *ppwszSnapshotDevice) = 0;
- #ifdef WIDL_EXPLICIT_AGGREGATE_RETURNS
- virtual VSS_ID* STDMETHODCALLTYPE GetCurrentSnapshotSetId(
- VSS_ID *__ret) = 0;
- VSS_ID STDMETHODCALLTYPE GetCurrentSnapshotSetId(
- )
- {
- VSS_ID __ret;
- return *GetCurrentSnapshotSetId(&__ret);
- }
- #else
- virtual VSS_ID STDMETHODCALLTYPE GetCurrentSnapshotSetId(
- ) = 0;
- #endif
- virtual LONG STDMETHODCALLTYPE GetContext(
- ) = 0;
- virtual VSS_APPLICATION_LEVEL STDMETHODCALLTYPE GetCurrentLevel(
- ) = 0;
- virtual boolean STDMETHODCALLTYPE IsPathAffected(
- LPCWSTR wszPath) = 0;
- virtual boolean STDMETHODCALLTYPE IsBootableSystemStateBackedUp(
- ) = 0;
- virtual boolean STDMETHODCALLTYPE AreComponentsSelected(
- ) = 0;
- virtual VSS_BACKUP_TYPE STDMETHODCALLTYPE GetBackupType(
- ) = 0;
- virtual VSS_RESTORE_TYPE STDMETHODCALLTYPE GetRestoreType(
- ) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetWriterFailure(
- HRESULT hr) = 0;
- virtual boolean STDMETHODCALLTYPE IsPartialFileSupportEnabled(
- ) = 0;
- virtual HRESULT STDMETHODCALLTYPE InstallAlternateWriter(
- VSS_ID idWriter,
- CLSID clsid) = 0;
- virtual IVssExamineWriterMetadata * STDMETHODCALLTYPE GetIdentityInformation(
- ) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetWriterFailureEx(
- HRESULT hr,
- HRESULT hrApplication,
- LPCWSTR wszApplicationMessage) = 0;
- virtual HRESULT STDMETHODCALLTYPE GetSessionId(
- VSS_ID *idSession) = 0;
- virtual boolean STDMETHODCALLTYPE IsWriterShuttingDown(
- ) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssWriterImpl, 0x00000000, 0x0000, 0x0000, 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00)
- #endif
- #else
- typedef struct IVssWriterImplVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IVssWriterImpl *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IVssWriterImpl *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IVssWriterImpl *This);
- /*** IVssWriterImpl methods ***/
- HRESULT (STDMETHODCALLTYPE *Initialize)(
- IVssWriterImpl *This,
- VSS_ID writerId,
- LPCWSTR wszWriterName,
- LPCWSTR wszWriterInstanceName,
- DWORD dwMajorVersion,
- DWORD dwMinorVersion,
- VSS_USAGE_TYPE ut,
- VSS_SOURCE_TYPE st,
- VSS_APPLICATION_LEVEL nLevel,
- DWORD dwTimeout,
- VSS_ALTERNATE_WRITER_STATE aws,
- boolean bIOThrottlingOnly);
- HRESULT (STDMETHODCALLTYPE *Subscribe)(
- IVssWriterImpl *This,
- DWORD dwSubscribeTimeout,
- DWORD dwEventFlags);
- HRESULT (STDMETHODCALLTYPE *Unsubscribe)(
- IVssWriterImpl *This);
- void (STDMETHODCALLTYPE *Uninitialize)(
- IVssWriterImpl *This);
- LPCWSTR * (STDMETHODCALLTYPE *GetCurrentVolumeArray)(
- IVssWriterImpl *This);
- UINT (STDMETHODCALLTYPE *GetCurrentVolumeCount)(
- IVssWriterImpl *This);
- HRESULT (STDMETHODCALLTYPE *GetSnapshotDeviceName)(
- IVssWriterImpl *This,
- LPCWSTR wszOriginalVolume,
- LPCWSTR *ppwszSnapshotDevice);
- VSS_ID * (STDMETHODCALLTYPE *GetCurrentSnapshotSetId)(
- IVssWriterImpl *This,
- VSS_ID *__ret);
- LONG (STDMETHODCALLTYPE *GetContext)(
- IVssWriterImpl *This);
- VSS_APPLICATION_LEVEL (STDMETHODCALLTYPE *GetCurrentLevel)(
- IVssWriterImpl *This);
- boolean (STDMETHODCALLTYPE *IsPathAffected)(
- IVssWriterImpl *This,
- LPCWSTR wszPath);
- boolean (STDMETHODCALLTYPE *IsBootableSystemStateBackedUp)(
- IVssWriterImpl *This);
- boolean (STDMETHODCALLTYPE *AreComponentsSelected)(
- IVssWriterImpl *This);
- VSS_BACKUP_TYPE (STDMETHODCALLTYPE *GetBackupType)(
- IVssWriterImpl *This);
- VSS_RESTORE_TYPE (STDMETHODCALLTYPE *GetRestoreType)(
- IVssWriterImpl *This);
- HRESULT (STDMETHODCALLTYPE *SetWriterFailure)(
- IVssWriterImpl *This,
- HRESULT hr);
- boolean (STDMETHODCALLTYPE *IsPartialFileSupportEnabled)(
- IVssWriterImpl *This);
- HRESULT (STDMETHODCALLTYPE *InstallAlternateWriter)(
- IVssWriterImpl *This,
- VSS_ID idWriter,
- CLSID clsid);
- IVssExamineWriterMetadata * (STDMETHODCALLTYPE *GetIdentityInformation)(
- IVssWriterImpl *This);
- HRESULT (STDMETHODCALLTYPE *SetWriterFailureEx)(
- IVssWriterImpl *This,
- HRESULT hr,
- HRESULT hrApplication,
- LPCWSTR wszApplicationMessage);
- HRESULT (STDMETHODCALLTYPE *GetSessionId)(
- IVssWriterImpl *This,
- VSS_ID *idSession);
- boolean (STDMETHODCALLTYPE *IsWriterShuttingDown)(
- IVssWriterImpl *This);
- END_INTERFACE
- } IVssWriterImplVtbl;
- interface IVssWriterImpl {
- CONST_VTBL IVssWriterImplVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IVssWriterImpl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IVssWriterImpl_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IVssWriterImpl_Release(This) (This)->lpVtbl->Release(This)
- /*** IVssWriterImpl methods ***/
- #define IVssWriterImpl_Initialize(This,writerId,wszWriterName,wszWriterInstanceName,dwMajorVersion,dwMinorVersion,ut,st,nLevel,dwTimeout,aws,bIOThrottlingOnly) (This)->lpVtbl->Initialize(This,writerId,wszWriterName,wszWriterInstanceName,dwMajorVersion,dwMinorVersion,ut,st,nLevel,dwTimeout,aws,bIOThrottlingOnly)
- #define IVssWriterImpl_Subscribe(This,dwSubscribeTimeout,dwEventFlags) (This)->lpVtbl->Subscribe(This,dwSubscribeTimeout,dwEventFlags)
- #define IVssWriterImpl_Unsubscribe(This) (This)->lpVtbl->Unsubscribe(This)
- #define IVssWriterImpl_Uninitialize(This) (This)->lpVtbl->Uninitialize(This)
- #define IVssWriterImpl_GetCurrentVolumeArray(This) (This)->lpVtbl->GetCurrentVolumeArray(This)
- #define IVssWriterImpl_GetCurrentVolumeCount(This) (This)->lpVtbl->GetCurrentVolumeCount(This)
- #define IVssWriterImpl_GetSnapshotDeviceName(This,wszOriginalVolume,ppwszSnapshotDevice) (This)->lpVtbl->GetSnapshotDeviceName(This,wszOriginalVolume,ppwszSnapshotDevice)
- #define IVssWriterImpl_GetCurrentSnapshotSetId(This) IVssWriterImpl_GetCurrentSnapshotSetId_define_WIDL_C_INLINE_WRAPPERS_for_aggregate_return_support
- #define IVssWriterImpl_GetContext(This) (This)->lpVtbl->GetContext(This)
- #define IVssWriterImpl_GetCurrentLevel(This) (This)->lpVtbl->GetCurrentLevel(This)
- #define IVssWriterImpl_IsPathAffected(This,wszPath) (This)->lpVtbl->IsPathAffected(This,wszPath)
- #define IVssWriterImpl_IsBootableSystemStateBackedUp(This) (This)->lpVtbl->IsBootableSystemStateBackedUp(This)
- #define IVssWriterImpl_AreComponentsSelected(This) (This)->lpVtbl->AreComponentsSelected(This)
- #define IVssWriterImpl_GetBackupType(This) (This)->lpVtbl->GetBackupType(This)
- #define IVssWriterImpl_GetRestoreType(This) (This)->lpVtbl->GetRestoreType(This)
- #define IVssWriterImpl_SetWriterFailure(This,hr) (This)->lpVtbl->SetWriterFailure(This,hr)
- #define IVssWriterImpl_IsPartialFileSupportEnabled(This) (This)->lpVtbl->IsPartialFileSupportEnabled(This)
- #define IVssWriterImpl_InstallAlternateWriter(This,idWriter,clsid) (This)->lpVtbl->InstallAlternateWriter(This,idWriter,clsid)
- #define IVssWriterImpl_GetIdentityInformation(This) (This)->lpVtbl->GetIdentityInformation(This)
- #define IVssWriterImpl_SetWriterFailureEx(This,hr,hrApplication,wszApplicationMessage) (This)->lpVtbl->SetWriterFailureEx(This,hr,hrApplication,wszApplicationMessage)
- #define IVssWriterImpl_GetSessionId(This,idSession) (This)->lpVtbl->GetSessionId(This,idSession)
- #define IVssWriterImpl_IsWriterShuttingDown(This) (This)->lpVtbl->IsWriterShuttingDown(This)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IVssWriterImpl_QueryInterface(IVssWriterImpl* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IVssWriterImpl_AddRef(IVssWriterImpl* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IVssWriterImpl_Release(IVssWriterImpl* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IVssWriterImpl methods ***/
- static FORCEINLINE HRESULT IVssWriterImpl_Initialize(IVssWriterImpl* This,VSS_ID writerId,LPCWSTR wszWriterName,LPCWSTR wszWriterInstanceName,DWORD dwMajorVersion,DWORD dwMinorVersion,VSS_USAGE_TYPE ut,VSS_SOURCE_TYPE st,VSS_APPLICATION_LEVEL nLevel,DWORD dwTimeout,VSS_ALTERNATE_WRITER_STATE aws,boolean bIOThrottlingOnly) {
- return This->lpVtbl->Initialize(This,writerId,wszWriterName,wszWriterInstanceName,dwMajorVersion,dwMinorVersion,ut,st,nLevel,dwTimeout,aws,bIOThrottlingOnly);
- }
- static FORCEINLINE HRESULT IVssWriterImpl_Subscribe(IVssWriterImpl* This,DWORD dwSubscribeTimeout,DWORD dwEventFlags) {
- return This->lpVtbl->Subscribe(This,dwSubscribeTimeout,dwEventFlags);
- }
- static FORCEINLINE HRESULT IVssWriterImpl_Unsubscribe(IVssWriterImpl* This) {
- return This->lpVtbl->Unsubscribe(This);
- }
- static FORCEINLINE void IVssWriterImpl_Uninitialize(IVssWriterImpl* This) {
- This->lpVtbl->Uninitialize(This);
- }
- static FORCEINLINE LPCWSTR * IVssWriterImpl_GetCurrentVolumeArray(IVssWriterImpl* This) {
- return This->lpVtbl->GetCurrentVolumeArray(This);
- }
- static FORCEINLINE UINT IVssWriterImpl_GetCurrentVolumeCount(IVssWriterImpl* This) {
- return This->lpVtbl->GetCurrentVolumeCount(This);
- }
- static FORCEINLINE HRESULT IVssWriterImpl_GetSnapshotDeviceName(IVssWriterImpl* This,LPCWSTR wszOriginalVolume,LPCWSTR *ppwszSnapshotDevice) {
- return This->lpVtbl->GetSnapshotDeviceName(This,wszOriginalVolume,ppwszSnapshotDevice);
- }
- static FORCEINLINE VSS_ID IVssWriterImpl_GetCurrentSnapshotSetId(IVssWriterImpl* This) {
- VSS_ID __ret;
- return *This->lpVtbl->GetCurrentSnapshotSetId(This,&__ret);
- }
- static FORCEINLINE LONG IVssWriterImpl_GetContext(IVssWriterImpl* This) {
- return This->lpVtbl->GetContext(This);
- }
- static FORCEINLINE VSS_APPLICATION_LEVEL IVssWriterImpl_GetCurrentLevel(IVssWriterImpl* This) {
- return This->lpVtbl->GetCurrentLevel(This);
- }
- static FORCEINLINE boolean IVssWriterImpl_IsPathAffected(IVssWriterImpl* This,LPCWSTR wszPath) {
- return This->lpVtbl->IsPathAffected(This,wszPath);
- }
- static FORCEINLINE boolean IVssWriterImpl_IsBootableSystemStateBackedUp(IVssWriterImpl* This) {
- return This->lpVtbl->IsBootableSystemStateBackedUp(This);
- }
- static FORCEINLINE boolean IVssWriterImpl_AreComponentsSelected(IVssWriterImpl* This) {
- return This->lpVtbl->AreComponentsSelected(This);
- }
- static FORCEINLINE VSS_BACKUP_TYPE IVssWriterImpl_GetBackupType(IVssWriterImpl* This) {
- return This->lpVtbl->GetBackupType(This);
- }
- static FORCEINLINE VSS_RESTORE_TYPE IVssWriterImpl_GetRestoreType(IVssWriterImpl* This) {
- return This->lpVtbl->GetRestoreType(This);
- }
- static FORCEINLINE HRESULT IVssWriterImpl_SetWriterFailure(IVssWriterImpl* This,HRESULT hr) {
- return This->lpVtbl->SetWriterFailure(This,hr);
- }
- static FORCEINLINE boolean IVssWriterImpl_IsPartialFileSupportEnabled(IVssWriterImpl* This) {
- return This->lpVtbl->IsPartialFileSupportEnabled(This);
- }
- static FORCEINLINE HRESULT IVssWriterImpl_InstallAlternateWriter(IVssWriterImpl* This,VSS_ID idWriter,CLSID clsid) {
- return This->lpVtbl->InstallAlternateWriter(This,idWriter,clsid);
- }
- static FORCEINLINE IVssExamineWriterMetadata * IVssWriterImpl_GetIdentityInformation(IVssWriterImpl* This) {
- return This->lpVtbl->GetIdentityInformation(This);
- }
- static FORCEINLINE HRESULT IVssWriterImpl_SetWriterFailureEx(IVssWriterImpl* This,HRESULT hr,HRESULT hrApplication,LPCWSTR wszApplicationMessage) {
- return This->lpVtbl->SetWriterFailureEx(This,hr,hrApplication,wszApplicationMessage);
- }
- static FORCEINLINE HRESULT IVssWriterImpl_GetSessionId(IVssWriterImpl* This,VSS_ID *idSession) {
- return This->lpVtbl->GetSessionId(This,idSession);
- }
- static FORCEINLINE boolean IVssWriterImpl_IsWriterShuttingDown(IVssWriterImpl* This) {
- return This->lpVtbl->IsWriterShuttingDown(This);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssWriterImpl_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IVssCreateExpressWriterMetadata interface
- */
- #ifndef __IVssCreateExpressWriterMetadata_INTERFACE_DEFINED__
- #define __IVssCreateExpressWriterMetadata_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssCreateExpressWriterMetadata, 0x9c772e77, 0xb26e, 0x427f, 0x92,0xdd, 0xc9,0x96,0xf4,0x1e,0xa5,0xe3);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("9c772e77-b26e-427f-92dd-c996f41ea5e3")
- IVssCreateExpressWriterMetadata : public IUnknown
- {
- virtual HRESULT STDMETHODCALLTYPE AddExcludeFiles(
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddComponent(
- VSS_COMPONENT_TYPE ct,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszComponentName,
- LPCWSTR wszCaption,
- const BYTE *pbIcon,
- UINT cbIcon,
- boolean bRestoreMetadata,
- boolean bNotifyOnBackupComplete,
- boolean bSelectable,
- boolean bSelectableForRestore = 0,
- DWORD dwComponentFlags = 0) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddFilesToFileGroup(
- LPCWSTR wszLogicalPath,
- LPCWSTR wszGroupName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive,
- LPCWSTR wszAlternateLocation,
- DWORD dwBackupTypeMask = VSS_FSBT_ALL_BACKUP_REQUIRED | VSS_FSBT_ALL_SNAPSHOT_REQUIRED) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetRestoreMethod(
- VSS_RESTOREMETHOD_ENUM method,
- LPCWSTR wszService,
- LPCWSTR wszUserProcedure,
- VSS_WRITERRESTORE_ENUM writerRestore,
- boolean bRebootRequired) = 0;
- virtual HRESULT STDMETHODCALLTYPE AddComponentDependency(
- LPCWSTR wszForLogicalPath,
- LPCWSTR wszForComponentName,
- VSS_ID onWriterId,
- LPCWSTR wszOnLogicalPath,
- LPCWSTR wszOnComponentName) = 0;
- virtual HRESULT STDMETHODCALLTYPE SetBackupSchema(
- DWORD dwSchemaMask) = 0;
- virtual HRESULT STDMETHODCALLTYPE SaveAsXML(
- BSTR *pbstrXML) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssCreateExpressWriterMetadata, 0x9c772e77, 0xb26e, 0x427f, 0x92,0xdd, 0xc9,0x96,0xf4,0x1e,0xa5,0xe3)
- #endif
- #else
- typedef struct IVssCreateExpressWriterMetadataVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IVssCreateExpressWriterMetadata *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IVssCreateExpressWriterMetadata *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IVssCreateExpressWriterMetadata *This);
- /*** IVssCreateExpressWriterMetadata methods ***/
- HRESULT (STDMETHODCALLTYPE *AddExcludeFiles)(
- IVssCreateExpressWriterMetadata *This,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive);
- HRESULT (STDMETHODCALLTYPE *AddComponent)(
- IVssCreateExpressWriterMetadata *This,
- VSS_COMPONENT_TYPE ct,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszComponentName,
- LPCWSTR wszCaption,
- const BYTE *pbIcon,
- UINT cbIcon,
- boolean bRestoreMetadata,
- boolean bNotifyOnBackupComplete,
- boolean bSelectable,
- boolean bSelectableForRestore,
- DWORD dwComponentFlags);
- HRESULT (STDMETHODCALLTYPE *AddFilesToFileGroup)(
- IVssCreateExpressWriterMetadata *This,
- LPCWSTR wszLogicalPath,
- LPCWSTR wszGroupName,
- LPCWSTR wszPath,
- LPCWSTR wszFilespec,
- boolean bRecursive,
- LPCWSTR wszAlternateLocation,
- DWORD dwBackupTypeMask);
- HRESULT (STDMETHODCALLTYPE *SetRestoreMethod)(
- IVssCreateExpressWriterMetadata *This,
- VSS_RESTOREMETHOD_ENUM method,
- LPCWSTR wszService,
- LPCWSTR wszUserProcedure,
- VSS_WRITERRESTORE_ENUM writerRestore,
- boolean bRebootRequired);
- HRESULT (STDMETHODCALLTYPE *AddComponentDependency)(
- IVssCreateExpressWriterMetadata *This,
- LPCWSTR wszForLogicalPath,
- LPCWSTR wszForComponentName,
- VSS_ID onWriterId,
- LPCWSTR wszOnLogicalPath,
- LPCWSTR wszOnComponentName);
- HRESULT (STDMETHODCALLTYPE *SetBackupSchema)(
- IVssCreateExpressWriterMetadata *This,
- DWORD dwSchemaMask);
- HRESULT (STDMETHODCALLTYPE *SaveAsXML)(
- IVssCreateExpressWriterMetadata *This,
- BSTR *pbstrXML);
- END_INTERFACE
- } IVssCreateExpressWriterMetadataVtbl;
- interface IVssCreateExpressWriterMetadata {
- CONST_VTBL IVssCreateExpressWriterMetadataVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IVssCreateExpressWriterMetadata_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IVssCreateExpressWriterMetadata_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IVssCreateExpressWriterMetadata_Release(This) (This)->lpVtbl->Release(This)
- /*** IVssCreateExpressWriterMetadata methods ***/
- #define IVssCreateExpressWriterMetadata_AddExcludeFiles(This,wszPath,wszFilespec,bRecursive) (This)->lpVtbl->AddExcludeFiles(This,wszPath,wszFilespec,bRecursive)
- #define IVssCreateExpressWriterMetadata_AddComponent(This,ct,wszLogicalPath,wszComponentName,wszCaption,pbIcon,cbIcon,bRestoreMetadata,bNotifyOnBackupComplete,bSelectable,bSelectableForRestore,dwComponentFlags) (This)->lpVtbl->AddComponent(This,ct,wszLogicalPath,wszComponentName,wszCaption,pbIcon,cbIcon,bRestoreMetadata,bNotifyOnBackupComplete,bSelectable,bSelectableForRestore,dwComponentFlags)
- #define IVssCreateExpressWriterMetadata_AddFilesToFileGroup(This,wszLogicalPath,wszGroupName,wszPath,wszFilespec,bRecursive,wszAlternateLocation,dwBackupTypeMask) (This)->lpVtbl->AddFilesToFileGroup(This,wszLogicalPath,wszGroupName,wszPath,wszFilespec,bRecursive,wszAlternateLocation,dwBackupTypeMask)
- #define IVssCreateExpressWriterMetadata_SetRestoreMethod(This,method,wszService,wszUserProcedure,writerRestore,bRebootRequired) (This)->lpVtbl->SetRestoreMethod(This,method,wszService,wszUserProcedure,writerRestore,bRebootRequired)
- #define IVssCreateExpressWriterMetadata_AddComponentDependency(This,wszForLogicalPath,wszForComponentName,onWriterId,wszOnLogicalPath,wszOnComponentName) (This)->lpVtbl->AddComponentDependency(This,wszForLogicalPath,wszForComponentName,onWriterId,wszOnLogicalPath,wszOnComponentName)
- #define IVssCreateExpressWriterMetadata_SetBackupSchema(This,dwSchemaMask) (This)->lpVtbl->SetBackupSchema(This,dwSchemaMask)
- #define IVssCreateExpressWriterMetadata_SaveAsXML(This,pbstrXML) (This)->lpVtbl->SaveAsXML(This,pbstrXML)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IVssCreateExpressWriterMetadata_QueryInterface(IVssCreateExpressWriterMetadata* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IVssCreateExpressWriterMetadata_AddRef(IVssCreateExpressWriterMetadata* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IVssCreateExpressWriterMetadata_Release(IVssCreateExpressWriterMetadata* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IVssCreateExpressWriterMetadata methods ***/
- static FORCEINLINE HRESULT IVssCreateExpressWriterMetadata_AddExcludeFiles(IVssCreateExpressWriterMetadata* This,LPCWSTR wszPath,LPCWSTR wszFilespec,boolean bRecursive) {
- return This->lpVtbl->AddExcludeFiles(This,wszPath,wszFilespec,bRecursive);
- }
- static FORCEINLINE HRESULT IVssCreateExpressWriterMetadata_AddComponent(IVssCreateExpressWriterMetadata* This,VSS_COMPONENT_TYPE ct,LPCWSTR wszLogicalPath,LPCWSTR wszComponentName,LPCWSTR wszCaption,const BYTE *pbIcon,UINT cbIcon,boolean bRestoreMetadata,boolean bNotifyOnBackupComplete,boolean bSelectable,boolean bSelectableForRestore,DWORD dwComponentFlags) {
- return This->lpVtbl->AddComponent(This,ct,wszLogicalPath,wszComponentName,wszCaption,pbIcon,cbIcon,bRestoreMetadata,bNotifyOnBackupComplete,bSelectable,bSelectableForRestore,dwComponentFlags);
- }
- static FORCEINLINE HRESULT IVssCreateExpressWriterMetadata_AddFilesToFileGroup(IVssCreateExpressWriterMetadata* This,LPCWSTR wszLogicalPath,LPCWSTR wszGroupName,LPCWSTR wszPath,LPCWSTR wszFilespec,boolean bRecursive,LPCWSTR wszAlternateLocation,DWORD dwBackupTypeMask) {
- return This->lpVtbl->AddFilesToFileGroup(This,wszLogicalPath,wszGroupName,wszPath,wszFilespec,bRecursive,wszAlternateLocation,dwBackupTypeMask);
- }
- static FORCEINLINE HRESULT IVssCreateExpressWriterMetadata_SetRestoreMethod(IVssCreateExpressWriterMetadata* This,VSS_RESTOREMETHOD_ENUM method,LPCWSTR wszService,LPCWSTR wszUserProcedure,VSS_WRITERRESTORE_ENUM writerRestore,boolean bRebootRequired) {
- return This->lpVtbl->SetRestoreMethod(This,method,wszService,wszUserProcedure,writerRestore,bRebootRequired);
- }
- static FORCEINLINE HRESULT IVssCreateExpressWriterMetadata_AddComponentDependency(IVssCreateExpressWriterMetadata* This,LPCWSTR wszForLogicalPath,LPCWSTR wszForComponentName,VSS_ID onWriterId,LPCWSTR wszOnLogicalPath,LPCWSTR wszOnComponentName) {
- return This->lpVtbl->AddComponentDependency(This,wszForLogicalPath,wszForComponentName,onWriterId,wszOnLogicalPath,wszOnComponentName);
- }
- static FORCEINLINE HRESULT IVssCreateExpressWriterMetadata_SetBackupSchema(IVssCreateExpressWriterMetadata* This,DWORD dwSchemaMask) {
- return This->lpVtbl->SetBackupSchema(This,dwSchemaMask);
- }
- static FORCEINLINE HRESULT IVssCreateExpressWriterMetadata_SaveAsXML(IVssCreateExpressWriterMetadata* This,BSTR *pbstrXML) {
- return This->lpVtbl->SaveAsXML(This,pbstrXML);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssCreateExpressWriterMetadata_INTERFACE_DEFINED__ */
- /*****************************************************************************
- * IVssExpressWriter interface
- */
- #ifndef __IVssExpressWriter_INTERFACE_DEFINED__
- #define __IVssExpressWriter_INTERFACE_DEFINED__
- DEFINE_GUID(IID_IVssExpressWriter, 0xe33affdc, 0x59c7, 0x47b1, 0x97,0xd5, 0x42,0x66,0x59,0x8f,0x62,0x35);
- #if defined(__cplusplus) && !defined(CINTERFACE)
- MIDL_INTERFACE("e33affdc-59c7-47b1-97d5-4266598f6235")
- IVssExpressWriter : public IUnknown
- {
- virtual HRESULT STDMETHODCALLTYPE CreateMetadata(
- VSS_ID writerId,
- LPCWSTR writerName,
- VSS_USAGE_TYPE usageType,
- DWORD versionMajor,
- DWORD versionMinor,
- DWORD reserved,
- IVssCreateExpressWriterMetadata **ppMetadata) = 0;
- virtual HRESULT STDMETHODCALLTYPE LoadMetadata(
- LPCWSTR metadata,
- DWORD reserved) = 0;
- virtual HRESULT STDMETHODCALLTYPE Register(
- ) = 0;
- virtual HRESULT STDMETHODCALLTYPE Unregister(
- VSS_ID writerId) = 0;
- };
- #ifdef __CRT_UUID_DECL
- __CRT_UUID_DECL(IVssExpressWriter, 0xe33affdc, 0x59c7, 0x47b1, 0x97,0xd5, 0x42,0x66,0x59,0x8f,0x62,0x35)
- #endif
- #else
- typedef struct IVssExpressWriterVtbl {
- BEGIN_INTERFACE
- /*** IUnknown methods ***/
- HRESULT (STDMETHODCALLTYPE *QueryInterface)(
- IVssExpressWriter *This,
- REFIID riid,
- void **ppvObject);
- ULONG (STDMETHODCALLTYPE *AddRef)(
- IVssExpressWriter *This);
- ULONG (STDMETHODCALLTYPE *Release)(
- IVssExpressWriter *This);
- /*** IVssExpressWriter methods ***/
- HRESULT (STDMETHODCALLTYPE *CreateMetadata)(
- IVssExpressWriter *This,
- VSS_ID writerId,
- LPCWSTR writerName,
- VSS_USAGE_TYPE usageType,
- DWORD versionMajor,
- DWORD versionMinor,
- DWORD reserved,
- IVssCreateExpressWriterMetadata **ppMetadata);
- HRESULT (STDMETHODCALLTYPE *LoadMetadata)(
- IVssExpressWriter *This,
- LPCWSTR metadata,
- DWORD reserved);
- HRESULT (STDMETHODCALLTYPE *Register)(
- IVssExpressWriter *This);
- HRESULT (STDMETHODCALLTYPE *Unregister)(
- IVssExpressWriter *This,
- VSS_ID writerId);
- END_INTERFACE
- } IVssExpressWriterVtbl;
- interface IVssExpressWriter {
- CONST_VTBL IVssExpressWriterVtbl* lpVtbl;
- };
- #ifdef COBJMACROS
- #ifndef WIDL_C_INLINE_WRAPPERS
- /*** IUnknown methods ***/
- #define IVssExpressWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
- #define IVssExpressWriter_AddRef(This) (This)->lpVtbl->AddRef(This)
- #define IVssExpressWriter_Release(This) (This)->lpVtbl->Release(This)
- /*** IVssExpressWriter methods ***/
- #define IVssExpressWriter_CreateMetadata(This,writerId,writerName,usageType,versionMajor,versionMinor,reserved,ppMetadata) (This)->lpVtbl->CreateMetadata(This,writerId,writerName,usageType,versionMajor,versionMinor,reserved,ppMetadata)
- #define IVssExpressWriter_LoadMetadata(This,metadata,reserved) (This)->lpVtbl->LoadMetadata(This,metadata,reserved)
- #define IVssExpressWriter_Register(This) (This)->lpVtbl->Register(This)
- #define IVssExpressWriter_Unregister(This,writerId) (This)->lpVtbl->Unregister(This,writerId)
- #else
- /*** IUnknown methods ***/
- static FORCEINLINE HRESULT IVssExpressWriter_QueryInterface(IVssExpressWriter* This,REFIID riid,void **ppvObject) {
- return This->lpVtbl->QueryInterface(This,riid,ppvObject);
- }
- static FORCEINLINE ULONG IVssExpressWriter_AddRef(IVssExpressWriter* This) {
- return This->lpVtbl->AddRef(This);
- }
- static FORCEINLINE ULONG IVssExpressWriter_Release(IVssExpressWriter* This) {
- return This->lpVtbl->Release(This);
- }
- /*** IVssExpressWriter methods ***/
- static FORCEINLINE HRESULT IVssExpressWriter_CreateMetadata(IVssExpressWriter* This,VSS_ID writerId,LPCWSTR writerName,VSS_USAGE_TYPE usageType,DWORD versionMajor,DWORD versionMinor,DWORD reserved,IVssCreateExpressWriterMetadata **ppMetadata) {
- return This->lpVtbl->CreateMetadata(This,writerId,writerName,usageType,versionMajor,versionMinor,reserved,ppMetadata);
- }
- static FORCEINLINE HRESULT IVssExpressWriter_LoadMetadata(IVssExpressWriter* This,LPCWSTR metadata,DWORD reserved) {
- return This->lpVtbl->LoadMetadata(This,metadata,reserved);
- }
- static FORCEINLINE HRESULT IVssExpressWriter_Register(IVssExpressWriter* This) {
- return This->lpVtbl->Register(This);
- }
- static FORCEINLINE HRESULT IVssExpressWriter_Unregister(IVssExpressWriter* This,VSS_ID writerId) {
- return This->lpVtbl->Unregister(This,writerId);
- }
- #endif
- #endif
- #endif
- #endif /* __IVssExpressWriter_INTERFACE_DEFINED__ */
- #endif /* WINAPI_PARTITION_DESKTOP */
- /* Begin additional prototypes for all interfaces */
- 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 /* __vswriter_h__ */
|