[1166] | 1 | /*** Autogenerated by WIDL 6.4 from include/wmsbuffer.idl - Do not edit ***/
|
---|
| 2 |
|
---|
| 3 | #ifdef _WIN32
|
---|
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__
|
---|
| 5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475
|
---|
| 6 | #endif
|
---|
| 7 | #include <rpc.h>
|
---|
| 8 | #include <rpcndr.h>
|
---|
| 9 | #endif
|
---|
| 10 |
|
---|
| 11 | #ifndef COM_NO_WINDOWS_H
|
---|
| 12 | #include <windows.h>
|
---|
| 13 | #include <ole2.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
| 16 | #ifndef __wmsbuffer_h__
|
---|
| 17 | #define __wmsbuffer_h__
|
---|
| 18 |
|
---|
| 19 | /* Forward declarations */
|
---|
| 20 |
|
---|
| 21 | #ifndef __INSSBuffer_FWD_DEFINED__
|
---|
| 22 | #define __INSSBuffer_FWD_DEFINED__
|
---|
| 23 | typedef interface INSSBuffer INSSBuffer;
|
---|
| 24 | #ifdef __cplusplus
|
---|
| 25 | interface INSSBuffer;
|
---|
| 26 | #endif /* __cplusplus */
|
---|
| 27 | #endif
|
---|
| 28 |
|
---|
| 29 | /* Headers for imported files */
|
---|
| 30 |
|
---|
| 31 | #include <objidl.h>
|
---|
| 32 |
|
---|
| 33 | #ifdef __cplusplus
|
---|
| 34 | extern "C" {
|
---|
| 35 | #endif
|
---|
| 36 |
|
---|
| 37 | /*****************************************************************************
|
---|
| 38 | * INSSBuffer interface
|
---|
| 39 | */
|
---|
| 40 | #ifndef __INSSBuffer_INTERFACE_DEFINED__
|
---|
| 41 | #define __INSSBuffer_INTERFACE_DEFINED__
|
---|
| 42 |
|
---|
| 43 | DEFINE_GUID(IID_INSSBuffer, 0xe1cd3524, 0x03d7, 0x11d2, 0x9e,0xed, 0x00,0x60,0x97,0xd2,0xd7,0xcf);
|
---|
| 44 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
| 45 | MIDL_INTERFACE("e1cd3524-03d7-11d2-9eed-006097d2d7cf")
|
---|
| 46 | INSSBuffer : public IUnknown
|
---|
| 47 | {
|
---|
| 48 | virtual HRESULT STDMETHODCALLTYPE GetLength(
|
---|
| 49 | DWORD *pdwLength) = 0;
|
---|
| 50 |
|
---|
| 51 | virtual HRESULT STDMETHODCALLTYPE SetLength(
|
---|
| 52 | DWORD dwLength) = 0;
|
---|
| 53 |
|
---|
| 54 | virtual HRESULT STDMETHODCALLTYPE GetMaxLength(
|
---|
| 55 | DWORD *pdwLength) = 0;
|
---|
| 56 |
|
---|
| 57 | virtual HRESULT STDMETHODCALLTYPE GetBuffer(
|
---|
| 58 | BYTE **ppdwBuffer) = 0;
|
---|
| 59 |
|
---|
| 60 | virtual HRESULT STDMETHODCALLTYPE GetBufferAndLength(
|
---|
| 61 | BYTE **ppdwBuffer,
|
---|
| 62 | DWORD *pdwLength) = 0;
|
---|
| 63 |
|
---|
| 64 | };
|
---|
| 65 | #ifdef __CRT_UUID_DECL
|
---|
| 66 | __CRT_UUID_DECL(INSSBuffer, 0xe1cd3524, 0x03d7, 0x11d2, 0x9e,0xed, 0x00,0x60,0x97,0xd2,0xd7,0xcf)
|
---|
| 67 | #endif
|
---|
| 68 | #else
|
---|
| 69 | typedef struct INSSBufferVtbl {
|
---|
| 70 | BEGIN_INTERFACE
|
---|
| 71 |
|
---|
| 72 | /*** IUnknown methods ***/
|
---|
| 73 | HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
---|
| 74 | INSSBuffer *This,
|
---|
| 75 | REFIID riid,
|
---|
| 76 | void **ppvObject);
|
---|
| 77 |
|
---|
| 78 | ULONG (STDMETHODCALLTYPE *AddRef)(
|
---|
| 79 | INSSBuffer *This);
|
---|
| 80 |
|
---|
| 81 | ULONG (STDMETHODCALLTYPE *Release)(
|
---|
| 82 | INSSBuffer *This);
|
---|
| 83 |
|
---|
| 84 | /*** INSSBuffer methods ***/
|
---|
| 85 | HRESULT (STDMETHODCALLTYPE *GetLength)(
|
---|
| 86 | INSSBuffer *This,
|
---|
| 87 | DWORD *pdwLength);
|
---|
| 88 |
|
---|
| 89 | HRESULT (STDMETHODCALLTYPE *SetLength)(
|
---|
| 90 | INSSBuffer *This,
|
---|
| 91 | DWORD dwLength);
|
---|
| 92 |
|
---|
| 93 | HRESULT (STDMETHODCALLTYPE *GetMaxLength)(
|
---|
| 94 | INSSBuffer *This,
|
---|
| 95 | DWORD *pdwLength);
|
---|
| 96 |
|
---|
| 97 | HRESULT (STDMETHODCALLTYPE *GetBuffer)(
|
---|
| 98 | INSSBuffer *This,
|
---|
| 99 | BYTE **ppdwBuffer);
|
---|
| 100 |
|
---|
| 101 | HRESULT (STDMETHODCALLTYPE *GetBufferAndLength)(
|
---|
| 102 | INSSBuffer *This,
|
---|
| 103 | BYTE **ppdwBuffer,
|
---|
| 104 | DWORD *pdwLength);
|
---|
| 105 |
|
---|
| 106 | END_INTERFACE
|
---|
| 107 | } INSSBufferVtbl;
|
---|
| 108 |
|
---|
| 109 | interface INSSBuffer {
|
---|
| 110 | CONST_VTBL INSSBufferVtbl* lpVtbl;
|
---|
| 111 | };
|
---|
| 112 |
|
---|
| 113 | #ifdef COBJMACROS
|
---|
| 114 | #ifndef WIDL_C_INLINE_WRAPPERS
|
---|
| 115 | /*** IUnknown methods ***/
|
---|
| 116 | #define INSSBuffer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
| 117 | #define INSSBuffer_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
| 118 | #define INSSBuffer_Release(This) (This)->lpVtbl->Release(This)
|
---|
| 119 | /*** INSSBuffer methods ***/
|
---|
| 120 | #define INSSBuffer_GetLength(This,pdwLength) (This)->lpVtbl->GetLength(This,pdwLength)
|
---|
| 121 | #define INSSBuffer_SetLength(This,dwLength) (This)->lpVtbl->SetLength(This,dwLength)
|
---|
| 122 | #define INSSBuffer_GetMaxLength(This,pdwLength) (This)->lpVtbl->GetMaxLength(This,pdwLength)
|
---|
| 123 | #define INSSBuffer_GetBuffer(This,ppdwBuffer) (This)->lpVtbl->GetBuffer(This,ppdwBuffer)
|
---|
| 124 | #define INSSBuffer_GetBufferAndLength(This,ppdwBuffer,pdwLength) (This)->lpVtbl->GetBufferAndLength(This,ppdwBuffer,pdwLength)
|
---|
| 125 | #else
|
---|
| 126 | /*** IUnknown methods ***/
|
---|
| 127 | static FORCEINLINE HRESULT INSSBuffer_QueryInterface(INSSBuffer* This,REFIID riid,void **ppvObject) {
|
---|
| 128 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
| 129 | }
|
---|
| 130 | static FORCEINLINE ULONG INSSBuffer_AddRef(INSSBuffer* This) {
|
---|
| 131 | return This->lpVtbl->AddRef(This);
|
---|
| 132 | }
|
---|
| 133 | static FORCEINLINE ULONG INSSBuffer_Release(INSSBuffer* This) {
|
---|
| 134 | return This->lpVtbl->Release(This);
|
---|
| 135 | }
|
---|
| 136 | /*** INSSBuffer methods ***/
|
---|
| 137 | static FORCEINLINE HRESULT INSSBuffer_GetLength(INSSBuffer* This,DWORD *pdwLength) {
|
---|
| 138 | return This->lpVtbl->GetLength(This,pdwLength);
|
---|
| 139 | }
|
---|
| 140 | static FORCEINLINE HRESULT INSSBuffer_SetLength(INSSBuffer* This,DWORD dwLength) {
|
---|
| 141 | return This->lpVtbl->SetLength(This,dwLength);
|
---|
| 142 | }
|
---|
| 143 | static FORCEINLINE HRESULT INSSBuffer_GetMaxLength(INSSBuffer* This,DWORD *pdwLength) {
|
---|
| 144 | return This->lpVtbl->GetMaxLength(This,pdwLength);
|
---|
| 145 | }
|
---|
| 146 | static FORCEINLINE HRESULT INSSBuffer_GetBuffer(INSSBuffer* This,BYTE **ppdwBuffer) {
|
---|
| 147 | return This->lpVtbl->GetBuffer(This,ppdwBuffer);
|
---|
| 148 | }
|
---|
| 149 | static FORCEINLINE HRESULT INSSBuffer_GetBufferAndLength(INSSBuffer* This,BYTE **ppdwBuffer,DWORD *pdwLength) {
|
---|
| 150 | return This->lpVtbl->GetBufferAndLength(This,ppdwBuffer,pdwLength);
|
---|
| 151 | }
|
---|
| 152 | #endif
|
---|
| 153 | #endif
|
---|
| 154 |
|
---|
| 155 | #endif
|
---|
| 156 |
|
---|
| 157 |
|
---|
| 158 | #endif /* __INSSBuffer_INTERFACE_DEFINED__ */
|
---|
| 159 |
|
---|
| 160 | /* Begin additional prototypes for all interfaces */
|
---|
| 161 |
|
---|
| 162 |
|
---|
| 163 | /* End additional prototypes */
|
---|
| 164 |
|
---|
| 165 | #ifdef __cplusplus
|
---|
| 166 | }
|
---|
| 167 | #endif
|
---|
| 168 |
|
---|
| 169 | #endif /* __wmsbuffer_h__ */
|
---|