/usr/include/wine-development/windows/msdasc.h is in libwine-development-dev 1.7.29-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 | /*** Autogenerated by WIDL 1.7.29 from msdasc.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __msdasc_h__
#define __msdasc_h__
/* Forward declarations */
#ifndef __IDataSourceLocator_FWD_DEFINED__
#define __IDataSourceLocator_FWD_DEFINED__
typedef interface IDataSourceLocator IDataSourceLocator;
#endif
#ifndef __IDBPromptInitialize_FWD_DEFINED__
#define __IDBPromptInitialize_FWD_DEFINED__
typedef interface IDBPromptInitialize IDBPromptInitialize;
#endif
#ifndef __IDataInitialize_FWD_DEFINED__
#define __IDataInitialize_FWD_DEFINED__
typedef interface IDataInitialize IDataInitialize;
#endif
#ifndef __MSDAINITIALIZE_FWD_DEFINED__
#define __MSDAINITIALIZE_FWD_DEFINED__
#ifdef __cplusplus
typedef class MSDAINITIALIZE MSDAINITIALIZE;
#else
typedef struct MSDAINITIALIZE MSDAINITIALIZE;
#endif /* defined __cplusplus */
#endif /* defined __MSDAINITIALIZE_FWD_DEFINED__ */
#ifndef __DataLinks_FWD_DEFINED__
#define __DataLinks_FWD_DEFINED__
#ifdef __cplusplus
typedef class DataLinks DataLinks;
#else
typedef struct DataLinks DataLinks;
#endif /* defined __cplusplus */
#endif /* defined __DataLinks_FWD_DEFINED__ */
/* Headers for imported files */
#include <oaidl.h>
#include <ocidl.h>
#include <oledb.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef LONG_PTR COMPATIBLE_LONG;
DEFINE_GUID(LIBID_MSDASC, 0x2206ceb0, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29);
typedef DWORD DBPROMPTOPTIONS;
typedef enum tagDBPROMPTOPTIONSENUM {
DBPROMPTOPTIONS_NONE = 0x0,
DBPROMPTOPTIONS_WIZARDSHEET = 0x1,
DBPROMPTOPTIONS_PROPERTYSHEET = 0x2,
DBPROMPTOPTIONS_BROWSEONLY = 0x8,
DBPROMPTOPTIONS_DISABLE_PROVIDER_SELECTION = 0x10,
DBPROMPTOPTIONS_DISABLESAVEPASSWORD = 0x20
} DBPROMPTOPTIONSENUM;
/*****************************************************************************
* IDataSourceLocator interface
*/
#ifndef __IDataSourceLocator_INTERFACE_DEFINED__
#define __IDataSourceLocator_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDataSourceLocator, 0x2206ccb2, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2206ccb2-19c1-11d1-89e0-00c04fd7a829")
IDataSourceLocator : public IDispatch
{
virtual HRESULT STDMETHODCALLTYPE get_hWnd(
COMPATIBLE_LONG *phwndParent) = 0;
virtual HRESULT STDMETHODCALLTYPE put_hWnd(
COMPATIBLE_LONG hwndParent) = 0;
virtual HRESULT STDMETHODCALLTYPE PromptNew(
IDispatch **ppADOConnection) = 0;
virtual HRESULT STDMETHODCALLTYPE PromptEdit(
IDispatch **ppADOConnection,
VARIANT_BOOL *pbSuccess) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDataSourceLocator, 0x2206ccb2, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29)
#endif
#else
typedef struct IDataSourceLocatorVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDataSourceLocator *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDataSourceLocator *This);
ULONG (STDMETHODCALLTYPE *Release)(
IDataSourceLocator *This);
/*** IDispatch methods ***/
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
IDataSourceLocator *This,
UINT *pctinfo);
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
IDataSourceLocator *This,
UINT iTInfo,
LCID lcid,
ITypeInfo **ppTInfo);
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
IDataSourceLocator *This,
REFIID riid,
LPOLESTR *rgszNames,
UINT cNames,
LCID lcid,
DISPID *rgDispId);
HRESULT (STDMETHODCALLTYPE *Invoke)(
IDataSourceLocator *This,
DISPID dispIdMember,
REFIID riid,
LCID lcid,
WORD wFlags,
DISPPARAMS *pDispParams,
VARIANT *pVarResult,
EXCEPINFO *pExcepInfo,
UINT *puArgErr);
/*** IDataSourceLocator methods ***/
HRESULT (STDMETHODCALLTYPE *get_hWnd)(
IDataSourceLocator *This,
COMPATIBLE_LONG *phwndParent);
HRESULT (STDMETHODCALLTYPE *put_hWnd)(
IDataSourceLocator *This,
COMPATIBLE_LONG hwndParent);
HRESULT (STDMETHODCALLTYPE *PromptNew)(
IDataSourceLocator *This,
IDispatch **ppADOConnection);
HRESULT (STDMETHODCALLTYPE *PromptEdit)(
IDataSourceLocator *This,
IDispatch **ppADOConnection,
VARIANT_BOOL *pbSuccess);
END_INTERFACE
} IDataSourceLocatorVtbl;
interface IDataSourceLocator {
CONST_VTBL IDataSourceLocatorVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDataSourceLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDataSourceLocator_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDataSourceLocator_Release(This) (This)->lpVtbl->Release(This)
/*** IDispatch methods ***/
#define IDataSourceLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
#define IDataSourceLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IDataSourceLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define IDataSourceLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
/*** IDataSourceLocator methods ***/
#define IDataSourceLocator_get_hWnd(This,phwndParent) (This)->lpVtbl->get_hWnd(This,phwndParent)
#define IDataSourceLocator_put_hWnd(This,hwndParent) (This)->lpVtbl->put_hWnd(This,hwndParent)
#define IDataSourceLocator_PromptNew(This,ppADOConnection) (This)->lpVtbl->PromptNew(This,ppADOConnection)
#define IDataSourceLocator_PromptEdit(This,ppADOConnection,pbSuccess) (This)->lpVtbl->PromptEdit(This,ppADOConnection,pbSuccess)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDataSourceLocator_QueryInterface(IDataSourceLocator* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDataSourceLocator_AddRef(IDataSourceLocator* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDataSourceLocator_Release(IDataSourceLocator* This) {
return This->lpVtbl->Release(This);
}
/*** IDispatch methods ***/
static FORCEINLINE HRESULT IDataSourceLocator_GetTypeInfoCount(IDataSourceLocator* This,UINT *pctinfo) {
return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
}
static FORCEINLINE HRESULT IDataSourceLocator_GetTypeInfo(IDataSourceLocator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
}
static FORCEINLINE HRESULT IDataSourceLocator_GetIDsOfNames(IDataSourceLocator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
}
static FORCEINLINE HRESULT IDataSourceLocator_Invoke(IDataSourceLocator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
}
/*** IDataSourceLocator methods ***/
static FORCEINLINE HRESULT IDataSourceLocator_get_hWnd(IDataSourceLocator* This,COMPATIBLE_LONG *phwndParent) {
return This->lpVtbl->get_hWnd(This,phwndParent);
}
static FORCEINLINE HRESULT IDataSourceLocator_put_hWnd(IDataSourceLocator* This,COMPATIBLE_LONG hwndParent) {
return This->lpVtbl->put_hWnd(This,hwndParent);
}
static FORCEINLINE HRESULT IDataSourceLocator_PromptNew(IDataSourceLocator* This,IDispatch **ppADOConnection) {
return This->lpVtbl->PromptNew(This,ppADOConnection);
}
static FORCEINLINE HRESULT IDataSourceLocator_PromptEdit(IDataSourceLocator* This,IDispatch **ppADOConnection,VARIANT_BOOL *pbSuccess) {
return This->lpVtbl->PromptEdit(This,ppADOConnection,pbSuccess);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDataSourceLocator_get_hWnd_Proxy(
IDataSourceLocator* This,
COMPATIBLE_LONG *phwndParent);
void __RPC_STUB IDataSourceLocator_get_hWnd_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDataSourceLocator_put_hWnd_Proxy(
IDataSourceLocator* This,
COMPATIBLE_LONG hwndParent);
void __RPC_STUB IDataSourceLocator_put_hWnd_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDataSourceLocator_PromptNew_Proxy(
IDataSourceLocator* This,
IDispatch **ppADOConnection);
void __RPC_STUB IDataSourceLocator_PromptNew_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDataSourceLocator_PromptEdit_Proxy(
IDataSourceLocator* This,
IDispatch **ppADOConnection,
VARIANT_BOOL *pbSuccess);
void __RPC_STUB IDataSourceLocator_PromptEdit_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IDataSourceLocator_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDBPromptInitialize interface
*/
#ifndef __IDBPromptInitialize_INTERFACE_DEFINED__
#define __IDBPromptInitialize_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDBPromptInitialize, 0x2206ccb0, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2206ccb0-19c1-11d1-89e0-00c04fd7a829")
IDBPromptInitialize : public IUnknown
{
virtual HRESULT __stdcall PromptDataSource(
IUnknown *pUnkOuter,
HWND hWndParent,
DBPROMPTOPTIONS dwPromptOptions,
ULONG cSourceTypeFilter,
DBSOURCETYPE *rgSourceTypeFilter,
LPWSTR pwszszzProviderFilter,
GUID *riid,
IUnknown **ppDataSource) = 0;
virtual HRESULT __stdcall PromptFileName(
HWND hWndParent,
ULONG dwPromptOptions,
LPWSTR pwszInitialDirectory,
LPWSTR pwszInitialFile,
LPWSTR *ppwszSelectedFile) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDBPromptInitialize, 0x2206ccb0, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29)
#endif
#else
typedef struct IDBPromptInitializeVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDBPromptInitialize *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDBPromptInitialize *This);
ULONG (STDMETHODCALLTYPE *Release)(
IDBPromptInitialize *This);
/*** IDBPromptInitialize methods ***/
HRESULT (__stdcall *PromptDataSource)(
IDBPromptInitialize *This,
IUnknown *pUnkOuter,
HWND hWndParent,
DBPROMPTOPTIONS dwPromptOptions,
ULONG cSourceTypeFilter,
DBSOURCETYPE *rgSourceTypeFilter,
LPWSTR pwszszzProviderFilter,
GUID *riid,
IUnknown **ppDataSource);
HRESULT (__stdcall *PromptFileName)(
IDBPromptInitialize *This,
HWND hWndParent,
ULONG dwPromptOptions,
LPWSTR pwszInitialDirectory,
LPWSTR pwszInitialFile,
LPWSTR *ppwszSelectedFile);
END_INTERFACE
} IDBPromptInitializeVtbl;
interface IDBPromptInitialize {
CONST_VTBL IDBPromptInitializeVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDBPromptInitialize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDBPromptInitialize_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDBPromptInitialize_Release(This) (This)->lpVtbl->Release(This)
/*** IDBPromptInitialize methods ***/
#define IDBPromptInitialize_PromptDataSource(This,pUnkOuter,hWndParent,dwPromptOptions,cSourceTypeFilter,rgSourceTypeFilter,pwszszzProviderFilter,riid,ppDataSource) (This)->lpVtbl->PromptDataSource(This,pUnkOuter,hWndParent,dwPromptOptions,cSourceTypeFilter,rgSourceTypeFilter,pwszszzProviderFilter,riid,ppDataSource)
#define IDBPromptInitialize_PromptFileName(This,hWndParent,dwPromptOptions,pwszInitialDirectory,pwszInitialFile,ppwszSelectedFile) (This)->lpVtbl->PromptFileName(This,hWndParent,dwPromptOptions,pwszInitialDirectory,pwszInitialFile,ppwszSelectedFile)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDBPromptInitialize_QueryInterface(IDBPromptInitialize* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDBPromptInitialize_AddRef(IDBPromptInitialize* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDBPromptInitialize_Release(IDBPromptInitialize* This) {
return This->lpVtbl->Release(This);
}
/*** IDBPromptInitialize methods ***/
static FORCEINLINE HRESULT IDBPromptInitialize_PromptDataSource(IDBPromptInitialize* This,IUnknown *pUnkOuter,HWND hWndParent,DBPROMPTOPTIONS dwPromptOptions,ULONG cSourceTypeFilter,DBSOURCETYPE *rgSourceTypeFilter,LPWSTR pwszszzProviderFilter,GUID *riid,IUnknown **ppDataSource) {
return This->lpVtbl->PromptDataSource(This,pUnkOuter,hWndParent,dwPromptOptions,cSourceTypeFilter,rgSourceTypeFilter,pwszszzProviderFilter,riid,ppDataSource);
}
static FORCEINLINE HRESULT IDBPromptInitialize_PromptFileName(IDBPromptInitialize* This,HWND hWndParent,ULONG dwPromptOptions,LPWSTR pwszInitialDirectory,LPWSTR pwszInitialFile,LPWSTR *ppwszSelectedFile) {
return This->lpVtbl->PromptFileName(This,hWndParent,dwPromptOptions,pwszInitialDirectory,pwszInitialFile,ppwszSelectedFile);
}
#endif
#endif
#endif
HRESULT __stdcall IDBPromptInitialize_PromptDataSource_Proxy(
IDBPromptInitialize* This,
IUnknown *pUnkOuter,
HWND hWndParent,
DBPROMPTOPTIONS dwPromptOptions,
ULONG cSourceTypeFilter,
DBSOURCETYPE *rgSourceTypeFilter,
LPWSTR pwszszzProviderFilter,
GUID *riid,
IUnknown **ppDataSource);
void __RPC_STUB IDBPromptInitialize_PromptDataSource_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT __stdcall IDBPromptInitialize_PromptFileName_Proxy(
IDBPromptInitialize* This,
HWND hWndParent,
ULONG dwPromptOptions,
LPWSTR pwszInitialDirectory,
LPWSTR pwszInitialFile,
LPWSTR *ppwszSelectedFile);
void __RPC_STUB IDBPromptInitialize_PromptFileName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IDBPromptInitialize_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDataInitialize interface
*/
#ifndef __IDataInitialize_INTERFACE_DEFINED__
#define __IDataInitialize_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDataInitialize, 0x2206ccb1, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2206ccb1-19c1-11d1-89e0-00c04fd7a829")
IDataInitialize : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetDataSource(
IUnknown *pUnkOuter,
DWORD dwClsCtx,
LPWSTR pwszInitializationString,
REFIID riid,
IUnknown **ppDataSource) = 0;
virtual HRESULT STDMETHODCALLTYPE GetInitializationString(
IUnknown *pDataSource,
boolean fIncludePassword,
LPWSTR *ppwszInitString) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateDBInstance(
REFCLSID clsidProvider,
IUnknown *pUnkOuter,
DWORD dwClsCtx,
LPWSTR pwszReserved,
REFIID riid,
IUnknown **ppDataSource) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoteCreateDBInstanceEx(
REFCLSID clsidProvider,
IUnknown *pUnkOuter,
DWORD dwClsCtx,
LPWSTR pwszReserved,
COSERVERINFO *pServerInfo,
DWORD cmq,
GUID **rgpIID,
IUnknown **rgpItf,
HRESULT *rghr) = 0;
virtual HRESULT STDMETHODCALLTYPE LoadStringFromStorage(
LPWSTR pwszFileName,
LPWSTR *ppwszInitializationString) = 0;
virtual HRESULT STDMETHODCALLTYPE WriteStringToStorage(
LPWSTR pwszFileName,
LPWSTR pwszInitializationString,
DWORD dwCreationDisposition) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDataInitialize, 0x2206ccb1, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29)
#endif
#else
typedef struct IDataInitializeVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDataInitialize *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDataInitialize *This);
ULONG (STDMETHODCALLTYPE *Release)(
IDataInitialize *This);
/*** IDataInitialize methods ***/
HRESULT (STDMETHODCALLTYPE *GetDataSource)(
IDataInitialize *This,
IUnknown *pUnkOuter,
DWORD dwClsCtx,
LPWSTR pwszInitializationString,
REFIID riid,
IUnknown **ppDataSource);
HRESULT (STDMETHODCALLTYPE *GetInitializationString)(
IDataInitialize *This,
IUnknown *pDataSource,
boolean fIncludePassword,
LPWSTR *ppwszInitString);
HRESULT (STDMETHODCALLTYPE *CreateDBInstance)(
IDataInitialize *This,
REFCLSID clsidProvider,
IUnknown *pUnkOuter,
DWORD dwClsCtx,
LPWSTR pwszReserved,
REFIID riid,
IUnknown **ppDataSource);
HRESULT (STDMETHODCALLTYPE *RemoteCreateDBInstanceEx)(
IDataInitialize *This,
REFCLSID clsidProvider,
IUnknown *pUnkOuter,
DWORD dwClsCtx,
LPWSTR pwszReserved,
COSERVERINFO *pServerInfo,
DWORD cmq,
GUID **rgpIID,
IUnknown **rgpItf,
HRESULT *rghr);
HRESULT (STDMETHODCALLTYPE *LoadStringFromStorage)(
IDataInitialize *This,
LPWSTR pwszFileName,
LPWSTR *ppwszInitializationString);
HRESULT (STDMETHODCALLTYPE *WriteStringToStorage)(
IDataInitialize *This,
LPWSTR pwszFileName,
LPWSTR pwszInitializationString,
DWORD dwCreationDisposition);
END_INTERFACE
} IDataInitializeVtbl;
interface IDataInitialize {
CONST_VTBL IDataInitializeVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDataInitialize_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDataInitialize_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDataInitialize_Release(This) (This)->lpVtbl->Release(This)
/*** IDataInitialize methods ***/
#define IDataInitialize_GetDataSource(This,pUnkOuter,dwClsCtx,pwszInitializationString,riid,ppDataSource) (This)->lpVtbl->GetDataSource(This,pUnkOuter,dwClsCtx,pwszInitializationString,riid,ppDataSource)
#define IDataInitialize_GetInitializationString(This,pDataSource,fIncludePassword,ppwszInitString) (This)->lpVtbl->GetInitializationString(This,pDataSource,fIncludePassword,ppwszInitString)
#define IDataInitialize_CreateDBInstance(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,riid,ppDataSource) (This)->lpVtbl->CreateDBInstance(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,riid,ppDataSource)
#define IDataInitialize_RemoteCreateDBInstanceEx(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,pServerInfo,cmq,rgpIID,rgpItf,rghr) (This)->lpVtbl->RemoteCreateDBInstanceEx(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,pServerInfo,cmq,rgpIID,rgpItf,rghr)
#define IDataInitialize_LoadStringFromStorage(This,pwszFileName,ppwszInitializationString) (This)->lpVtbl->LoadStringFromStorage(This,pwszFileName,ppwszInitializationString)
#define IDataInitialize_WriteStringToStorage(This,pwszFileName,pwszInitializationString,dwCreationDisposition) (This)->lpVtbl->WriteStringToStorage(This,pwszFileName,pwszInitializationString,dwCreationDisposition)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDataInitialize_QueryInterface(IDataInitialize* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDataInitialize_AddRef(IDataInitialize* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDataInitialize_Release(IDataInitialize* This) {
return This->lpVtbl->Release(This);
}
/*** IDataInitialize methods ***/
static FORCEINLINE HRESULT IDataInitialize_GetDataSource(IDataInitialize* This,IUnknown *pUnkOuter,DWORD dwClsCtx,LPWSTR pwszInitializationString,REFIID riid,IUnknown **ppDataSource) {
return This->lpVtbl->GetDataSource(This,pUnkOuter,dwClsCtx,pwszInitializationString,riid,ppDataSource);
}
static FORCEINLINE HRESULT IDataInitialize_GetInitializationString(IDataInitialize* This,IUnknown *pDataSource,boolean fIncludePassword,LPWSTR *ppwszInitString) {
return This->lpVtbl->GetInitializationString(This,pDataSource,fIncludePassword,ppwszInitString);
}
static FORCEINLINE HRESULT IDataInitialize_CreateDBInstance(IDataInitialize* This,REFCLSID clsidProvider,IUnknown *pUnkOuter,DWORD dwClsCtx,LPWSTR pwszReserved,REFIID riid,IUnknown **ppDataSource) {
return This->lpVtbl->CreateDBInstance(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,riid,ppDataSource);
}
static FORCEINLINE HRESULT IDataInitialize_RemoteCreateDBInstanceEx(IDataInitialize* This,REFCLSID clsidProvider,IUnknown *pUnkOuter,DWORD dwClsCtx,LPWSTR pwszReserved,COSERVERINFO *pServerInfo,DWORD cmq,GUID **rgpIID,IUnknown **rgpItf,HRESULT *rghr) {
return This->lpVtbl->RemoteCreateDBInstanceEx(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,pServerInfo,cmq,rgpIID,rgpItf,rghr);
}
static FORCEINLINE HRESULT IDataInitialize_LoadStringFromStorage(IDataInitialize* This,LPWSTR pwszFileName,LPWSTR *ppwszInitializationString) {
return This->lpVtbl->LoadStringFromStorage(This,pwszFileName,ppwszInitializationString);
}
static FORCEINLINE HRESULT IDataInitialize_WriteStringToStorage(IDataInitialize* This,LPWSTR pwszFileName,LPWSTR pwszInitializationString,DWORD dwCreationDisposition) {
return This->lpVtbl->WriteStringToStorage(This,pwszFileName,pwszInitializationString,dwCreationDisposition);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IDataInitialize_GetDataSource_Proxy(
IDataInitialize* This,
IUnknown *pUnkOuter,
DWORD dwClsCtx,
LPWSTR pwszInitializationString,
REFIID riid,
IUnknown **ppDataSource);
void __RPC_STUB IDataInitialize_GetDataSource_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDataInitialize_GetInitializationString_Proxy(
IDataInitialize* This,
IUnknown *pDataSource,
boolean fIncludePassword,
LPWSTR *ppwszInitString);
void __RPC_STUB IDataInitialize_GetInitializationString_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDataInitialize_CreateDBInstance_Proxy(
IDataInitialize* This,
REFCLSID clsidProvider,
IUnknown *pUnkOuter,
DWORD dwClsCtx,
LPWSTR pwszReserved,
REFIID riid,
IUnknown **ppDataSource);
void __RPC_STUB IDataInitialize_CreateDBInstance_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDataInitialize_RemoteCreateDBInstanceEx_Proxy(
IDataInitialize* This,
REFCLSID clsidProvider,
IUnknown *pUnkOuter,
DWORD dwClsCtx,
LPWSTR pwszReserved,
COSERVERINFO *pServerInfo,
DWORD cmq,
GUID **rgpIID,
IUnknown **rgpItf,
HRESULT *rghr);
void __RPC_STUB IDataInitialize_RemoteCreateDBInstanceEx_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDataInitialize_LoadStringFromStorage_Proxy(
IDataInitialize* This,
LPWSTR pwszFileName,
LPWSTR *ppwszInitializationString);
void __RPC_STUB IDataInitialize_LoadStringFromStorage_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IDataInitialize_WriteStringToStorage_Proxy(
IDataInitialize* This,
LPWSTR pwszFileName,
LPWSTR pwszInitializationString,
DWORD dwCreationDisposition);
void __RPC_STUB IDataInitialize_WriteStringToStorage_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IDataInitialize_INTERFACE_DEFINED__ */
/*****************************************************************************
* MSDAINITIALIZE coclass
*/
DEFINE_GUID(CLSID_MSDAINITIALIZE, 0x2206cdb0, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29);
#ifdef __cplusplus
class DECLSPEC_UUID("2206cdb0-19c1-11d1-89e0-00c04fd7a829") MSDAINITIALIZE;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(MSDAINITIALIZE, 0x2206cdb0, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29)
#endif
#endif
/*****************************************************************************
* DataLinks coclass
*/
DEFINE_GUID(CLSID_DataLinks, 0x2206cdb2, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29);
#ifdef __cplusplus
class DECLSPEC_UUID("2206cdb2-19c1-11d1-89e0-00c04fd7a829") DataLinks;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(DataLinks, 0x2206cdb2, 0x19c1, 0x11d1, 0x89,0xe0, 0x00,0xc0,0x4f,0xd7,0xa8,0x29)
#endif
#endif
/* Begin additional prototypes for all interfaces */
ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *);
unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *);
unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
void __RPC_USER HWND_UserFree (ULONG *, HWND *);
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __msdasc_h__ */
|