/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 6.00.0361 */ /* Compiler settings for wmsbuffer.idl: Oicf, W1, Zp8, env=Win32 (32b run) protocol : dce , ms_ext, c_ext, robust error checks: allocation ref bounds_check enum stub_data VC __declspec() decoration level: __declspec(uuid()), __declspec(selectany), __declspec(novtable) DECLSPEC_UUID(), MIDL_INTERFACE() */ //@@MIDL_FILE_HEADING( ) #pragma warning( disable: 4049 ) /* more than 64k source lines */ /* verify that the version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 475 #endif #include "rpc.h" #include "rpcndr.h" #ifndef __RPCNDR_H_VERSION__ #error this stub requires an updated version of #endif // __RPCNDR_H_VERSION__ #ifndef COM_NO_WINDOWS_H #include "windows.h" #include "ole2.h" #endif /*COM_NO_WINDOWS_H*/ #ifndef __wmsbuffer_h__ #define __wmsbuffer_h__ #if defined(_MSC_VER) && (_MSC_VER >= 1020) #pragma once #endif /* Forward Declarations */ #ifndef __INSSBuffer_FWD_DEFINED__ #define __INSSBuffer_FWD_DEFINED__ typedef interface INSSBuffer INSSBuffer; #endif /* __INSSBuffer_FWD_DEFINED__ */ #ifndef __IWMSBufferAllocator_FWD_DEFINED__ #define __IWMSBufferAllocator_FWD_DEFINED__ typedef interface IWMSBufferAllocator IWMSBufferAllocator; #endif /* __IWMSBufferAllocator_FWD_DEFINED__ */ /* header files for imported files */ #include "objidl.h" #ifdef __cplusplus extern "C"{ #endif void * __RPC_USER MIDL_user_allocate(size_t); void __RPC_USER MIDL_user_free( void * ); /* interface __MIDL_itf_wmsbuffer_0000 */ /* [local] */ //***************************************************************************** // // Microsoft Windows Media // Copyright (C) Microsoft Corporation. All rights reserved. // // Automatically generated by Midl from wmsbuffer.idl // // DO NOT EDIT THIS FILE. // //***************************************************************************** #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 EXTERN_GUID( IID_INSSBuffer, 0xE1CD3524,0x03D7,0x11d2,0x9E,0xED,0x00,0x60,0x97,0xD2,0xD7,0xCF ); EXTERN_GUID( IID_IWMSBuffer, 0xE1CD3524,0x03D7,0x11d2,0x9E,0xED,0x00,0x60,0x97,0xD2,0xD7,0xCF ); EXTERN_GUID( IID_IWMSBufferAllocator, 0x61103CA4,0x2033,0x11d2,0x9E,0xF1,0x00,0x60,0x97,0xD2,0xD7,0xCF ); #define IWMSBuffer INSSBuffer extern RPC_IF_HANDLE __MIDL_itf_wmsbuffer_0000_v0_0_c_ifspec; extern RPC_IF_HANDLE __MIDL_itf_wmsbuffer_0000_v0_0_s_ifspec; #ifndef __INSSBuffer_INTERFACE_DEFINED__ #define __INSSBuffer_INTERFACE_DEFINED__ /* interface INSSBuffer */ /* [helpstring][version][uuid][unique][object][local] */ EXTERN_C const IID IID_INSSBuffer; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("E1CD3524-03D7-11d2-9EED-006097D2D7CF") INSSBuffer : public IUnknown { public: virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLength( /* [out] */ DWORD *pdwLength) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetLength( /* [in] */ DWORD dwLength) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetMaxLength( /* [out] */ DWORD *pdwLength) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetBuffer( /* [out] */ BYTE **ppbBuffer) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetBufferAndLength( /* [out] */ BYTE **ppbBuffer, /* [out] */ DWORD *pdwLength) = 0; }; #else /* C style interface */ typedef struct INSSBufferVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( INSSBuffer * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( INSSBuffer * This); ULONG ( STDMETHODCALLTYPE *Release )( INSSBuffer * This); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLength )( INSSBuffer * This, /* [out] */ DWORD *pdwLength); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetLength )( INSSBuffer * This, /* [in] */ DWORD dwLength); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetMaxLength )( INSSBuffer * This, /* [out] */ DWORD *pdwLength); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetBuffer )( INSSBuffer * This, /* [out] */ BYTE **ppbBuffer); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetBufferAndLength )( INSSBuffer * This, /* [out] */ BYTE **ppbBuffer, /* [out] */ DWORD *pdwLength); END_INTERFACE } INSSBufferVtbl; interface INSSBuffer { CONST_VTBL struct INSSBufferVtbl *lpVtbl; }; #ifdef COBJMACROS #define INSSBuffer_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define INSSBuffer_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define INSSBuffer_Release(This) \ (This)->lpVtbl -> Release(This) #define INSSBuffer_GetLength(This,pdwLength) \ (This)->lpVtbl -> GetLength(This,pdwLength) #define INSSBuffer_SetLength(This,dwLength) \ (This)->lpVtbl -> SetLength(This,dwLength) #define INSSBuffer_GetMaxLength(This,pdwLength) \ (This)->lpVtbl -> GetMaxLength(This,pdwLength) #define INSSBuffer_GetBuffer(This,ppbBuffer) \ (This)->lpVtbl -> GetBuffer(This,ppbBuffer) #define INSSBuffer_GetBufferAndLength(This,ppbBuffer,pdwLength) \ (This)->lpVtbl -> GetBufferAndLength(This,ppbBuffer,pdwLength) #endif /* COBJMACROS */ #endif /* C style interface */ /* [helpstring] */ HRESULT STDMETHODCALLTYPE INSSBuffer_GetLength_Proxy( INSSBuffer * This, /* [out] */ DWORD *pdwLength); void __RPC_STUB INSSBuffer_GetLength_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE INSSBuffer_SetLength_Proxy( INSSBuffer * This, /* [in] */ DWORD dwLength); void __RPC_STUB INSSBuffer_SetLength_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE INSSBuffer_GetMaxLength_Proxy( INSSBuffer * This, /* [out] */ DWORD *pdwLength); void __RPC_STUB INSSBuffer_GetMaxLength_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE INSSBuffer_GetBuffer_Proxy( INSSBuffer * This, /* [out] */ BYTE **ppbBuffer); void __RPC_STUB INSSBuffer_GetBuffer_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE INSSBuffer_GetBufferAndLength_Proxy( INSSBuffer * This, /* [out] */ BYTE **ppbBuffer, /* [out] */ DWORD *pdwLength); void __RPC_STUB INSSBuffer_GetBufferAndLength_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __INSSBuffer_INTERFACE_DEFINED__ */ #ifndef __IWMSBufferAllocator_INTERFACE_DEFINED__ #define __IWMSBufferAllocator_INTERFACE_DEFINED__ /* interface IWMSBufferAllocator */ /* [helpstring][version][uuid][unique][object][local] */ EXTERN_C const IID IID_IWMSBufferAllocator; #if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("61103CA4-2033-11d2-9EF1-006097D2D7CF") IWMSBufferAllocator : public IUnknown { public: virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AllocateBuffer( /* [in] */ DWORD dwMaxBufferSize, /* [out] */ INSSBuffer **ppBuffer) = 0; virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AllocatePageSizeBuffer( /* [in] */ DWORD dwMaxBufferSize, /* [out] */ INSSBuffer **ppBuffer) = 0; }; #else /* C style interface */ typedef struct IWMSBufferAllocatorVtbl { BEGIN_INTERFACE HRESULT ( STDMETHODCALLTYPE *QueryInterface )( IWMSBufferAllocator * This, /* [in] */ REFIID riid, /* [iid_is][out] */ void **ppvObject); ULONG ( STDMETHODCALLTYPE *AddRef )( IWMSBufferAllocator * This); ULONG ( STDMETHODCALLTYPE *Release )( IWMSBufferAllocator * This); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AllocateBuffer )( IWMSBufferAllocator * This, /* [in] */ DWORD dwMaxBufferSize, /* [out] */ INSSBuffer **ppBuffer); /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AllocatePageSizeBuffer )( IWMSBufferAllocator * This, /* [in] */ DWORD dwMaxBufferSize, /* [out] */ INSSBuffer **ppBuffer); END_INTERFACE } IWMSBufferAllocatorVtbl; interface IWMSBufferAllocator { CONST_VTBL struct IWMSBufferAllocatorVtbl *lpVtbl; }; #ifdef COBJMACROS #define IWMSBufferAllocator_QueryInterface(This,riid,ppvObject) \ (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) #define IWMSBufferAllocator_AddRef(This) \ (This)->lpVtbl -> AddRef(This) #define IWMSBufferAllocator_Release(This) \ (This)->lpVtbl -> Release(This) #define IWMSBufferAllocator_AllocateBuffer(This,dwMaxBufferSize,ppBuffer) \ (This)->lpVtbl -> AllocateBuffer(This,dwMaxBufferSize,ppBuffer) #define IWMSBufferAllocator_AllocatePageSizeBuffer(This,dwMaxBufferSize,ppBuffer) \ (This)->lpVtbl -> AllocatePageSizeBuffer(This,dwMaxBufferSize,ppBuffer) #endif /* COBJMACROS */ #endif /* C style interface */ /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSBufferAllocator_AllocateBuffer_Proxy( IWMSBufferAllocator * This, /* [in] */ DWORD dwMaxBufferSize, /* [out] */ INSSBuffer **ppBuffer); void __RPC_STUB IWMSBufferAllocator_AllocateBuffer_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSBufferAllocator_AllocatePageSizeBuffer_Proxy( IWMSBufferAllocator * This, /* [in] */ DWORD dwMaxBufferSize, /* [out] */ INSSBuffer **ppBuffer); void __RPC_STUB IWMSBufferAllocator_AllocatePageSizeBuffer_Stub( IRpcStubBuffer *This, IRpcChannelBuffer *_pRpcChannelBuffer, PRPC_MESSAGE _pRpcMessage, DWORD *_pdwStubPhase); #endif /* __IWMSBufferAllocator_INTERFACE_DEFINED__ */ /* Additional Prototypes for ALL interfaces */ /* end of Additional Prototypes */ #ifdef __cplusplus } #endif #endif