📄 mavspi.h
字号:
#endif /* __IWMDMStorageGlobals_INTERFACE_DEFINED__ */
#ifndef __IWMDMStorage_INTERFACE_DEFINED__
#define __IWMDMStorage_INTERFACE_DEFINED__
/* interface IWMDMStorage */
/* [unique][uuid][object] */
EXTERN_C const IID IID_IWMDMStorage;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1DCB3A06-33ED-11d3-8470-00C04F79DBC0")
IWMDMStorage : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE SetAttributes(
/* [in] */ DWORD dwAttributes,
/* [in] */ _WAVEFORMATEX __RPC_FAR *pFormat) = 0;
virtual HRESULT STDMETHODCALLTYPE GetStorageGlobals(
/* [out] */ IWMDMStorageGlobals __RPC_FAR *__RPC_FAR *ppStorageGlobals) = 0;
virtual HRESULT STDMETHODCALLTYPE GetAttributes(
/* [out] */ DWORD __RPC_FAR *pdwAttributes,
/* [out] */ _WAVEFORMATEX __RPC_FAR *pFormat) = 0;
virtual HRESULT STDMETHODCALLTYPE GetName(
/* [size_is][string][out] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDate(
/* [out] */ PWMDMDATETIME pDateTimeUTC) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSize(
/* [out] */ DWORD __RPC_FAR *pdwSizeLow,
/* [out] */ DWORD __RPC_FAR *pdwSizeHigh) = 0;
virtual HRESULT STDMETHODCALLTYPE GetRights(
/* [size_is][size_is][out] */ PWMDMRIGHTS __RPC_FAR *ppRights,
/* [out] */ UINT __RPC_FAR *pnRightsCount,
/* [out][in] */ BYTE __RPC_FAR abMac[ 8 ]) = 0;
virtual HRESULT STDMETHODCALLTYPE EnumStorage(
/* [out] */ IWMDMEnumStorage __RPC_FAR *__RPC_FAR *pEnumStorage) = 0;
virtual HRESULT STDMETHODCALLTYPE SendOpaqueCommand(
/* [out][in] */ OPAQUECOMMAND __RPC_FAR *pCommand) = 0;
};
#else /* C style interface */
typedef struct IWMDMStorageVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IWMDMStorage __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IWMDMStorage __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IWMDMStorage __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAttributes )(
IWMDMStorage __RPC_FAR * This,
/* [in] */ DWORD dwAttributes,
/* [in] */ _WAVEFORMATEX __RPC_FAR *pFormat);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStorageGlobals )(
IWMDMStorage __RPC_FAR * This,
/* [out] */ IWMDMStorageGlobals __RPC_FAR *__RPC_FAR *ppStorageGlobals);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAttributes )(
IWMDMStorage __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwAttributes,
/* [out] */ _WAVEFORMATEX __RPC_FAR *pFormat);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
IWMDMStorage __RPC_FAR * This,
/* [size_is][string][out] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDate )(
IWMDMStorage __RPC_FAR * This,
/* [out] */ PWMDMDATETIME pDateTimeUTC);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
IWMDMStorage __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwSizeLow,
/* [out] */ DWORD __RPC_FAR *pdwSizeHigh);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRights )(
IWMDMStorage __RPC_FAR * This,
/* [size_is][size_is][out] */ PWMDMRIGHTS __RPC_FAR *ppRights,
/* [out] */ UINT __RPC_FAR *pnRightsCount,
/* [out][in] */ BYTE __RPC_FAR abMac[ 8 ]);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumStorage )(
IWMDMStorage __RPC_FAR * This,
/* [out] */ IWMDMEnumStorage __RPC_FAR *__RPC_FAR *pEnumStorage);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendOpaqueCommand )(
IWMDMStorage __RPC_FAR * This,
/* [out][in] */ OPAQUECOMMAND __RPC_FAR *pCommand);
END_INTERFACE
} IWMDMStorageVtbl;
interface IWMDMStorage
{
CONST_VTBL struct IWMDMStorageVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IWMDMStorage_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IWMDMStorage_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IWMDMStorage_Release(This) \
(This)->lpVtbl -> Release(This)
#define IWMDMStorage_SetAttributes(This,dwAttributes,pFormat) \
(This)->lpVtbl -> SetAttributes(This,dwAttributes,pFormat)
#define IWMDMStorage_GetStorageGlobals(This,ppStorageGlobals) \
(This)->lpVtbl -> GetStorageGlobals(This,ppStorageGlobals)
#define IWMDMStorage_GetAttributes(This,pdwAttributes,pFormat) \
(This)->lpVtbl -> GetAttributes(This,pdwAttributes,pFormat)
#define IWMDMStorage_GetName(This,pwszName,nMaxChars) \
(This)->lpVtbl -> GetName(This,pwszName,nMaxChars)
#define IWMDMStorage_GetDate(This,pDateTimeUTC) \
(This)->lpVtbl -> GetDate(This,pDateTimeUTC)
#define IWMDMStorage_GetSize(This,pdwSizeLow,pdwSizeHigh) \
(This)->lpVtbl -> GetSize(This,pdwSizeLow,pdwSizeHigh)
#define IWMDMStorage_GetRights(This,ppRights,pnRightsCount,abMac) \
(This)->lpVtbl -> GetRights(This,ppRights,pnRightsCount,abMac)
#define IWMDMStorage_EnumStorage(This,pEnumStorage) \
(This)->lpVtbl -> EnumStorage(This,pEnumStorage)
#define IWMDMStorage_SendOpaqueCommand(This,pCommand) \
(This)->lpVtbl -> SendOpaqueCommand(This,pCommand)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IWMDMStorage_SetAttributes_Proxy(
IWMDMStorage __RPC_FAR * This,
/* [in] */ DWORD dwAttributes,
/* [in] */ _WAVEFORMATEX __RPC_FAR *pFormat);
void __RPC_STUB IWMDMStorage_SetAttributes_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMStorage_GetStorageGlobals_Proxy(
IWMDMStorage __RPC_FAR * This,
/* [out] */ IWMDMStorageGlobals __RPC_FAR *__RPC_FAR *ppStorageGlobals);
void __RPC_STUB IWMDMStorage_GetStorageGlobals_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMStorage_GetAttributes_Proxy(
IWMDMStorage __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwAttributes,
/* [out] */ _WAVEFORMATEX __RPC_FAR *pFormat);
void __RPC_STUB IWMDMStorage_GetAttributes_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMStorage_GetName_Proxy(
IWMDMStorage __RPC_FAR * This,
/* [size_is][string][out] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars);
void __RPC_STUB IWMDMStorage_GetName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMStorage_GetDate_Proxy(
IWMDMStorage __RPC_FAR * This,
/* [out] */ PWMDMDATETIME pDateTimeUTC);
void __RPC_STUB IWMDMStorage_GetDate_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMStorage_GetSize_Proxy(
IWMDMStorage __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwSizeLow,
/* [out] */ DWORD __RPC_FAR *pdwSizeHigh);
void __RPC_STUB IWMDMStorage_GetSize_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMStorage_GetRights_Proxy(
IWMDMStorage __RPC_FAR * This,
/* [size_is][size_is][out] */ PWMDMRIGHTS __RPC_FAR *ppRights,
/* [out] */ UINT __RPC_FAR *pnRightsCount,
/* [out][in] */ BYTE __RPC_FAR abMac[ 8 ]);
void __RPC_STUB IWMDMStorage_GetRights_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMStorage_EnumStorage_Proxy(
IWMDMStorage __RPC_FAR * This,
/* [out] */ IWMDMEnumStorage __RPC_FAR *__RPC_FAR *pEnumStorage);
void __RPC_STUB IWMDMStorage_EnumStorage_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMStorage_SendOpaqueCommand_Proxy(
IWMDMStorage __RPC_FAR * This,
/* [out][in] */ OPAQUECOMMAND __RPC_FAR *pCommand);
void __RPC_STUB IWMDMStorage_SendOpaqueCommand_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IWMDMStorage_INTERFACE_DEFINED__ */
#ifndef __IWMDMOperation_INTERFACE_DEFINED__
#define __IWMDMOperation_INTERFACE_DEFINED__
/* interface IWMDMOperation */
/* [unique][uuid][object] */
EXTERN_C const IID IID_IWMDMOperation;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1DCB3A0B-33ED-11d3-8470-00C04F79DBC0")
IWMDMOperation : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE BeginRead( void) = 0;
virtual HRESULT STDMETHODCALLTYPE BeginWrite( void) = 0;
virtual HRESULT STDMETHODCALLTYPE GetObjectName(
/* [size_is][string][out] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars) = 0;
virtual HRESULT STDMETHODCALLTYPE SetObjectName(
/* [size_is][string][in] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars) = 0;
virtual HRESULT STDMETHODCALLTYPE GetObjectAttributes(
/* [out] */ DWORD __RPC_FAR *pdwAttributes,
/* [out] */ _WAVEFORMATEX __RPC_FAR *pFormat) = 0;
virtual HRESULT STDMETHODCALLTYPE SetObjectAttributes(
/* [in] */ DWORD dwAttributes,
/* [in] */ _WAVEFORMATEX __RPC_FAR *pFormat) = 0;
virtual HRESULT STDMETHODCALLTYPE GetObjectTotalSize(
/* [out] */ DWORD __RPC_FAR *pdwSize,
/* [out] */ DWORD __RPC_FAR *pdwSizeHigh) = 0;
virtual HRESULT STDMETHODCALLTYPE SetObjectTotalSize(
/* [in] */ DWORD dwSize,
/* [in] */ DWORD dwSizeHigh) = 0;
virtual HRESULT STDMETHODCALLTYPE TransferObjectData(
/* [size_is][out][in] */ BYTE __RPC_FAR *pData,
/* [out][in] */ DWORD __RPC_FAR *pdwSize,
/* [out][in] */ BYTE __RPC_FAR abMac[ 8 ]) = 0;
virtual HRESULT STDMETHODCALLTYPE End(
/* [in] */ HRESULT __RPC_FAR *phCompletionCode,
/* [in] */ IUnknown __RPC_FAR *pNewObject) = 0;
};
#else /* C style interface */
typedef struct IWMDMOperationVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IWMDMOperation __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IWMDMOperation __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IWMDMOperation __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginRead )(
IWMDMOperation __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginWrite )(
IWMDMOperation __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectName )(
IWMDMOperation __RPC_FAR * This,
/* [size_is][string][out] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetObjectName )(
IWMDMOperation __RPC_FAR * This,
/* [size_is][string][in] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectAttributes )(
IWMDMOperation __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwAttributes,
/* [out] */ _WAVEFORMATEX __RPC_FAR *pFormat);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetObjectAttributes )(
IWMDMOperation __RPC_FAR * This,
/* [in] */ DWORD dwAttributes,
/* [in] */ _WAVEFORMATEX __RPC_FAR *pFormat);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetObjectTotalSize )(
IWMDMOperation __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwSize,
/* [out] */ DWORD __RPC_FAR *pdwSizeHigh);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetObjectTotalSize )(
IWMDMOperation __RPC_FAR * This,
/* [in] */ DWORD dwSize,
/* [in] */ DWORD dwSizeHigh);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TransferObjectData )(
IWMDMOperation __RPC_FAR * This,
/* [size_is][out][in] */ BYTE __RPC_FAR *pData,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -