Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

606 lines
18 KiB

  1. //-----------------------------------------------------------------------------
  2. // File: msdasql.h
  3. //
  4. // Copyright: Copyright (c) Microsoft Corporation
  5. //
  6. // Contents: Provider Specific definitions
  7. //
  8. // Comments:
  9. //
  10. //-----------------------------------------------------------------------------
  11. #ifndef _MSDASQL_H_
  12. #define _MSDASQL_H_
  13. #undef MSDASQLDECLSPEC
  14. #if _MSC_VER >= 1100
  15. #define MSDASQLDECLSPEC __declspec(selectany)
  16. #else
  17. #define MSDASQLDECLSPEC
  18. #endif //_MSC_VER
  19. // Provider Class Id
  20. #ifdef DBINITCONSTANTS
  21. // IID_ISQLRequestDiagFields {228972F0-B5FF-11d0-8A80-00C04FD611CD}
  22. extern const MSDASQLDECLSPEC GUID IID_ISQLRequestDiagFields = { 0x228972f0, 0xb5ff, 0x11d0, { 0x8a, 0x80, 0x0, 0xc0, 0x4f, 0xd6, 0x11, 0xcd } };
  23. // IID_ISQLGetDiagField {228972F1-B5FF-11d0-8A80-00C04FD611CD}
  24. extern const MSDASQLDECLSPEC GUID IID_ISQLGetDiagField = { 0x228972f1, 0xb5ff, 0x11d0, { 0x8a, 0x80, 0x0, 0xc0, 0x4f, 0xd6, 0x11, 0xcd } };
  25. // @msg IID_IRowsetChangeExtInfo | {0c733a8f-2a1c-11ce-ade5-00aa0044773d}
  26. extern const MSDASQLDECLSPEC GUID IID_IRowsetChangeExtInfo = {0x0C733A8FL,0x2A1C,0x11CE,{0xAD,0xE5,0x00,0xAA,0x00,0x44,0x77,0x3D}};
  27. extern const MSDASQLDECLSPEC GUID CLSID_MSDASQL = {0xC8B522CBL,0x5CF3,0x11CE,{0xAD,0xE5,0x00,0xAA,0x00,0x44,0x77,0x3D}};
  28. extern const MSDASQLDECLSPEC GUID CLSID_MSDASQL_ENUMERATOR = {0xC8B522CDL,0x5CF3,0x11CE,{0xAD,0xE5,0x00,0xAA,0x00,0x44,0x77,0x3D}};
  29. #else // !DBINITCONSTANTS
  30. extern const GUID IID_ISQLRequestDiagFields;
  31. extern const GUID IID_ISQLGetDiagField;
  32. extern const GUID IID_IRowsetChangeExtInfo;
  33. extern const GUID CLSID_MSDASQL;
  34. extern const GUID CLSID_MSDASQL_ENUMERATOR;
  35. #endif // DBINITCONSTANTS
  36. //----------------------------------------------------------------------------
  37. // MSDASQL specific properties
  38. #ifdef DBINITCONSTANTS
  39. extern const MSDASQLDECLSPEC GUID DBPROPSET_PROVIDERDATASOURCEINFO = {0x497c60e0,0x7123,0x11cf,{0xb1,0x71,0x0,0xaa,0x0,0x57,0x59,0x9e}};
  40. extern const MSDASQLDECLSPEC GUID DBPROPSET_PROVIDERROWSET = {0x497c60e1,0x7123,0x11cf,{0xb1,0x71,0x0,0xaa,0x0,0x57,0x59,0x9e}};
  41. extern const MSDASQLDECLSPEC GUID DBPROPSET_PROVIDERDBINIT = {0x497c60e2,0x7123,0x11cf,{0xb1,0x71,0x0,0xaa,0x0,0x57,0x59,0x9e}};
  42. extern const MSDASQLDECLSPEC GUID DBPROPSET_PROVIDERSTMTATTR = {0x497c60e3,0x7123,0x11cf,{0xb1,0x71,0x0,0xaa,0x0,0x57,0x59,0x9e}};
  43. extern const MSDASQLDECLSPEC GUID DBPROPSET_PROVIDERCONNATTR = {0x497c60e4,0x7123,0x11cf,{0xb1,0x71,0x0,0xaa,0x0,0x57,0x59,0x9e}};
  44. #else // !DBINITCONSTANTS
  45. extern const GUID DBPROPSET_PROVIDERDATASOURCEINFO;
  46. extern const GUID DBPROPSET_PROVIDERROWSET;
  47. extern const GUID DBPROPSET_PROVIDERDBINIT;
  48. extern const GUID DBPROPSET_PROVIDERSTMTATTR;
  49. extern const GUID DBPROPSET_PROVIDERCONNATTR;
  50. #endif // DBINITCONSTANTS
  51. // PropIds under DBPROPSET_PROVIDERROWSET
  52. #define KAGPROP_QUERYBASEDUPDATES 2
  53. #define KAGPROP_MARSHALLABLE 3
  54. #define KAGPROP_POSITIONONNEWROW 4
  55. #define KAGPROP_IRowsetChangeExtInfo 5
  56. #define KAGPROP_CURSOR 6
  57. #define KAGPROP_CONCURRENCY 7
  58. #define KAGPROP_BLOBSONFOCURSOR 8
  59. #define KAGPROP_INCLUDENONEXACT 9
  60. #define KAGPROP_FORCESSFIREHOSEMODE 10
  61. #define KAGPROP_FORCENOPARAMETERREBIND 11
  62. #define KAGPROP_FORCENOPREPARE 12
  63. #define KAGPROP_FORCENOREEXECUTE 13
  64. // PropIds under DPBROPSET_PROVIDERDATASOURCEINFO
  65. #define KAGPROP_ACCESSIBLEPROCEDURES 2
  66. #define KAGPROP_ACCESSIBLETABLES 3
  67. #define KAGPROP_ODBCSQLOPTIEF 4
  68. #define KAGPROP_OJCAPABILITY 5
  69. #define KAGPROP_PROCEDURES 6
  70. #define KAGPROP_DRIVERNAME 7
  71. #define KAGPROP_DRIVERVER 8
  72. #define KAGPROP_DRIVERODBCVER 9
  73. #define KAGPROP_LIKEESCAPECLAUSE 10
  74. #define KAGPROP_SPECIALCHARACTERS 11
  75. #define KAGPROP_MAXCOLUMNSINGROUPBY 12
  76. #define KAGPROP_MAXCOLUMNSININDEX 13
  77. #define KAGPROP_MAXCOLUMNSINORDERBY 14
  78. #define KAGPROP_MAXCOLUMNSINSELECT 15
  79. #define KAGPROP_MAXCOLUMNSINTABLE 16
  80. #define KAGPROP_NUMERICFUNCTIONS 17
  81. #define KAGPROP_ODBCSQLCONFORMANCE 18
  82. #define KAGPROP_OUTERJOINS 19
  83. #define KAGPROP_STRINGFUNCTIONS 20
  84. #define KAGPROP_SYSTEMFUNCTIONS 21
  85. #define KAGPROP_TIMEDATEFUNCTIONS 22
  86. #define KAGPROP_FILEUSAGE 23
  87. #define KAGPROP_ACTIVESTATEMENTS 24
  88. // PropIds under DBPROPSET_PROVIDERDBINIT
  89. #define KAGPROP_AUTH_TRUSTEDCONNECTION 2
  90. #define KAGPROP_AUTH_SERVERINTEGRATED 3
  91. // Bitmask values for KAGPROP_CONCURRENCY
  92. #define KAGPROPVAL_CONCUR_ROWVER 0x00000001
  93. #define KAGPROPVAL_CONCUR_VALUES 0x00000002
  94. #define KAGPROPVAL_CONCUR_LOCK 0x00000004
  95. #define KAGPROPVAL_CONCUR_READ_ONLY 0x00000008
  96. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  97. /* File created by MIDL compiler version 6.00.0361 */
  98. /* Compiler settings for rstcei.idl:
  99. Oicf, W1, Zp8, env=Win32 (32b run)
  100. protocol : dce , ms_ext, c_ext, robust
  101. error checks: allocation ref bounds_check enum stub_data
  102. VC __declspec() decoration level:
  103. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  104. DECLSPEC_UUID(), MIDL_INTERFACE()
  105. */
  106. //@@MIDL_FILE_HEADING( )
  107. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  108. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  109. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  110. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  111. #endif
  112. #include "rpc.h"
  113. #include "rpcndr.h"
  114. #ifndef __RPCNDR_H_VERSION__
  115. #error this stub requires an updated version of <rpcndr.h>
  116. #endif // __RPCNDR_H_VERSION__
  117. #ifndef COM_NO_WINDOWS_H
  118. #include "windows.h"
  119. #include "ole2.h"
  120. #endif /*COM_NO_WINDOWS_H*/
  121. #ifndef __rstcei_h__
  122. #define __rstcei_h__
  123. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  124. #pragma once
  125. #endif
  126. /* Forward Declarations */
  127. #ifndef __IRowsetChangeExtInfo_FWD_DEFINED__
  128. #define __IRowsetChangeExtInfo_FWD_DEFINED__
  129. typedef interface IRowsetChangeExtInfo IRowsetChangeExtInfo;
  130. #endif /* __IRowsetChangeExtInfo_FWD_DEFINED__ */
  131. /* header files for imported files */
  132. #include "oledb.h"
  133. #ifdef __cplusplus
  134. extern "C"{
  135. #endif
  136. void * __RPC_USER MIDL_user_allocate(size_t);
  137. void __RPC_USER MIDL_user_free( void * );
  138. #ifndef __IRowsetChangeExtInfo_INTERFACE_DEFINED__
  139. #define __IRowsetChangeExtInfo_INTERFACE_DEFINED__
  140. /* interface IRowsetChangeExtInfo */
  141. /* [unique][uuid][object][local] */
  142. EXTERN_C const IID IID_IRowsetChangeExtInfo;
  143. #if defined(__cplusplus) && !defined(CINTERFACE)
  144. MIDL_INTERFACE("0c733a8f-2a1c-11ce-ade5-00aa0044773d")
  145. IRowsetChangeExtInfo : public IUnknown
  146. {
  147. public:
  148. virtual HRESULT STDMETHODCALLTYPE GetOriginalRow(
  149. /* [in] */ HCHAPTER hReserved,
  150. /* [in] */ HROW hRow,
  151. /* [out] */ HROW *phRowOriginal) = 0;
  152. virtual HRESULT STDMETHODCALLTYPE GetPendingColumns(
  153. /* [in] */ HCHAPTER hReserved,
  154. /* [in] */ HROW hRow,
  155. /* [in] */ ULONG cColumnOrdinals,
  156. /* [size_is][in] */ const ULONG rgiOrdinals[ ],
  157. /* [size_is][out] */ DBPENDINGSTATUS rgColumnStatus[ ]) = 0;
  158. };
  159. #else /* C style interface */
  160. typedef struct IRowsetChangeExtInfoVtbl
  161. {
  162. BEGIN_INTERFACE
  163. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  164. IRowsetChangeExtInfo * This,
  165. /* [in] */ REFIID riid,
  166. /* [iid_is][out] */ void **ppvObject);
  167. ULONG ( STDMETHODCALLTYPE *AddRef )(
  168. IRowsetChangeExtInfo * This);
  169. ULONG ( STDMETHODCALLTYPE *Release )(
  170. IRowsetChangeExtInfo * This);
  171. HRESULT ( STDMETHODCALLTYPE *GetOriginalRow )(
  172. IRowsetChangeExtInfo * This,
  173. /* [in] */ HCHAPTER hReserved,
  174. /* [in] */ HROW hRow,
  175. /* [out] */ HROW *phRowOriginal);
  176. HRESULT ( STDMETHODCALLTYPE *GetPendingColumns )(
  177. IRowsetChangeExtInfo * This,
  178. /* [in] */ HCHAPTER hReserved,
  179. /* [in] */ HROW hRow,
  180. /* [in] */ ULONG cColumnOrdinals,
  181. /* [size_is][in] */ const ULONG rgiOrdinals[ ],
  182. /* [size_is][out] */ DBPENDINGSTATUS rgColumnStatus[ ]);
  183. END_INTERFACE
  184. } IRowsetChangeExtInfoVtbl;
  185. interface IRowsetChangeExtInfo
  186. {
  187. CONST_VTBL struct IRowsetChangeExtInfoVtbl *lpVtbl;
  188. };
  189. #ifdef COBJMACROS
  190. #define IRowsetChangeExtInfo_QueryInterface(This,riid,ppvObject) \
  191. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  192. #define IRowsetChangeExtInfo_AddRef(This) \
  193. (This)->lpVtbl -> AddRef(This)
  194. #define IRowsetChangeExtInfo_Release(This) \
  195. (This)->lpVtbl -> Release(This)
  196. #define IRowsetChangeExtInfo_GetOriginalRow(This,hReserved,hRow,phRowOriginal) \
  197. (This)->lpVtbl -> GetOriginalRow(This,hReserved,hRow,phRowOriginal)
  198. #define IRowsetChangeExtInfo_GetPendingColumns(This,hReserved,hRow,cColumnOrdinals,rgiOrdinals,rgColumnStatus) \
  199. (This)->lpVtbl -> GetPendingColumns(This,hReserved,hRow,cColumnOrdinals,rgiOrdinals,rgColumnStatus)
  200. #endif /* COBJMACROS */
  201. #endif /* C style interface */
  202. HRESULT STDMETHODCALLTYPE IRowsetChangeExtInfo_GetOriginalRow_Proxy(
  203. IRowsetChangeExtInfo * This,
  204. /* [in] */ HCHAPTER hReserved,
  205. /* [in] */ HROW hRow,
  206. /* [out] */ HROW *phRowOriginal);
  207. void __RPC_STUB IRowsetChangeExtInfo_GetOriginalRow_Stub(
  208. IRpcStubBuffer *This,
  209. IRpcChannelBuffer *_pRpcChannelBuffer,
  210. PRPC_MESSAGE _pRpcMessage,
  211. DWORD *_pdwStubPhase);
  212. HRESULT STDMETHODCALLTYPE IRowsetChangeExtInfo_GetPendingColumns_Proxy(
  213. IRowsetChangeExtInfo * This,
  214. /* [in] */ HCHAPTER hReserved,
  215. /* [in] */ HROW hRow,
  216. /* [in] */ ULONG cColumnOrdinals,
  217. /* [size_is][in] */ const ULONG rgiOrdinals[ ],
  218. /* [size_is][out] */ DBPENDINGSTATUS rgColumnStatus[ ]);
  219. void __RPC_STUB IRowsetChangeExtInfo_GetPendingColumns_Stub(
  220. IRpcStubBuffer *This,
  221. IRpcChannelBuffer *_pRpcChannelBuffer,
  222. PRPC_MESSAGE _pRpcMessage,
  223. DWORD *_pdwStubPhase);
  224. #endif /* __IRowsetChangeExtInfo_INTERFACE_DEFINED__ */
  225. /* Additional Prototypes for ALL interfaces */
  226. /* end of Additional Prototypes */
  227. #ifdef __cplusplus
  228. }
  229. #endif
  230. #endif
  231. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  232. /* File created by MIDL compiler version 6.00.0361 */
  233. /* Compiler settings for kagdiag.idl:
  234. Oicf, W1, Zp8, env=Win32 (32b run)
  235. protocol : dce , ms_ext, c_ext, robust
  236. error checks: allocation ref bounds_check enum stub_data
  237. VC __declspec() decoration level:
  238. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  239. DECLSPEC_UUID(), MIDL_INTERFACE()
  240. */
  241. //@@MIDL_FILE_HEADING( )
  242. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  243. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  244. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  245. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  246. #endif
  247. #include "rpc.h"
  248. #include "rpcndr.h"
  249. #ifndef __RPCNDR_H_VERSION__
  250. #error this stub requires an updated version of <rpcndr.h>
  251. #endif // __RPCNDR_H_VERSION__
  252. #ifndef COM_NO_WINDOWS_H
  253. #include "windows.h"
  254. #include "ole2.h"
  255. #endif /*COM_NO_WINDOWS_H*/
  256. #ifndef __kagdiag_h__
  257. #define __kagdiag_h__
  258. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  259. #pragma once
  260. #endif
  261. /* Forward Declarations */
  262. #ifndef __ISQLRequestDiagFields_FWD_DEFINED__
  263. #define __ISQLRequestDiagFields_FWD_DEFINED__
  264. typedef interface ISQLRequestDiagFields ISQLRequestDiagFields;
  265. #endif /* __ISQLRequestDiagFields_FWD_DEFINED__ */
  266. #ifndef __ISQLGetDiagField_FWD_DEFINED__
  267. #define __ISQLGetDiagField_FWD_DEFINED__
  268. typedef interface ISQLGetDiagField ISQLGetDiagField;
  269. #endif /* __ISQLGetDiagField_FWD_DEFINED__ */
  270. /* header files for imported files */
  271. #include "unknwn.h"
  272. #include "oaidl.h"
  273. #ifdef __cplusplus
  274. extern "C"{
  275. #endif
  276. void * __RPC_USER MIDL_user_allocate(size_t);
  277. void __RPC_USER MIDL_user_free( void * );
  278. /* interface __MIDL_itf_kagdiag_0000 */
  279. /* [local] */
  280. enum KAGREQDIAGFLAGSENUM
  281. { KAGREQDIAGFLAGS_HEADER = 0x1,
  282. KAGREQDIAGFLAGS_RECORD = 0x2
  283. } ;
  284. // the structure passed in in IRequestDiagFields::RequestDiagFields
  285. typedef struct tagKAGREQDIAG
  286. {
  287. ULONG ulDiagFlags;
  288. VARTYPE vt;
  289. SHORT sDiagField;
  290. } KAGREQDIAG;
  291. // the structure passed in in IGetDiagField::GetDiagField
  292. typedef struct tagKAGGETDIAG
  293. {
  294. ULONG ulSize;
  295. VARIANTARG vDiagInfo;
  296. SHORT sDiagField;
  297. } KAGGETDIAG;
  298. extern RPC_IF_HANDLE __MIDL_itf_kagdiag_0000_v0_0_c_ifspec;
  299. extern RPC_IF_HANDLE __MIDL_itf_kagdiag_0000_v0_0_s_ifspec;
  300. #ifndef __ISQLRequestDiagFields_INTERFACE_DEFINED__
  301. #define __ISQLRequestDiagFields_INTERFACE_DEFINED__
  302. /* interface ISQLRequestDiagFields */
  303. /* [object][uuid] */
  304. EXTERN_C const IID IID_ISQLRequestDiagFields;
  305. #if defined(__cplusplus) && !defined(CINTERFACE)
  306. MIDL_INTERFACE("228972F0-B5FF-11d0-8A80-00C04FD611CD")
  307. ISQLRequestDiagFields : public IUnknown
  308. {
  309. public:
  310. virtual HRESULT STDMETHODCALLTYPE RequestDiagFields(
  311. /* [in] */ ULONG cDiagFields,
  312. /* [size_is][in] */ KAGREQDIAG rgDiagFields[ ]) = 0;
  313. };
  314. #else /* C style interface */
  315. typedef struct ISQLRequestDiagFieldsVtbl
  316. {
  317. BEGIN_INTERFACE
  318. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  319. ISQLRequestDiagFields * This,
  320. /* [in] */ REFIID riid,
  321. /* [iid_is][out] */ void **ppvObject);
  322. ULONG ( STDMETHODCALLTYPE *AddRef )(
  323. ISQLRequestDiagFields * This);
  324. ULONG ( STDMETHODCALLTYPE *Release )(
  325. ISQLRequestDiagFields * This);
  326. HRESULT ( STDMETHODCALLTYPE *RequestDiagFields )(
  327. ISQLRequestDiagFields * This,
  328. /* [in] */ ULONG cDiagFields,
  329. /* [size_is][in] */ KAGREQDIAG rgDiagFields[ ]);
  330. END_INTERFACE
  331. } ISQLRequestDiagFieldsVtbl;
  332. interface ISQLRequestDiagFields
  333. {
  334. CONST_VTBL struct ISQLRequestDiagFieldsVtbl *lpVtbl;
  335. };
  336. #ifdef COBJMACROS
  337. #define ISQLRequestDiagFields_QueryInterface(This,riid,ppvObject) \
  338. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  339. #define ISQLRequestDiagFields_AddRef(This) \
  340. (This)->lpVtbl -> AddRef(This)
  341. #define ISQLRequestDiagFields_Release(This) \
  342. (This)->lpVtbl -> Release(This)
  343. #define ISQLRequestDiagFields_RequestDiagFields(This,cDiagFields,rgDiagFields) \
  344. (This)->lpVtbl -> RequestDiagFields(This,cDiagFields,rgDiagFields)
  345. #endif /* COBJMACROS */
  346. #endif /* C style interface */
  347. HRESULT STDMETHODCALLTYPE ISQLRequestDiagFields_RequestDiagFields_Proxy(
  348. ISQLRequestDiagFields * This,
  349. /* [in] */ ULONG cDiagFields,
  350. /* [size_is][in] */ KAGREQDIAG rgDiagFields[ ]);
  351. void __RPC_STUB ISQLRequestDiagFields_RequestDiagFields_Stub(
  352. IRpcStubBuffer *This,
  353. IRpcChannelBuffer *_pRpcChannelBuffer,
  354. PRPC_MESSAGE _pRpcMessage,
  355. DWORD *_pdwStubPhase);
  356. #endif /* __ISQLRequestDiagFields_INTERFACE_DEFINED__ */
  357. #ifndef __ISQLGetDiagField_INTERFACE_DEFINED__
  358. #define __ISQLGetDiagField_INTERFACE_DEFINED__
  359. /* interface ISQLGetDiagField */
  360. /* [object][uuid] */
  361. EXTERN_C const IID IID_ISQLGetDiagField;
  362. #if defined(__cplusplus) && !defined(CINTERFACE)
  363. MIDL_INTERFACE("228972F1-B5FF-11d0-8A80-00C04FD611CD")
  364. ISQLGetDiagField : public IUnknown
  365. {
  366. public:
  367. virtual HRESULT STDMETHODCALLTYPE GetDiagField(
  368. /* [unique][out][in] */ KAGGETDIAG *pDiagInfo) = 0;
  369. };
  370. #else /* C style interface */
  371. typedef struct ISQLGetDiagFieldVtbl
  372. {
  373. BEGIN_INTERFACE
  374. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  375. ISQLGetDiagField * This,
  376. /* [in] */ REFIID riid,
  377. /* [iid_is][out] */ void **ppvObject);
  378. ULONG ( STDMETHODCALLTYPE *AddRef )(
  379. ISQLGetDiagField * This);
  380. ULONG ( STDMETHODCALLTYPE *Release )(
  381. ISQLGetDiagField * This);
  382. HRESULT ( STDMETHODCALLTYPE *GetDiagField )(
  383. ISQLGetDiagField * This,
  384. /* [unique][out][in] */ KAGGETDIAG *pDiagInfo);
  385. END_INTERFACE
  386. } ISQLGetDiagFieldVtbl;
  387. interface ISQLGetDiagField
  388. {
  389. CONST_VTBL struct ISQLGetDiagFieldVtbl *lpVtbl;
  390. };
  391. #ifdef COBJMACROS
  392. #define ISQLGetDiagField_QueryInterface(This,riid,ppvObject) \
  393. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  394. #define ISQLGetDiagField_AddRef(This) \
  395. (This)->lpVtbl -> AddRef(This)
  396. #define ISQLGetDiagField_Release(This) \
  397. (This)->lpVtbl -> Release(This)
  398. #define ISQLGetDiagField_GetDiagField(This,pDiagInfo) \
  399. (This)->lpVtbl -> GetDiagField(This,pDiagInfo)
  400. #endif /* COBJMACROS */
  401. #endif /* C style interface */
  402. HRESULT STDMETHODCALLTYPE ISQLGetDiagField_GetDiagField_Proxy(
  403. ISQLGetDiagField * This,
  404. /* [unique][out][in] */ KAGGETDIAG *pDiagInfo);
  405. void __RPC_STUB ISQLGetDiagField_GetDiagField_Stub(
  406. IRpcStubBuffer *This,
  407. IRpcChannelBuffer *_pRpcChannelBuffer,
  408. PRPC_MESSAGE _pRpcMessage,
  409. DWORD *_pdwStubPhase);
  410. #endif /* __ISQLGetDiagField_INTERFACE_DEFINED__ */
  411. /* Additional Prototypes for ALL interfaces */
  412. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  413. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  414. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  415. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  416. /* end of Additional Prototypes */
  417. #ifdef __cplusplus
  418. }
  419. #endif
  420. #endif
  421. #endif
  422. //----