📄 mavspi.h
字号:
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IWMDMDevice __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
IWMDMDevice __RPC_FAR * This,
/* [size_is][string][out] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetManufacturer )(
IWMDMDevice __RPC_FAR * This,
/* [size_is][string][out] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetVersion )(
IWMDMDevice __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwVersion);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetType )(
IWMDMDevice __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwType);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSerialNumber )(
IWMDMDevice __RPC_FAR * This,
/* [out] */ PWMDMID pSerialNumber,
/* [out][in] */ BYTE __RPC_FAR abMac[ 8 ]);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPowerSource )(
IWMDMDevice __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwPowerSource,
/* [out] */ DWORD __RPC_FAR *pdwPercentRemaining);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStatus )(
IWMDMDevice __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwStatus);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDeviceIcon )(
IWMDMDevice __RPC_FAR * This,
/* [out] */ ULONG __RPC_FAR *hIcon);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnumStorage )(
IWMDMDevice __RPC_FAR * This,
/* [out] */ IWMDMEnumStorage __RPC_FAR *__RPC_FAR *ppEnumStorage);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFormatSupport )(
IWMDMDevice __RPC_FAR * This,
/* [size_is][size_is][out] */ _WAVEFORMATEX __RPC_FAR *__RPC_FAR *ppFormatEx,
/* [out] */ UINT __RPC_FAR *pnFormatCount,
/* [size_is][size_is][out] */ LPWSTR __RPC_FAR *__RPC_FAR *pppwszMimeType,
/* [out] */ UINT __RPC_FAR *pnMimeTypeCount);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SendOpaqueCommand )(
IWMDMDevice __RPC_FAR * This,
/* [out][in] */ OPAQUECOMMAND __RPC_FAR *pCommand);
END_INTERFACE
} IWMDMDeviceVtbl;
interface IWMDMDevice
{
CONST_VTBL struct IWMDMDeviceVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IWMDMDevice_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IWMDMDevice_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IWMDMDevice_Release(This) \
(This)->lpVtbl -> Release(This)
#define IWMDMDevice_GetName(This,pwszName,nMaxChars) \
(This)->lpVtbl -> GetName(This,pwszName,nMaxChars)
#define IWMDMDevice_GetManufacturer(This,pwszName,nMaxChars) \
(This)->lpVtbl -> GetManufacturer(This,pwszName,nMaxChars)
#define IWMDMDevice_GetVersion(This,pdwVersion) \
(This)->lpVtbl -> GetVersion(This,pdwVersion)
#define IWMDMDevice_GetType(This,pdwType) \
(This)->lpVtbl -> GetType(This,pdwType)
#define IWMDMDevice_GetSerialNumber(This,pSerialNumber,abMac) \
(This)->lpVtbl -> GetSerialNumber(This,pSerialNumber,abMac)
#define IWMDMDevice_GetPowerSource(This,pdwPowerSource,pdwPercentRemaining) \
(This)->lpVtbl -> GetPowerSource(This,pdwPowerSource,pdwPercentRemaining)
#define IWMDMDevice_GetStatus(This,pdwStatus) \
(This)->lpVtbl -> GetStatus(This,pdwStatus)
#define IWMDMDevice_GetDeviceIcon(This,hIcon) \
(This)->lpVtbl -> GetDeviceIcon(This,hIcon)
#define IWMDMDevice_EnumStorage(This,ppEnumStorage) \
(This)->lpVtbl -> EnumStorage(This,ppEnumStorage)
#define IWMDMDevice_GetFormatSupport(This,ppFormatEx,pnFormatCount,pppwszMimeType,pnMimeTypeCount) \
(This)->lpVtbl -> GetFormatSupport(This,ppFormatEx,pnFormatCount,pppwszMimeType,pnMimeTypeCount)
#define IWMDMDevice_SendOpaqueCommand(This,pCommand) \
(This)->lpVtbl -> SendOpaqueCommand(This,pCommand)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IWMDMDevice_GetName_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [size_is][string][out] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars);
void __RPC_STUB IWMDMDevice_GetName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMDevice_GetManufacturer_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [size_is][string][out] */ LPWSTR pwszName,
/* [in] */ UINT nMaxChars);
void __RPC_STUB IWMDMDevice_GetManufacturer_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMDevice_GetVersion_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwVersion);
void __RPC_STUB IWMDMDevice_GetVersion_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMDevice_GetType_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwType);
void __RPC_STUB IWMDMDevice_GetType_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMDevice_GetSerialNumber_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [out] */ PWMDMID pSerialNumber,
/* [out][in] */ BYTE __RPC_FAR abMac[ 8 ]);
void __RPC_STUB IWMDMDevice_GetSerialNumber_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMDevice_GetPowerSource_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwPowerSource,
/* [out] */ DWORD __RPC_FAR *pdwPercentRemaining);
void __RPC_STUB IWMDMDevice_GetPowerSource_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMDevice_GetStatus_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [out] */ DWORD __RPC_FAR *pdwStatus);
void __RPC_STUB IWMDMDevice_GetStatus_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMDevice_GetDeviceIcon_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [out] */ ULONG __RPC_FAR *hIcon);
void __RPC_STUB IWMDMDevice_GetDeviceIcon_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMDevice_EnumStorage_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [out] */ IWMDMEnumStorage __RPC_FAR *__RPC_FAR *ppEnumStorage);
void __RPC_STUB IWMDMDevice_EnumStorage_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMDevice_GetFormatSupport_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [size_is][size_is][out] */ _WAVEFORMATEX __RPC_FAR *__RPC_FAR *ppFormatEx,
/* [out] */ UINT __RPC_FAR *pnFormatCount,
/* [size_is][size_is][out] */ LPWSTR __RPC_FAR *__RPC_FAR *pppwszMimeType,
/* [out] */ UINT __RPC_FAR *pnMimeTypeCount);
void __RPC_STUB IWMDMDevice_GetFormatSupport_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMDevice_SendOpaqueCommand_Proxy(
IWMDMDevice __RPC_FAR * This,
/* [out][in] */ OPAQUECOMMAND __RPC_FAR *pCommand);
void __RPC_STUB IWMDMDevice_SendOpaqueCommand_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IWMDMDevice_INTERFACE_DEFINED__ */
#ifndef __IWMDMEnumDevice_INTERFACE_DEFINED__
#define __IWMDMEnumDevice_INTERFACE_DEFINED__
/* interface IWMDMEnumDevice */
/* [unique][uuid][object] */
EXTERN_C const IID IID_IWMDMEnumDevice;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1DCB3A01-33ED-11d3-8470-00C04F79DBC0")
IWMDMEnumDevice : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE Next(
/* [in] */ ULONG celt,
/* [length_is][size_is][out] */ IWMDMDevice __RPC_FAR *__RPC_FAR *ppDevice,
/* [out] */ ULONG __RPC_FAR *pceltFetched) = 0;
virtual HRESULT STDMETHODCALLTYPE Skip(
/* [in] */ ULONG celt,
/* [out] */ ULONG __RPC_FAR *pceltFetched) = 0;
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
virtual HRESULT STDMETHODCALLTYPE Clone(
/* [out] */ IWMDMEnumDevice __RPC_FAR *__RPC_FAR *ppEnumDevice) = 0;
};
#else /* C style interface */
typedef struct IWMDMEnumDeviceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IWMDMEnumDevice __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IWMDMEnumDevice __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IWMDMEnumDevice __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Next )(
IWMDMEnumDevice __RPC_FAR * This,
/* [in] */ ULONG celt,
/* [length_is][size_is][out] */ IWMDMDevice __RPC_FAR *__RPC_FAR *ppDevice,
/* [out] */ ULONG __RPC_FAR *pceltFetched);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Skip )(
IWMDMEnumDevice __RPC_FAR * This,
/* [in] */ ULONG celt,
/* [out] */ ULONG __RPC_FAR *pceltFetched);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
IWMDMEnumDevice __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Clone )(
IWMDMEnumDevice __RPC_FAR * This,
/* [out] */ IWMDMEnumDevice __RPC_FAR *__RPC_FAR *ppEnumDevice);
END_INTERFACE
} IWMDMEnumDeviceVtbl;
interface IWMDMEnumDevice
{
CONST_VTBL struct IWMDMEnumDeviceVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IWMDMEnumDevice_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IWMDMEnumDevice_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IWMDMEnumDevice_Release(This) \
(This)->lpVtbl -> Release(This)
#define IWMDMEnumDevice_Next(This,celt,ppDevice,pceltFetched) \
(This)->lpVtbl -> Next(This,celt,ppDevice,pceltFetched)
#define IWMDMEnumDevice_Skip(This,celt,pceltFetched) \
(This)->lpVtbl -> Skip(This,celt,pceltFetched)
#define IWMDMEnumDevice_Reset(This) \
(This)->lpVtbl -> Reset(This)
#define IWMDMEnumDevice_Clone(This,ppEnumDevice) \
(This)->lpVtbl -> Clone(This,ppEnumDevice)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IWMDMEnumDevice_Next_Proxy(
IWMDMEnumDevice __RPC_FAR * This,
/* [in] */ ULONG celt,
/* [length_is][size_is][out] */ IWMDMDevice __RPC_FAR *__RPC_FAR *ppDevice,
/* [out] */ ULONG __RPC_FAR *pceltFetched);
void __RPC_STUB IWMDMEnumDevice_Next_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMDMEnumDevice_Skip_Proxy(
IWMDMEnumDevice __RPC_FAR * This,
/* [in] */ ULONG celt,
/* [out] */ ULONG __RPC_FAR *pceltFetched);
void __RPC_STUB IWMDMEnumDevice_Skip_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDME
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -