WbemCli.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:177k
- /* [in] */ IWbemClassObject *pInst,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [in] */ IWbemObjectSink *pResponseHandler);
- void __RPC_STUB IWbemServices_PutInstanceAsync_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemServices_DeleteInstance_Proxy(
- IWbemServices * This,
- /* [in] */ const BSTR strObjectPath,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [unique][in][out] */ IWbemCallResult **ppCallResult);
- void __RPC_STUB IWbemServices_DeleteInstance_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemServices_DeleteInstanceAsync_Proxy(
- IWbemServices * This,
- /* [in] */ const BSTR strObjectPath,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [in] */ IWbemObjectSink *pResponseHandler);
- void __RPC_STUB IWbemServices_DeleteInstanceAsync_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemServices_CreateInstanceEnum_Proxy(
- IWbemServices * This,
- /* [in] */ const BSTR strFilter,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ IEnumWbemClassObject **ppEnum);
- void __RPC_STUB IWbemServices_CreateInstanceEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemServices_CreateInstanceEnumAsync_Proxy(
- IWbemServices * This,
- /* [in] */ const BSTR strFilter,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [in] */ IWbemObjectSink *pResponseHandler);
- void __RPC_STUB IWbemServices_CreateInstanceEnumAsync_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemServices_ExecQuery_Proxy(
- IWbemServices * This,
- /* [in] */ const BSTR strQueryLanguage,
- /* [in] */ const BSTR strQuery,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ IEnumWbemClassObject **ppEnum);
- void __RPC_STUB IWbemServices_ExecQuery_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemServices_ExecQueryAsync_Proxy(
- IWbemServices * This,
- /* [in] */ const BSTR strQueryLanguage,
- /* [in] */ const BSTR strQuery,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [in] */ IWbemObjectSink *pResponseHandler);
- void __RPC_STUB IWbemServices_ExecQueryAsync_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemServices_ExecNotificationQuery_Proxy(
- IWbemServices * This,
- /* [in] */ const BSTR strQueryLanguage,
- /* [in] */ const BSTR strQuery,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ IEnumWbemClassObject **ppEnum);
- void __RPC_STUB IWbemServices_ExecNotificationQuery_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemServices_ExecNotificationQueryAsync_Proxy(
- IWbemServices * This,
- /* [in] */ const BSTR strQueryLanguage,
- /* [in] */ const BSTR strQuery,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [in] */ IWbemObjectSink *pResponseHandler);
- void __RPC_STUB IWbemServices_ExecNotificationQueryAsync_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemServices_ExecMethod_Proxy(
- IWbemServices * This,
- /* [in] */ const BSTR strObjectPath,
- /* [in] */ const BSTR strMethodName,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [in] */ IWbemClassObject *pInParams,
- /* [unique][in][out] */ IWbemClassObject **ppOutParams,
- /* [unique][in][out] */ IWbemCallResult **ppCallResult);
- void __RPC_STUB IWbemServices_ExecMethod_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemServices_ExecMethodAsync_Proxy(
- IWbemServices * This,
- /* [in] */ const BSTR strObjectPath,
- /* [in] */ const BSTR strMethodName,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pCtx,
- /* [in] */ IWbemClassObject *pInParams,
- /* [in] */ IWbemObjectSink *pResponseHandler);
- void __RPC_STUB IWbemServices_ExecMethodAsync_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemServices_INTERFACE_DEFINED__ */
- #ifndef __IWbemLocator_INTERFACE_DEFINED__
- #define __IWbemLocator_INTERFACE_DEFINED__
- /* interface IWbemLocator */
- /* [unique][uuid][local][restricted][object] */
- EXTERN_C const IID IID_IWbemLocator;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("dc12a687-737f-11cf-884d-00aa004b2e24")
- IWbemLocator : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE ConnectServer(
- /* [in] */ const BSTR strNetworkResource,
- /* [in] */ const BSTR strUser,
- /* [in] */ const BSTR strPassword,
- /* [in] */ const BSTR strLocale,
- /* [in] */ long lSecurityFlags,
- /* [in] */ const BSTR strAuthority,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ IWbemServices **ppNamespace) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemLocatorVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemLocator * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemLocator * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemLocator * This);
-
- HRESULT ( STDMETHODCALLTYPE *ConnectServer )(
- IWbemLocator * This,
- /* [in] */ const BSTR strNetworkResource,
- /* [in] */ const BSTR strUser,
- /* [in] */ const BSTR strPassword,
- /* [in] */ const BSTR strLocale,
- /* [in] */ long lSecurityFlags,
- /* [in] */ const BSTR strAuthority,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ IWbemServices **ppNamespace);
-
- END_INTERFACE
- } IWbemLocatorVtbl;
- interface IWbemLocator
- {
- CONST_VTBL struct IWbemLocatorVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemLocator_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemLocator_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemLocator_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemLocator_ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace)
- (This)->lpVtbl -> ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemLocator_ConnectServer_Proxy(
- IWbemLocator * This,
- /* [in] */ const BSTR strNetworkResource,
- /* [in] */ const BSTR strUser,
- /* [in] */ const BSTR strPassword,
- /* [in] */ const BSTR strLocale,
- /* [in] */ long lSecurityFlags,
- /* [in] */ const BSTR strAuthority,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ IWbemServices **ppNamespace);
- void __RPC_STUB IWbemLocator_ConnectServer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemLocator_INTERFACE_DEFINED__ */
- #ifndef __IWbemObjectSink_INTERFACE_DEFINED__
- #define __IWbemObjectSink_INTERFACE_DEFINED__
- /* interface IWbemObjectSink */
- /* [uuid][restricted][object] */
- EXTERN_C const IID IID_IWbemObjectSink;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("7c857801-7381-11cf-884d-00aa004b2e24")
- IWbemObjectSink : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Indicate(
- /* [in] */ long lObjectCount,
- /* [size_is][in] */ IWbemClassObject **apObjArray) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetStatus(
- /* [in] */ long lFlags,
- /* [in] */ HRESULT hResult,
- /* [in] */ BSTR strParam,
- /* [in] */ IWbemClassObject *pObjParam) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemObjectSinkVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemObjectSink * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemObjectSink * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemObjectSink * This);
-
- HRESULT ( STDMETHODCALLTYPE *Indicate )(
- IWbemObjectSink * This,
- /* [in] */ long lObjectCount,
- /* [size_is][in] */ IWbemClassObject **apObjArray);
-
- HRESULT ( STDMETHODCALLTYPE *SetStatus )(
- IWbemObjectSink * This,
- /* [in] */ long lFlags,
- /* [in] */ HRESULT hResult,
- /* [in] */ BSTR strParam,
- /* [in] */ IWbemClassObject *pObjParam);
-
- END_INTERFACE
- } IWbemObjectSinkVtbl;
- interface IWbemObjectSink
- {
- CONST_VTBL struct IWbemObjectSinkVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemObjectSink_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemObjectSink_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemObjectSink_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemObjectSink_Indicate(This,lObjectCount,apObjArray)
- (This)->lpVtbl -> Indicate(This,lObjectCount,apObjArray)
- #define IWbemObjectSink_SetStatus(This,lFlags,hResult,strParam,pObjParam)
- (This)->lpVtbl -> SetStatus(This,lFlags,hResult,strParam,pObjParam)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemObjectSink_Indicate_Proxy(
- IWbemObjectSink * This,
- /* [in] */ long lObjectCount,
- /* [size_is][in] */ IWbemClassObject **apObjArray);
- void __RPC_STUB IWbemObjectSink_Indicate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemObjectSink_SetStatus_Proxy(
- IWbemObjectSink * This,
- /* [in] */ long lFlags,
- /* [in] */ HRESULT hResult,
- /* [in] */ BSTR strParam,
- /* [in] */ IWbemClassObject *pObjParam);
- void __RPC_STUB IWbemObjectSink_SetStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemObjectSink_INTERFACE_DEFINED__ */
- #ifndef __IEnumWbemClassObject_INTERFACE_DEFINED__
- #define __IEnumWbemClassObject_INTERFACE_DEFINED__
- /* interface IEnumWbemClassObject */
- /* [uuid][restricted][object] */
- EXTERN_C const IID IID_IEnumWbemClassObject;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("027947e1-d731-11ce-a357-000000000001")
- IEnumWbemClassObject : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ long lTimeout,
- /* [in] */ ULONG uCount,
- /* [length_is][size_is][out] */ IWbemClassObject **apObjects,
- /* [out] */ ULONG *puReturned) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE NextAsync(
- /* [in] */ ULONG uCount,
- /* [in] */ IWbemObjectSink *pSink) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IEnumWbemClassObject **ppEnum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Skip(
- /* [in] */ long lTimeout,
- /* [in] */ ULONG nCount) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IEnumWbemClassObjectVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IEnumWbemClassObject * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IEnumWbemClassObject * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IEnumWbemClassObject * This);
-
- HRESULT ( STDMETHODCALLTYPE *Reset )(
- IEnumWbemClassObject * This);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IEnumWbemClassObject * This,
- /* [in] */ long lTimeout,
- /* [in] */ ULONG uCount,
- /* [length_is][size_is][out] */ IWbemClassObject **apObjects,
- /* [out] */ ULONG *puReturned);
-
- HRESULT ( STDMETHODCALLTYPE *NextAsync )(
- IEnumWbemClassObject * This,
- /* [in] */ ULONG uCount,
- /* [in] */ IWbemObjectSink *pSink);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IEnumWbemClassObject * This,
- /* [out] */ IEnumWbemClassObject **ppEnum);
-
- HRESULT ( STDMETHODCALLTYPE *Skip )(
- IEnumWbemClassObject * This,
- /* [in] */ long lTimeout,
- /* [in] */ ULONG nCount);
-
- END_INTERFACE
- } IEnumWbemClassObjectVtbl;
- interface IEnumWbemClassObject
- {
- CONST_VTBL struct IEnumWbemClassObjectVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IEnumWbemClassObject_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IEnumWbemClassObject_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IEnumWbemClassObject_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IEnumWbemClassObject_Reset(This)
- (This)->lpVtbl -> Reset(This)
- #define IEnumWbemClassObject_Next(This,lTimeout,uCount,apObjects,puReturned)
- (This)->lpVtbl -> Next(This,lTimeout,uCount,apObjects,puReturned)
- #define IEnumWbemClassObject_NextAsync(This,uCount,pSink)
- (This)->lpVtbl -> NextAsync(This,uCount,pSink)
- #define IEnumWbemClassObject_Clone(This,ppEnum)
- (This)->lpVtbl -> Clone(This,ppEnum)
- #define IEnumWbemClassObject_Skip(This,lTimeout,nCount)
- (This)->lpVtbl -> Skip(This,lTimeout,nCount)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Reset_Proxy(
- IEnumWbemClassObject * This);
- void __RPC_STUB IEnumWbemClassObject_Reset_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Next_Proxy(
- IEnumWbemClassObject * This,
- /* [in] */ long lTimeout,
- /* [in] */ ULONG uCount,
- /* [length_is][size_is][out] */ IWbemClassObject **apObjects,
- /* [out] */ ULONG *puReturned);
- void __RPC_STUB IEnumWbemClassObject_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_NextAsync_Proxy(
- IEnumWbemClassObject * This,
- /* [in] */ ULONG uCount,
- /* [in] */ IWbemObjectSink *pSink);
- void __RPC_STUB IEnumWbemClassObject_NextAsync_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Clone_Proxy(
- IEnumWbemClassObject * This,
- /* [out] */ IEnumWbemClassObject **ppEnum);
- void __RPC_STUB IEnumWbemClassObject_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IEnumWbemClassObject_Skip_Proxy(
- IEnumWbemClassObject * This,
- /* [in] */ long lTimeout,
- /* [in] */ ULONG nCount);
- void __RPC_STUB IEnumWbemClassObject_Skip_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IEnumWbemClassObject_INTERFACE_DEFINED__ */
- #ifndef __IWbemCallResult_INTERFACE_DEFINED__
- #define __IWbemCallResult_INTERFACE_DEFINED__
- /* interface IWbemCallResult */
- /* [uuid][restricted][object] */
- EXTERN_C const IID IID_IWbemCallResult;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("44aca675-e8fc-11d0-a07c-00c04fb68820")
- IWbemCallResult : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetResultObject(
- /* [in] */ long lTimeout,
- /* [out] */ IWbemClassObject **ppResultObject) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetResultString(
- /* [in] */ long lTimeout,
- /* [out] */ BSTR *pstrResultString) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetResultServices(
- /* [in] */ long lTimeout,
- /* [out] */ IWbemServices **ppServices) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetCallStatus(
- /* [in] */ long lTimeout,
- /* [out] */ long *plStatus) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemCallResultVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemCallResult * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemCallResult * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemCallResult * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetResultObject )(
- IWbemCallResult * This,
- /* [in] */ long lTimeout,
- /* [out] */ IWbemClassObject **ppResultObject);
-
- HRESULT ( STDMETHODCALLTYPE *GetResultString )(
- IWbemCallResult * This,
- /* [in] */ long lTimeout,
- /* [out] */ BSTR *pstrResultString);
-
- HRESULT ( STDMETHODCALLTYPE *GetResultServices )(
- IWbemCallResult * This,
- /* [in] */ long lTimeout,
- /* [out] */ IWbemServices **ppServices);
-
- HRESULT ( STDMETHODCALLTYPE *GetCallStatus )(
- IWbemCallResult * This,
- /* [in] */ long lTimeout,
- /* [out] */ long *plStatus);
-
- END_INTERFACE
- } IWbemCallResultVtbl;
- interface IWbemCallResult
- {
- CONST_VTBL struct IWbemCallResultVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemCallResult_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemCallResult_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemCallResult_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemCallResult_GetResultObject(This,lTimeout,ppResultObject)
- (This)->lpVtbl -> GetResultObject(This,lTimeout,ppResultObject)
- #define IWbemCallResult_GetResultString(This,lTimeout,pstrResultString)
- (This)->lpVtbl -> GetResultString(This,lTimeout,pstrResultString)
- #define IWbemCallResult_GetResultServices(This,lTimeout,ppServices)
- (This)->lpVtbl -> GetResultServices(This,lTimeout,ppServices)
- #define IWbemCallResult_GetCallStatus(This,lTimeout,plStatus)
- (This)->lpVtbl -> GetCallStatus(This,lTimeout,plStatus)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultObject_Proxy(
- IWbemCallResult * This,
- /* [in] */ long lTimeout,
- /* [out] */ IWbemClassObject **ppResultObject);
- void __RPC_STUB IWbemCallResult_GetResultObject_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultString_Proxy(
- IWbemCallResult * This,
- /* [in] */ long lTimeout,
- /* [out] */ BSTR *pstrResultString);
- void __RPC_STUB IWbemCallResult_GetResultString_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemCallResult_GetResultServices_Proxy(
- IWbemCallResult * This,
- /* [in] */ long lTimeout,
- /* [out] */ IWbemServices **ppServices);
- void __RPC_STUB IWbemCallResult_GetResultServices_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemCallResult_GetCallStatus_Proxy(
- IWbemCallResult * This,
- /* [in] */ long lTimeout,
- /* [out] */ long *plStatus);
- void __RPC_STUB IWbemCallResult_GetCallStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemCallResult_INTERFACE_DEFINED__ */
- #ifndef __IWbemContext_INTERFACE_DEFINED__
- #define __IWbemContext_INTERFACE_DEFINED__
- /* interface IWbemContext */
- /* [uuid][local][restricted][object] */
- EXTERN_C const IID IID_IWbemContext;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("44aca674-e8fc-11d0-a07c-00c04fb68820")
- IWbemContext : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Clone(
- /* [out] */ IWbemContext **ppNewCopy) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetNames(
- /* [in] */ long lFlags,
- /* [out] */ SAFEARRAY * *pNames) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE BeginEnumeration(
- /* [in] */ long lFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Next(
- /* [in] */ long lFlags,
- /* [out] */ BSTR *pstrName,
- /* [out] */ VARIANT *pValue) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE EndEnumeration( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetValue(
- /* [string][in] */ LPCWSTR wszName,
- /* [in] */ long lFlags,
- /* [in] */ VARIANT *pValue) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetValue(
- /* [string][in] */ LPCWSTR wszName,
- /* [in] */ long lFlags,
- /* [out] */ VARIANT *pValue) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DeleteValue(
- /* [string][in] */ LPCWSTR wszName,
- /* [in] */ long lFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DeleteAll( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemContextVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemContext * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemContext * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemContext * This);
-
- HRESULT ( STDMETHODCALLTYPE *Clone )(
- IWbemContext * This,
- /* [out] */ IWbemContext **ppNewCopy);
-
- HRESULT ( STDMETHODCALLTYPE *GetNames )(
- IWbemContext * This,
- /* [in] */ long lFlags,
- /* [out] */ SAFEARRAY * *pNames);
-
- HRESULT ( STDMETHODCALLTYPE *BeginEnumeration )(
- IWbemContext * This,
- /* [in] */ long lFlags);
-
- HRESULT ( STDMETHODCALLTYPE *Next )(
- IWbemContext * This,
- /* [in] */ long lFlags,
- /* [out] */ BSTR *pstrName,
- /* [out] */ VARIANT *pValue);
-
- HRESULT ( STDMETHODCALLTYPE *EndEnumeration )(
- IWbemContext * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetValue )(
- IWbemContext * This,
- /* [string][in] */ LPCWSTR wszName,
- /* [in] */ long lFlags,
- /* [in] */ VARIANT *pValue);
-
- HRESULT ( STDMETHODCALLTYPE *GetValue )(
- IWbemContext * This,
- /* [string][in] */ LPCWSTR wszName,
- /* [in] */ long lFlags,
- /* [out] */ VARIANT *pValue);
-
- HRESULT ( STDMETHODCALLTYPE *DeleteValue )(
- IWbemContext * This,
- /* [string][in] */ LPCWSTR wszName,
- /* [in] */ long lFlags);
-
- HRESULT ( STDMETHODCALLTYPE *DeleteAll )(
- IWbemContext * This);
-
- END_INTERFACE
- } IWbemContextVtbl;
- interface IWbemContext
- {
- CONST_VTBL struct IWbemContextVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemContext_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemContext_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemContext_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemContext_Clone(This,ppNewCopy)
- (This)->lpVtbl -> Clone(This,ppNewCopy)
- #define IWbemContext_GetNames(This,lFlags,pNames)
- (This)->lpVtbl -> GetNames(This,lFlags,pNames)
- #define IWbemContext_BeginEnumeration(This,lFlags)
- (This)->lpVtbl -> BeginEnumeration(This,lFlags)
- #define IWbemContext_Next(This,lFlags,pstrName,pValue)
- (This)->lpVtbl -> Next(This,lFlags,pstrName,pValue)
- #define IWbemContext_EndEnumeration(This)
- (This)->lpVtbl -> EndEnumeration(This)
- #define IWbemContext_SetValue(This,wszName,lFlags,pValue)
- (This)->lpVtbl -> SetValue(This,wszName,lFlags,pValue)
- #define IWbemContext_GetValue(This,wszName,lFlags,pValue)
- (This)->lpVtbl -> GetValue(This,wszName,lFlags,pValue)
- #define IWbemContext_DeleteValue(This,wszName,lFlags)
- (This)->lpVtbl -> DeleteValue(This,wszName,lFlags)
- #define IWbemContext_DeleteAll(This)
- (This)->lpVtbl -> DeleteAll(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemContext_Clone_Proxy(
- IWbemContext * This,
- /* [out] */ IWbemContext **ppNewCopy);
- void __RPC_STUB IWbemContext_Clone_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemContext_GetNames_Proxy(
- IWbemContext * This,
- /* [in] */ long lFlags,
- /* [out] */ SAFEARRAY * *pNames);
- void __RPC_STUB IWbemContext_GetNames_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemContext_BeginEnumeration_Proxy(
- IWbemContext * This,
- /* [in] */ long lFlags);
- void __RPC_STUB IWbemContext_BeginEnumeration_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemContext_Next_Proxy(
- IWbemContext * This,
- /* [in] */ long lFlags,
- /* [out] */ BSTR *pstrName,
- /* [out] */ VARIANT *pValue);
- void __RPC_STUB IWbemContext_Next_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemContext_EndEnumeration_Proxy(
- IWbemContext * This);
- void __RPC_STUB IWbemContext_EndEnumeration_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemContext_SetValue_Proxy(
- IWbemContext * This,
- /* [string][in] */ LPCWSTR wszName,
- /* [in] */ long lFlags,
- /* [in] */ VARIANT *pValue);
- void __RPC_STUB IWbemContext_SetValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemContext_GetValue_Proxy(
- IWbemContext * This,
- /* [string][in] */ LPCWSTR wszName,
- /* [in] */ long lFlags,
- /* [out] */ VARIANT *pValue);
- void __RPC_STUB IWbemContext_GetValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemContext_DeleteValue_Proxy(
- IWbemContext * This,
- /* [string][in] */ LPCWSTR wszName,
- /* [in] */ long lFlags);
- void __RPC_STUB IWbemContext_DeleteValue_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemContext_DeleteAll_Proxy(
- IWbemContext * This);
- void __RPC_STUB IWbemContext_DeleteAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemContext_INTERFACE_DEFINED__ */
- #ifndef __IUnsecuredApartment_INTERFACE_DEFINED__
- #define __IUnsecuredApartment_INTERFACE_DEFINED__
- /* interface IUnsecuredApartment */
- /* [object][uuid][restricted] */
- EXTERN_C const IID IID_IUnsecuredApartment;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("1cfaba8c-1523-11d1-ad79-00c04fd8fdff")
- IUnsecuredApartment : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CreateObjectStub(
- /* [in] */ IUnknown *pObject,
- /* [out] */ IUnknown **ppStub) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IUnsecuredApartmentVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IUnsecuredApartment * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IUnsecuredApartment * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IUnsecuredApartment * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateObjectStub )(
- IUnsecuredApartment * This,
- /* [in] */ IUnknown *pObject,
- /* [out] */ IUnknown **ppStub);
-
- END_INTERFACE
- } IUnsecuredApartmentVtbl;
- interface IUnsecuredApartment
- {
- CONST_VTBL struct IUnsecuredApartmentVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IUnsecuredApartment_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IUnsecuredApartment_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IUnsecuredApartment_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IUnsecuredApartment_CreateObjectStub(This,pObject,ppStub)
- (This)->lpVtbl -> CreateObjectStub(This,pObject,ppStub)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IUnsecuredApartment_CreateObjectStub_Proxy(
- IUnsecuredApartment * This,
- /* [in] */ IUnknown *pObject,
- /* [out] */ IUnknown **ppStub);
- void __RPC_STUB IUnsecuredApartment_CreateObjectStub_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IUnsecuredApartment_INTERFACE_DEFINED__ */
- #ifndef __IWbemStatusCodeText_INTERFACE_DEFINED__
- #define __IWbemStatusCodeText_INTERFACE_DEFINED__
- /* interface IWbemStatusCodeText */
- /* [uuid][object][local] */
- EXTERN_C const IID IID_IWbemStatusCodeText;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("eb87e1bc-3233-11d2-aec9-00c04fb68820")
- IWbemStatusCodeText : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetErrorCodeText(
- /* [in] */ HRESULT hRes,
- /* [in] */ LCID LocaleId,
- /* [in] */ long lFlags,
- /* [out] */ BSTR *MessageText) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetFacilityCodeText(
- /* [in] */ HRESULT hRes,
- /* [in] */ LCID LocaleId,
- /* [in] */ long lFlags,
- /* [out] */ BSTR *MessageText) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemStatusCodeTextVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemStatusCodeText * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemStatusCodeText * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemStatusCodeText * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetErrorCodeText )(
- IWbemStatusCodeText * This,
- /* [in] */ HRESULT hRes,
- /* [in] */ LCID LocaleId,
- /* [in] */ long lFlags,
- /* [out] */ BSTR *MessageText);
-
- HRESULT ( STDMETHODCALLTYPE *GetFacilityCodeText )(
- IWbemStatusCodeText * This,
- /* [in] */ HRESULT hRes,
- /* [in] */ LCID LocaleId,
- /* [in] */ long lFlags,
- /* [out] */ BSTR *MessageText);
-
- END_INTERFACE
- } IWbemStatusCodeTextVtbl;
- interface IWbemStatusCodeText
- {
- CONST_VTBL struct IWbemStatusCodeTextVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemStatusCodeText_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemStatusCodeText_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemStatusCodeText_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemStatusCodeText_GetErrorCodeText(This,hRes,LocaleId,lFlags,MessageText)
- (This)->lpVtbl -> GetErrorCodeText(This,hRes,LocaleId,lFlags,MessageText)
- #define IWbemStatusCodeText_GetFacilityCodeText(This,hRes,LocaleId,lFlags,MessageText)
- (This)->lpVtbl -> GetFacilityCodeText(This,hRes,LocaleId,lFlags,MessageText)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemStatusCodeText_GetErrorCodeText_Proxy(
- IWbemStatusCodeText * This,
- /* [in] */ HRESULT hRes,
- /* [in] */ LCID LocaleId,
- /* [in] */ long lFlags,
- /* [out] */ BSTR *MessageText);
- void __RPC_STUB IWbemStatusCodeText_GetErrorCodeText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemStatusCodeText_GetFacilityCodeText_Proxy(
- IWbemStatusCodeText * This,
- /* [in] */ HRESULT hRes,
- /* [in] */ LCID LocaleId,
- /* [in] */ long lFlags,
- /* [out] */ BSTR *MessageText);
- void __RPC_STUB IWbemStatusCodeText_GetFacilityCodeText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemStatusCodeText_INTERFACE_DEFINED__ */
- #ifndef __IWbemBackupRestore_INTERFACE_DEFINED__
- #define __IWbemBackupRestore_INTERFACE_DEFINED__
- /* interface IWbemBackupRestore */
- /* [uuid][restricted][object] */
- EXTERN_C const IID IID_IWbemBackupRestore;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("C49E32C7-BC8B-11d2-85D4-00105A1F8304")
- IWbemBackupRestore : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Backup(
- /* [string][in] */ LPCWSTR strBackupToFile,
- /* [in] */ long lFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Restore(
- /* [string][in] */ LPCWSTR strRestoreFromFile,
- /* [in] */ long lFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemBackupRestoreVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemBackupRestore * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemBackupRestore * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemBackupRestore * This);
-
- HRESULT ( STDMETHODCALLTYPE *Backup )(
- IWbemBackupRestore * This,
- /* [string][in] */ LPCWSTR strBackupToFile,
- /* [in] */ long lFlags);
-
- HRESULT ( STDMETHODCALLTYPE *Restore )(
- IWbemBackupRestore * This,
- /* [string][in] */ LPCWSTR strRestoreFromFile,
- /* [in] */ long lFlags);
-
- END_INTERFACE
- } IWbemBackupRestoreVtbl;
- interface IWbemBackupRestore
- {
- CONST_VTBL struct IWbemBackupRestoreVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemBackupRestore_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemBackupRestore_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemBackupRestore_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemBackupRestore_Backup(This,strBackupToFile,lFlags)
- (This)->lpVtbl -> Backup(This,strBackupToFile,lFlags)
- #define IWbemBackupRestore_Restore(This,strRestoreFromFile,lFlags)
- (This)->lpVtbl -> Restore(This,strRestoreFromFile,lFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemBackupRestore_Backup_Proxy(
- IWbemBackupRestore * This,
- /* [string][in] */ LPCWSTR strBackupToFile,
- /* [in] */ long lFlags);
- void __RPC_STUB IWbemBackupRestore_Backup_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemBackupRestore_Restore_Proxy(
- IWbemBackupRestore * This,
- /* [string][in] */ LPCWSTR strRestoreFromFile,
- /* [in] */ long lFlags);
- void __RPC_STUB IWbemBackupRestore_Restore_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemBackupRestore_INTERFACE_DEFINED__ */
- #ifndef __IWbemBackupRestoreEx_INTERFACE_DEFINED__
- #define __IWbemBackupRestoreEx_INTERFACE_DEFINED__
- /* interface IWbemBackupRestoreEx */
- /* [uuid][restricted][object] */
- EXTERN_C const IID IID_IWbemBackupRestoreEx;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("A359DEC5-E813-4834-8A2A-BA7F1D777D76")
- IWbemBackupRestoreEx : public IWbemBackupRestore
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Pause( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemBackupRestoreExVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemBackupRestoreEx * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemBackupRestoreEx * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemBackupRestoreEx * This);
-
- HRESULT ( STDMETHODCALLTYPE *Backup )(
- IWbemBackupRestoreEx * This,
- /* [string][in] */ LPCWSTR strBackupToFile,
- /* [in] */ long lFlags);
-
- HRESULT ( STDMETHODCALLTYPE *Restore )(
- IWbemBackupRestoreEx * This,
- /* [string][in] */ LPCWSTR strRestoreFromFile,
- /* [in] */ long lFlags);
-
- HRESULT ( STDMETHODCALLTYPE *Pause )(
- IWbemBackupRestoreEx * This);
-
- HRESULT ( STDMETHODCALLTYPE *Resume )(
- IWbemBackupRestoreEx * This);
-
- END_INTERFACE
- } IWbemBackupRestoreExVtbl;
- interface IWbemBackupRestoreEx
- {
- CONST_VTBL struct IWbemBackupRestoreExVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemBackupRestoreEx_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemBackupRestoreEx_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemBackupRestoreEx_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemBackupRestoreEx_Backup(This,strBackupToFile,lFlags)
- (This)->lpVtbl -> Backup(This,strBackupToFile,lFlags)
- #define IWbemBackupRestoreEx_Restore(This,strRestoreFromFile,lFlags)
- (This)->lpVtbl -> Restore(This,strRestoreFromFile,lFlags)
- #define IWbemBackupRestoreEx_Pause(This)
- (This)->lpVtbl -> Pause(This)
- #define IWbemBackupRestoreEx_Resume(This)
- (This)->lpVtbl -> Resume(This)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemBackupRestoreEx_Pause_Proxy(
- IWbemBackupRestoreEx * This);
- void __RPC_STUB IWbemBackupRestoreEx_Pause_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemBackupRestoreEx_Resume_Proxy(
- IWbemBackupRestoreEx * This);
- void __RPC_STUB IWbemBackupRestoreEx_Resume_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemBackupRestoreEx_INTERFACE_DEFINED__ */
- #ifndef __IWbemRefresher_INTERFACE_DEFINED__
- #define __IWbemRefresher_INTERFACE_DEFINED__
- /* interface IWbemRefresher */
- /* [uuid][object][restricted][local] */
- EXTERN_C const IID IID_IWbemRefresher;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("49353c99-516b-11d1-aea6-00c04fb68820")
- IWbemRefresher : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Refresh(
- /* [in] */ long lFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemRefresherVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemRefresher * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemRefresher * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemRefresher * This);
-
- HRESULT ( STDMETHODCALLTYPE *Refresh )(
- IWbemRefresher * This,
- /* [in] */ long lFlags);
-
- END_INTERFACE
- } IWbemRefresherVtbl;
- interface IWbemRefresher
- {
- CONST_VTBL struct IWbemRefresherVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemRefresher_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemRefresher_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemRefresher_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemRefresher_Refresh(This,lFlags)
- (This)->lpVtbl -> Refresh(This,lFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemRefresher_Refresh_Proxy(
- IWbemRefresher * This,
- /* [in] */ long lFlags);
- void __RPC_STUB IWbemRefresher_Refresh_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemRefresher_INTERFACE_DEFINED__ */
- #ifndef __IWbemHiPerfEnum_INTERFACE_DEFINED__
- #define __IWbemHiPerfEnum_INTERFACE_DEFINED__
- /* interface IWbemHiPerfEnum */
- /* [uuid][object][restricted][local] */
- EXTERN_C const IID IID_IWbemHiPerfEnum;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2705C288-79AE-11d2-B348-00105A1F8177")
- IWbemHiPerfEnum : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AddObjects(
- /* [in] */ long lFlags,
- /* [in] */ ULONG uNumObjects,
- /* [size_is][in] */ long *apIds,
- /* [size_is][in] */ IWbemObjectAccess **apObj) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RemoveObjects(
- /* [in] */ long lFlags,
- /* [in] */ ULONG uNumObjects,
- /* [size_is][in] */ long *apIds) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetObjects(
- /* [in] */ long lFlags,
- /* [in] */ ULONG uNumObjects,
- /* [length_is][size_is][out] */ IWbemObjectAccess **apObj,
- /* [out] */ ULONG *puReturned) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RemoveAll(
- /* [in] */ long lFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemHiPerfEnumVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemHiPerfEnum * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemHiPerfEnum * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemHiPerfEnum * This);
-
- HRESULT ( STDMETHODCALLTYPE *AddObjects )(
- IWbemHiPerfEnum * This,
- /* [in] */ long lFlags,
- /* [in] */ ULONG uNumObjects,
- /* [size_is][in] */ long *apIds,
- /* [size_is][in] */ IWbemObjectAccess **apObj);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveObjects )(
- IWbemHiPerfEnum * This,
- /* [in] */ long lFlags,
- /* [in] */ ULONG uNumObjects,
- /* [size_is][in] */ long *apIds);
-
- HRESULT ( STDMETHODCALLTYPE *GetObjects )(
- IWbemHiPerfEnum * This,
- /* [in] */ long lFlags,
- /* [in] */ ULONG uNumObjects,
- /* [length_is][size_is][out] */ IWbemObjectAccess **apObj,
- /* [out] */ ULONG *puReturned);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveAll )(
- IWbemHiPerfEnum * This,
- /* [in] */ long lFlags);
-
- END_INTERFACE
- } IWbemHiPerfEnumVtbl;
- interface IWbemHiPerfEnum
- {
- CONST_VTBL struct IWbemHiPerfEnumVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemHiPerfEnum_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemHiPerfEnum_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemHiPerfEnum_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemHiPerfEnum_AddObjects(This,lFlags,uNumObjects,apIds,apObj)
- (This)->lpVtbl -> AddObjects(This,lFlags,uNumObjects,apIds,apObj)
- #define IWbemHiPerfEnum_RemoveObjects(This,lFlags,uNumObjects,apIds)
- (This)->lpVtbl -> RemoveObjects(This,lFlags,uNumObjects,apIds)
- #define IWbemHiPerfEnum_GetObjects(This,lFlags,uNumObjects,apObj,puReturned)
- (This)->lpVtbl -> GetObjects(This,lFlags,uNumObjects,apObj,puReturned)
- #define IWbemHiPerfEnum_RemoveAll(This,lFlags)
- (This)->lpVtbl -> RemoveAll(This,lFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemHiPerfEnum_AddObjects_Proxy(
- IWbemHiPerfEnum * This,
- /* [in] */ long lFlags,
- /* [in] */ ULONG uNumObjects,
- /* [size_is][in] */ long *apIds,
- /* [size_is][in] */ IWbemObjectAccess **apObj);
- void __RPC_STUB IWbemHiPerfEnum_AddObjects_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemHiPerfEnum_RemoveObjects_Proxy(
- IWbemHiPerfEnum * This,
- /* [in] */ long lFlags,
- /* [in] */ ULONG uNumObjects,
- /* [size_is][in] */ long *apIds);
- void __RPC_STUB IWbemHiPerfEnum_RemoveObjects_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemHiPerfEnum_GetObjects_Proxy(
- IWbemHiPerfEnum * This,
- /* [in] */ long lFlags,
- /* [in] */ ULONG uNumObjects,
- /* [length_is][size_is][out] */ IWbemObjectAccess **apObj,
- /* [out] */ ULONG *puReturned);
- void __RPC_STUB IWbemHiPerfEnum_GetObjects_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemHiPerfEnum_RemoveAll_Proxy(
- IWbemHiPerfEnum * This,
- /* [in] */ long lFlags);
- void __RPC_STUB IWbemHiPerfEnum_RemoveAll_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemHiPerfEnum_INTERFACE_DEFINED__ */
- #ifndef __IWbemConfigureRefresher_INTERFACE_DEFINED__
- #define __IWbemConfigureRefresher_INTERFACE_DEFINED__
- /* interface IWbemConfigureRefresher */
- /* [uuid][object][restricted][local] */
- EXTERN_C const IID IID_IWbemConfigureRefresher;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("49353c92-516b-11d1-aea6-00c04fb68820")
- IWbemConfigureRefresher : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AddObjectByPath(
- /* [in] */ IWbemServices *pNamespace,
- /* [string][in] */ LPCWSTR wszPath,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pContext,
- /* [out] */ IWbemClassObject **ppRefreshable,
- /* [unique][in][out] */ long *plId) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddObjectByTemplate(
- /* [in] */ IWbemServices *pNamespace,
- /* [in] */ IWbemClassObject *pTemplate,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pContext,
- /* [out] */ IWbemClassObject **ppRefreshable,
- /* [unique][in][out] */ long *plId) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddRefresher(
- /* [in] */ IWbemRefresher *pRefresher,
- /* [in] */ long lFlags,
- /* [unique][in][out] */ long *plId) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Remove(
- /* [in] */ long lId,
- /* [in] */ long lFlags) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddEnum(
- /* [in] */ IWbemServices *pNamespace,
- /* [string][in] */ LPCWSTR wszClassName,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pContext,
- /* [out] */ IWbemHiPerfEnum **ppEnum,
- /* [unique][in][out] */ long *plId) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemConfigureRefresherVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemConfigureRefresher * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemConfigureRefresher * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemConfigureRefresher * This);
-
- HRESULT ( STDMETHODCALLTYPE *AddObjectByPath )(
- IWbemConfigureRefresher * This,
- /* [in] */ IWbemServices *pNamespace,
- /* [string][in] */ LPCWSTR wszPath,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pContext,
- /* [out] */ IWbemClassObject **ppRefreshable,
- /* [unique][in][out] */ long *plId);
-
- HRESULT ( STDMETHODCALLTYPE *AddObjectByTemplate )(
- IWbemConfigureRefresher * This,
- /* [in] */ IWbemServices *pNamespace,
- /* [in] */ IWbemClassObject *pTemplate,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pContext,
- /* [out] */ IWbemClassObject **ppRefreshable,
- /* [unique][in][out] */ long *plId);
-
- HRESULT ( STDMETHODCALLTYPE *AddRefresher )(
- IWbemConfigureRefresher * This,
- /* [in] */ IWbemRefresher *pRefresher,
- /* [in] */ long lFlags,
- /* [unique][in][out] */ long *plId);
-
- HRESULT ( STDMETHODCALLTYPE *Remove )(
- IWbemConfigureRefresher * This,
- /* [in] */ long lId,
- /* [in] */ long lFlags);
-
- HRESULT ( STDMETHODCALLTYPE *AddEnum )(
- IWbemConfigureRefresher * This,
- /* [in] */ IWbemServices *pNamespace,
- /* [string][in] */ LPCWSTR wszClassName,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pContext,
- /* [out] */ IWbemHiPerfEnum **ppEnum,
- /* [unique][in][out] */ long *plId);
-
- END_INTERFACE
- } IWbemConfigureRefresherVtbl;
- interface IWbemConfigureRefresher
- {
- CONST_VTBL struct IWbemConfigureRefresherVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemConfigureRefresher_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemConfigureRefresher_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemConfigureRefresher_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemConfigureRefresher_AddObjectByPath(This,pNamespace,wszPath,lFlags,pContext,ppRefreshable,plId)
- (This)->lpVtbl -> AddObjectByPath(This,pNamespace,wszPath,lFlags,pContext,ppRefreshable,plId)
- #define IWbemConfigureRefresher_AddObjectByTemplate(This,pNamespace,pTemplate,lFlags,pContext,ppRefreshable,plId)
- (This)->lpVtbl -> AddObjectByTemplate(This,pNamespace,pTemplate,lFlags,pContext,ppRefreshable,plId)
- #define IWbemConfigureRefresher_AddRefresher(This,pRefresher,lFlags,plId)
- (This)->lpVtbl -> AddRefresher(This,pRefresher,lFlags,plId)
- #define IWbemConfigureRefresher_Remove(This,lId,lFlags)
- (This)->lpVtbl -> Remove(This,lId,lFlags)
- #define IWbemConfigureRefresher_AddEnum(This,pNamespace,wszClassName,lFlags,pContext,ppEnum,plId)
- (This)->lpVtbl -> AddEnum(This,pNamespace,wszClassName,lFlags,pContext,ppEnum,plId)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemConfigureRefresher_AddObjectByPath_Proxy(
- IWbemConfigureRefresher * This,
- /* [in] */ IWbemServices *pNamespace,
- /* [string][in] */ LPCWSTR wszPath,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pContext,
- /* [out] */ IWbemClassObject **ppRefreshable,
- /* [unique][in][out] */ long *plId);
- void __RPC_STUB IWbemConfigureRefresher_AddObjectByPath_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemConfigureRefresher_AddObjectByTemplate_Proxy(
- IWbemConfigureRefresher * This,
- /* [in] */ IWbemServices *pNamespace,
- /* [in] */ IWbemClassObject *pTemplate,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pContext,
- /* [out] */ IWbemClassObject **ppRefreshable,
- /* [unique][in][out] */ long *plId);
- void __RPC_STUB IWbemConfigureRefresher_AddObjectByTemplate_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemConfigureRefresher_AddRefresher_Proxy(
- IWbemConfigureRefresher * This,
- /* [in] */ IWbemRefresher *pRefresher,
- /* [in] */ long lFlags,
- /* [unique][in][out] */ long *plId);
- void __RPC_STUB IWbemConfigureRefresher_AddRefresher_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemConfigureRefresher_Remove_Proxy(
- IWbemConfigureRefresher * This,
- /* [in] */ long lId,
- /* [in] */ long lFlags);
- void __RPC_STUB IWbemConfigureRefresher_Remove_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemConfigureRefresher_AddEnum_Proxy(
- IWbemConfigureRefresher * This,
- /* [in] */ IWbemServices *pNamespace,
- /* [string][in] */ LPCWSTR wszClassName,
- /* [in] */ long lFlags,
- /* [in] */ IWbemContext *pContext,
- /* [out] */ IWbemHiPerfEnum **ppEnum,
- /* [unique][in][out] */ long *plId);
- void __RPC_STUB IWbemConfigureRefresher_AddEnum_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemConfigureRefresher_INTERFACE_DEFINED__ */
- EXTERN_C const CLSID CLSID_WbemLocator;
- #ifdef __cplusplus
- class DECLSPEC_UUID("4590f811-1d3a-11d0-891f-00aa004b2e24")
- WbemLocator;
- #endif
- EXTERN_C const CLSID CLSID_WbemContext;
- #ifdef __cplusplus
- class DECLSPEC_UUID("674B6698-EE92-11d0-AD71-00C04FD8FDFF")
- WbemContext;
- #endif
- EXTERN_C const CLSID CLSID_UnsecuredApartment;
- #ifdef __cplusplus
- class DECLSPEC_UUID("49bd2028-1523-11d1-ad79-00c04fd8fdff")
- UnsecuredApartment;
- #endif
- EXTERN_C const CLSID CLSID_WbemClassObject;
- #ifdef __cplusplus
- class DECLSPEC_UUID("9A653086-174F-11d2-B5F9-00104B703EFD")
- WbemClassObject;
- #endif
- EXTERN_C const CLSID CLSID_MofCompiler;
- #ifdef __cplusplus
- class DECLSPEC_UUID("6daf9757-2e37-11d2-aec9-00c04fb68820")
- MofCompiler;
- #endif
- EXTERN_C const CLSID CLSID_WbemStatusCodeText;
- #ifdef __cplusplus
- class DECLSPEC_UUID("eb87e1bd-3233-11d2-aec9-00c04fb68820")
- WbemStatusCodeText;
- #endif
- EXTERN_C const CLSID CLSID_WbemBackupRestore;
- #ifdef __cplusplus
- class DECLSPEC_UUID("C49E32C6-BC8B-11d2-85D4-00105A1F8304")
- WbemBackupRestore;
- #endif
- EXTERN_C const CLSID CLSID_WbemRefresher;
- #ifdef __cplusplus
- class DECLSPEC_UUID("c71566f2-561e-11d1-ad87-00c04fd8fdff")
- WbemRefresher;
- #endif
- EXTERN_C const CLSID CLSID_WbemObjectTextSrc;
- #ifdef __cplusplus
- class DECLSPEC_UUID("8D1C559D-84F0-4bb3-A7D5-56A7435A9BA6")
- WbemObjectTextSrc;
- #endif
- #endif /* __WbemClient_v1_LIBRARY_DEFINED__ */
- /* interface __MIDL_itf_wbemcli_0000 */
- /* [local] */
- extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0000_v0_0_s_ifspec;
- /* interface __MIDL_itf_wbemcli_0111 */
- /* [local] */
- extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0111_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0111_v0_0_s_ifspec;
- #ifndef __IWbemRawSdAccessor_INTERFACE_DEFINED__
- #define __IWbemRawSdAccessor_INTERFACE_DEFINED__
- /* interface IWbemRawSdAccessor */
- /* [uuid][restricted][object] */
- EXTERN_C const IID IID_IWbemRawSdAccessor;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("c1e2d759-cabd-11d3-a11b-00105a1f515a")
- IWbemRawSdAccessor : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Get(
- /* [in] */ long lFlags,
- /* [in] */ ULONG uBufSize,
- /* [out] */ ULONG *puSDSize,
- /* [length_is][size_is][out][in] */ byte *pSD) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Put(
- /* [in] */ long lFlags,
- /* [in] */ ULONG uBufSize,
- /* [size_is][in] */ byte *pSD) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemRawSdAccessorVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemRawSdAccessor * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemRawSdAccessor * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemRawSdAccessor * This);
-
- HRESULT ( STDMETHODCALLTYPE *Get )(
- IWbemRawSdAccessor * This,
- /* [in] */ long lFlags,
- /* [in] */ ULONG uBufSize,
- /* [out] */ ULONG *puSDSize,
- /* [length_is][size_is][out][in] */ byte *pSD);
-
- HRESULT ( STDMETHODCALLTYPE *Put )(
- IWbemRawSdAccessor * This,
- /* [in] */ long lFlags,
- /* [in] */ ULONG uBufSize,
- /* [size_is][in] */ byte *pSD);
-
- END_INTERFACE
- } IWbemRawSdAccessorVtbl;
- interface IWbemRawSdAccessor
- {
- CONST_VTBL struct IWbemRawSdAccessorVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemRawSdAccessor_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemRawSdAccessor_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemRawSdAccessor_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemRawSdAccessor_Get(This,lFlags,uBufSize,puSDSize,pSD)
- (This)->lpVtbl -> Get(This,lFlags,uBufSize,puSDSize,pSD)
- #define IWbemRawSdAccessor_Put(This,lFlags,uBufSize,pSD)
- (This)->lpVtbl -> Put(This,lFlags,uBufSize,pSD)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemRawSdAccessor_Get_Proxy(
- IWbemRawSdAccessor * This,
- /* [in] */ long lFlags,
- /* [in] */ ULONG uBufSize,
- /* [out] */ ULONG *puSDSize,
- /* [length_is][size_is][out][in] */ byte *pSD);
- void __RPC_STUB IWbemRawSdAccessor_Get_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemRawSdAccessor_Put_Proxy(
- IWbemRawSdAccessor * This,
- /* [in] */ long lFlags,
- /* [in] */ ULONG uBufSize,
- /* [size_is][in] */ byte *pSD);
- void __RPC_STUB IWbemRawSdAccessor_Put_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemRawSdAccessor_INTERFACE_DEFINED__ */
- #ifndef __IWbemShutdown_INTERFACE_DEFINED__
- #define __IWbemShutdown_INTERFACE_DEFINED__
- /* interface IWbemShutdown */
- /* [uuid][object] */
- EXTERN_C const IID IID_IWbemShutdown;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("b7b31df9-d515-11d3-a11c-00105a1f515a")
- IWbemShutdown : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Shutdown(
- /* [in] */ LONG uReason,
- /* [in] */ ULONG uMaxMilliseconds,
- /* [in] */ IWbemContext *pCtx) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemShutdownVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemShutdown * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemShutdown * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemShutdown * This);
-
- HRESULT ( STDMETHODCALLTYPE *Shutdown )(
- IWbemShutdown * This,
- /* [in] */ LONG uReason,
- /* [in] */ ULONG uMaxMilliseconds,
- /* [in] */ IWbemContext *pCtx);
-
- END_INTERFACE
- } IWbemShutdownVtbl;
- interface IWbemShutdown
- {
- CONST_VTBL struct IWbemShutdownVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemShutdown_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemShutdown_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemShutdown_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemShutdown_Shutdown(This,uReason,uMaxMilliseconds,pCtx)
- (This)->lpVtbl -> Shutdown(This,uReason,uMaxMilliseconds,pCtx)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemShutdown_Shutdown_Proxy(
- IWbemShutdown * This,
- /* [in] */ LONG uReason,
- /* [in] */ ULONG uMaxMilliseconds,
- /* [in] */ IWbemContext *pCtx);
- void __RPC_STUB IWbemShutdown_Shutdown_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemShutdown_INTERFACE_DEFINED__ */
- #ifndef __IWbemCallStatus_INTERFACE_DEFINED__
- #define __IWbemCallStatus_INTERFACE_DEFINED__
- /* interface IWbemCallStatus */
- /* [uuid][local][object] */
- EXTERN_C const IID IID_IWbemCallStatus;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("4212dc47-142e-4c6c-bc49-6ca232dd0959")
- IWbemCallStatus : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetCallStatus(
- /* [in] */ ULONG uFlags,
- /* [in] */ LCID lLocale,
- /* [out] */ HRESULT *phRes,
- /* [out] */ BSTR *pszMsg,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ LPVOID *pObj) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemCallStatusVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemCallStatus * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemCallStatus * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemCallStatus * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetCallStatus )(
- IWbemCallStatus * This,
- /* [in] */ ULONG uFlags,
- /* [in] */ LCID lLocale,
- /* [out] */ HRESULT *phRes,
- /* [out] */ BSTR *pszMsg,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ LPVOID *pObj);
-
- END_INTERFACE
- } IWbemCallStatusVtbl;
- interface IWbemCallStatus
- {
- CONST_VTBL struct IWbemCallStatusVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemCallStatus_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemCallStatus_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemCallStatus_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemCallStatus_GetCallStatus(This,uFlags,lLocale,phRes,pszMsg,riid,pObj)
- (This)->lpVtbl -> GetCallStatus(This,uFlags,lLocale,phRes,pszMsg,riid,pObj)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemCallStatus_GetCallStatus_Proxy(
- IWbemCallStatus * This,
- /* [in] */ ULONG uFlags,
- /* [in] */ LCID lLocale,
- /* [out] */ HRESULT *phRes,
- /* [out] */ BSTR *pszMsg,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ LPVOID *pObj);
- void __RPC_STUB IWbemCallStatus_GetCallStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemCallStatus_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_wbemcli_0120 */
- /* [local] */
- typedef /* [v1_enum] */
- enum tag_WMI_OBJ_TEXT
- { WMI_OBJ_TEXT_CIM_DTD_2_0 = 1,
- WMI_OBJ_TEXT_WMI_DTD_2_0 = 2,
- WMI_OBJ_TEXT_WMI_EXT1 = 3,
- WMI_OBJ_TEXT_WMI_EXT2 = 4,
- WMI_OBJ_TEXT_WMI_EXT3 = 5,
- WMI_OBJ_TEXT_WMI_EXT4 = 6,
- WMI_OBJ_TEXT_WMI_EXT5 = 7,
- WMI_OBJ_TEXT_WMI_EXT6 = 8,
- WMI_OBJ_TEXT_WMI_EXT7 = 9,
- WMI_OBJ_TEXT_WMI_EXT8 = 10,
- WMI_OBJ_TEXT_WMI_EXT9 = 11,
- WMI_OBJ_TEXT_WMI_EXT10 = 12,
- WMI_OBJ_TEXT_LAST = 13
- } WMI_OBJ_TEXT;
- extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0120_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0120_v0_0_s_ifspec;
- #ifndef __IWbemObjectTextSrc_INTERFACE_DEFINED__
- #define __IWbemObjectTextSrc_INTERFACE_DEFINED__
- /* interface IWbemObjectTextSrc */
- /* [uuid][local][restricted][object] */
- EXTERN_C const IID IID_IWbemObjectTextSrc;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("bfbf883a-cad7-11d3-a11b-00105a1f515a")
- IWbemObjectTextSrc : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetText(
- /* [in] */ long lFlags,
- /* [in] */ IWbemClassObject *pObj,
- /* [in] */ ULONG uObjTextFormat,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ BSTR *strText) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateFromText(
- /* [in] */ long lFlags,
- /* [in] */ BSTR strText,
- /* [in] */ ULONG uObjTextFormat,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ IWbemClassObject **pNewObj) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWbemObjectTextSrcVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWbemObjectTextSrc * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWbemObjectTextSrc * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWbemObjectTextSrc * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetText )(
- IWbemObjectTextSrc * This,
- /* [in] */ long lFlags,
- /* [in] */ IWbemClassObject *pObj,
- /* [in] */ ULONG uObjTextFormat,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ BSTR *strText);
-
- HRESULT ( STDMETHODCALLTYPE *CreateFromText )(
- IWbemObjectTextSrc * This,
- /* [in] */ long lFlags,
- /* [in] */ BSTR strText,
- /* [in] */ ULONG uObjTextFormat,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ IWbemClassObject **pNewObj);
-
- END_INTERFACE
- } IWbemObjectTextSrcVtbl;
- interface IWbemObjectTextSrc
- {
- CONST_VTBL struct IWbemObjectTextSrcVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWbemObjectTextSrc_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWbemObjectTextSrc_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWbemObjectTextSrc_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWbemObjectTextSrc_GetText(This,lFlags,pObj,uObjTextFormat,pCtx,strText)
- (This)->lpVtbl -> GetText(This,lFlags,pObj,uObjTextFormat,pCtx,strText)
- #define IWbemObjectTextSrc_CreateFromText(This,lFlags,strText,uObjTextFormat,pCtx,pNewObj)
- (This)->lpVtbl -> CreateFromText(This,lFlags,strText,uObjTextFormat,pCtx,pNewObj)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWbemObjectTextSrc_GetText_Proxy(
- IWbemObjectTextSrc * This,
- /* [in] */ long lFlags,
- /* [in] */ IWbemClassObject *pObj,
- /* [in] */ ULONG uObjTextFormat,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ BSTR *strText);
- void __RPC_STUB IWbemObjectTextSrc_GetText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWbemObjectTextSrc_CreateFromText_Proxy(
- IWbemObjectTextSrc * This,
- /* [in] */ long lFlags,
- /* [in] */ BSTR strText,
- /* [in] */ ULONG uObjTextFormat,
- /* [in] */ IWbemContext *pCtx,
- /* [out] */ IWbemClassObject **pNewObj);
- void __RPC_STUB IWbemObjectTextSrc_CreateFromText_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWbemObjectTextSrc_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_wbemcli_0122 */
- /* [local] */
- typedef struct tag_CompileStatusInfo
- {
- long lPhaseError;
- HRESULT hRes;
- long ObjectNum;
- long FirstLine;
- long LastLine;
- DWORD dwOutFlags;
- } WBEM_COMPILE_STATUS_INFO;
- typedef /* [v1_enum] */
- enum tag_WBEM_COMPILER_OPTIONS
- { WBEM_FLAG_CHECK_ONLY = 0x1,
- WBEM_FLAG_AUTORECOVER = 0x2,
- WBEM_FLAG_WMI_CHECK = 0x4,
- WBEM_FLAG_CONSOLE_PRINT = 0x8,
- WBEM_FLAG_DONT_ADD_TO_LIST = 0x10,
- WBEM_FLAG_SPLIT_FILES = 0x20
- } WBEM_COMPILER_OPTIONS;
- typedef /* [v1_enum] */
- enum tag_WBEM_CONNECT_OPTIONS
- { WBEM_FLAG_CONNECT_REPOSITORY_ONLY = 0x40,
- WBEM_FLAG_CONNECT_USE_MAX_WAIT = 0x80
- } WBEM_CONNECT_OPTIONS;
- extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0122_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0122_v0_0_s_ifspec;
- #ifndef __IMofCompiler_INTERFACE_DEFINED__
- #define __IMofCompiler_INTERFACE_DEFINED__
- /* interface IMofCompiler */
- /* [uuid][object][local] */
- EXTERN_C const IID IID_IMofCompiler;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6daf974e-2e37-11d2-aec9-00c04fb68820")
- IMofCompiler : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CompileFile(
- /* [string][in] */ LPWSTR FileName,
- /* [string][in] */ LPWSTR ServerAndNamespace,
- /* [string][in] */ LPWSTR User,
- /* [string][in] */ LPWSTR Authority,
- /* [string][in] */ LPWSTR Password,
- /* [in] */ LONG lOptionFlags,
- /* [in] */ LONG lClassFlags,
- /* [in] */ LONG lInstanceFlags,
- /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CompileBuffer(
- /* [in] */ long BuffSize,
- /* [size_is][in] */ BYTE *pBuffer,
- /* [string][in] */ LPWSTR ServerAndNamespace,
- /* [string][in] */ LPWSTR User,
- /* [string][in] */ LPWSTR Authority,
- /* [string][in] */ LPWSTR Password,
- /* [in] */ LONG lOptionFlags,
- /* [in] */ LONG lClassFlags,
- /* [in] */ LONG lInstanceFlags,
- /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE CreateBMOF(
- /* [string][in] */ LPWSTR TextFileName,
- /* [string][in] */ LPWSTR BMOFFileName,
- /* [string][in] */ LPWSTR ServerAndNamespace,
- /* [in] */ LONG lOptionFlags,
- /* [in] */ LONG lClassFlags,
- /* [in] */ LONG lInstanceFlags,
- /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IMofCompilerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IMofCompiler * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IMofCompiler * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IMofCompiler * This);
-
- HRESULT ( STDMETHODCALLTYPE *CompileFile )(
- IMofCompiler * This,
- /* [string][in] */ LPWSTR FileName,
- /* [string][in] */ LPWSTR ServerAndNamespace,
- /* [string][in] */ LPWSTR User,
- /* [string][in] */ LPWSTR Authority,
- /* [string][in] */ LPWSTR Password,
- /* [in] */ LONG lOptionFlags,
- /* [in] */ LONG lClassFlags,
- /* [in] */ LONG lInstanceFlags,
- /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
-
- HRESULT ( STDMETHODCALLTYPE *CompileBuffer )(
- IMofCompiler * This,
- /* [in] */ long BuffSize,
- /* [size_is][in] */ BYTE *pBuffer,
- /* [string][in] */ LPWSTR ServerAndNamespace,
- /* [string][in] */ LPWSTR User,
- /* [string][in] */ LPWSTR Authority,
- /* [string][in] */ LPWSTR Password,
- /* [in] */ LONG lOptionFlags,
- /* [in] */ LONG lClassFlags,
- /* [in] */ LONG lInstanceFlags,
- /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
-
- HRESULT ( STDMETHODCALLTYPE *CreateBMOF )(
- IMofCompiler * This,
- /* [string][in] */ LPWSTR TextFileName,
- /* [string][in] */ LPWSTR BMOFFileName,
- /* [string][in] */ LPWSTR ServerAndNamespace,
- /* [in] */ LONG lOptionFlags,
- /* [in] */ LONG lClassFlags,
- /* [in] */ LONG lInstanceFlags,
- /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
-
- END_INTERFACE
- } IMofCompilerVtbl;
- interface IMofCompiler
- {
- CONST_VTBL struct IMofCompilerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IMofCompiler_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IMofCompiler_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IMofCompiler_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IMofCompiler_CompileFile(This,FileName,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo)
- (This)->lpVtbl -> CompileFile(This,FileName,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo)
- #define IMofCompiler_CompileBuffer(This,BuffSize,pBuffer,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo)
- (This)->lpVtbl -> CompileBuffer(This,BuffSize,pBuffer,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo)
- #define IMofCompiler_CreateBMOF(This,TextFileName,BMOFFileName,ServerAndNamespace,lOptionFlags,lClassFlags,lInstanceFlags,pInfo)
- (This)->lpVtbl -> CreateBMOF(This,TextFileName,BMOFFileName,ServerAndNamespace,lOptionFlags,lClassFlags,lInstanceFlags,pInfo)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IMofCompiler_CompileFile_Proxy(
- IMofCompiler * This,
- /* [string][in] */ LPWSTR FileName,
- /* [string][in] */ LPWSTR ServerAndNamespace,
- /* [string][in] */ LPWSTR User,
- /* [string][in] */ LPWSTR Authority,
- /* [string][in] */ LPWSTR Password,
- /* [in] */ LONG lOptionFlags,
- /* [in] */ LONG lClassFlags,
- /* [in] */ LONG lInstanceFlags,
- /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
- void __RPC_STUB IMofCompiler_CompileFile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMofCompiler_CompileBuffer_Proxy(
- IMofCompiler * This,
- /* [in] */ long BuffSize,
- /* [size_is][in] */ BYTE *pBuffer,
- /* [string][in] */ LPWSTR ServerAndNamespace,
- /* [string][in] */ LPWSTR User,
- /* [string][in] */ LPWSTR Authority,
- /* [string][in] */ LPWSTR Password,
- /* [in] */ LONG lOptionFlags,
- /* [in] */ LONG lClassFlags,
- /* [in] */ LONG lInstanceFlags,
- /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
- void __RPC_STUB IMofCompiler_CompileBuffer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IMofCompiler_CreateBMOF_Proxy(
- IMofCompiler * This,
- /* [string][in] */ LPWSTR TextFileName,
- /* [string][in] */ LPWSTR BMOFFileName,
- /* [string][in] */ LPWSTR ServerAndNamespace,
- /* [in] */ LONG lOptionFlags,
- /* [in] */ LONG lClassFlags,
- /* [in] */ LONG lInstanceFlags,
- /* [out][in] */ WBEM_COMPILE_STATUS_INFO *pInfo);
- void __RPC_STUB IMofCompiler_CreateBMOF_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IMofCompiler_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_wbemcli_0124 */
- /* [local] */
- typedef /* [v1_enum] */
- enum tag_WBEM_INFORMATION_FLAG_TYPE
- { WBEM_FLAG_SHORT_NAME = 0x1,
- WBEM_FLAG_LONG_NAME = 0x2
- } WBEM_INFORMATION_FLAG_TYPE;
- extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0124_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0124_v0_0_s_ifspec;
- /* Additional Prototypes for ALL interfaces */
- unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
- unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
- unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
- void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif