/usr/include/wine-development/windows/netcfgx.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 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 | /*** Autogenerated by WIDL 1.7.29 from netcfgx.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 __netcfgx_h__
#define __netcfgx_h__
/* Forward declarations */
#ifndef __INetCfgComponent_FWD_DEFINED__
#define __INetCfgComponent_FWD_DEFINED__
typedef interface INetCfgComponent INetCfgComponent;
#endif
#ifndef __IEnumNetCfgComponent_FWD_DEFINED__
#define __IEnumNetCfgComponent_FWD_DEFINED__
typedef interface IEnumNetCfgComponent IEnumNetCfgComponent;
#endif
#ifndef __INetCfgLock_FWD_DEFINED__
#define __INetCfgLock_FWD_DEFINED__
typedef interface INetCfgLock INetCfgLock;
#endif
#ifndef __INetCfg_FWD_DEFINED__
#define __INetCfg_FWD_DEFINED__
typedef interface INetCfg INetCfg;
#endif
#ifndef __CNetCfg_FWD_DEFINED__
#define __CNetCfg_FWD_DEFINED__
#ifdef __cplusplus
typedef class CNetCfg CNetCfg;
#else
typedef struct CNetCfg CNetCfg;
#endif /* defined __cplusplus */
#endif /* defined __CNetCfg_FWD_DEFINED__ */
/* Headers for imported files */
#include <unknwn.h>
#include <wtypes.h>
#ifdef __cplusplus
extern "C" {
#endif
#define NETCFG_E_ALREADY_INITIALIZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA020)
#define NETCFG_E_NO_WRITE_LOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA024)
/*****************************************************************************
* INetCfgComponent interface
*/
#ifndef __INetCfgComponent_INTERFACE_DEFINED__
#define __INetCfgComponent_INTERFACE_DEFINED__
typedef enum tagCOMPONENT_CHARACTERISTICS {
NCF_VIRTUAL = 0x1,
NCF_SOFTWARE_ENUMERATED = 0x2,
NCF_PHYSICAL = 0x4,
NCF_HIDDEN = 0x8,
NCF_NO_SERVICE = 0x10,
NCF_NOT_USER_REMOVABLE = 0x20,
NCF_MULTIPORT_INSTANCED_ADAPTER = 0x40,
NCF_HAS_UI = 0x80,
NCF_SINGLE_INSTANCE = 0x100,
NCF_FILTER = 0x400,
NCF_DONTEXPOSELOWER = 0x1000,
NCF_HIDE_BINDING = 0x2000,
NCF_NDIS_PROTOCOL = 0x4000,
NCF_FIXED_BINDING = 0x20000,
NCF_LW_FILTER = 0x40000
} COMPONENT_CHARACTERISTICS;
typedef enum tagNCRP_FLAGS {
NCRP_QUERY_PROPERTY_UI = 0x1,
NCRP_SHOW_PROPERTY_UI = 0x2
} NCRP_FLAGS;
DEFINE_GUID(IID_INetCfgComponent, 0xc0e8ae99, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c0e8ae99-306e-11d1-aacf-00805fc1270e")
INetCfgComponent : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
LPWSTR *ppszwDisplayName) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDisplayName(
LPCWSTR pszwDisplayName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetHelpText(
LPWSTR *pszwHelpText) = 0;
virtual HRESULT STDMETHODCALLTYPE GetId(
LPWSTR *ppszwId) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCharacteristics(
LPDWORD pdwCharacteristics) = 0;
virtual HRESULT STDMETHODCALLTYPE GetInstanceGuid(
GUID *pGuid) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPnpDevNodeId(
LPWSTR *ppszwDevNodeId) = 0;
virtual HRESULT STDMETHODCALLTYPE GetClassGuid(
GUID *pGuid) = 0;
virtual HRESULT STDMETHODCALLTYPE GetBindName(
LPWSTR *ppszwBindName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDeviceStatus(
ULONG *pulStatus) = 0;
virtual HRESULT STDMETHODCALLTYPE OpenParamKey(
HKEY *phkey) = 0;
virtual HRESULT STDMETHODCALLTYPE RaisePropertyUi(
HWND hwndParent,
DWORD dwFlags,
IUnknown *punkContext) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(INetCfgComponent, 0xc0e8ae99, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e)
#endif
#else
typedef struct INetCfgComponentVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
INetCfgComponent *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
INetCfgComponent *This);
ULONG (STDMETHODCALLTYPE *Release)(
INetCfgComponent *This);
/*** INetCfgComponent methods ***/
HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
INetCfgComponent *This,
LPWSTR *ppszwDisplayName);
HRESULT (STDMETHODCALLTYPE *SetDisplayName)(
INetCfgComponent *This,
LPCWSTR pszwDisplayName);
HRESULT (STDMETHODCALLTYPE *GetHelpText)(
INetCfgComponent *This,
LPWSTR *pszwHelpText);
HRESULT (STDMETHODCALLTYPE *GetId)(
INetCfgComponent *This,
LPWSTR *ppszwId);
HRESULT (STDMETHODCALLTYPE *GetCharacteristics)(
INetCfgComponent *This,
LPDWORD pdwCharacteristics);
HRESULT (STDMETHODCALLTYPE *GetInstanceGuid)(
INetCfgComponent *This,
GUID *pGuid);
HRESULT (STDMETHODCALLTYPE *GetPnpDevNodeId)(
INetCfgComponent *This,
LPWSTR *ppszwDevNodeId);
HRESULT (STDMETHODCALLTYPE *GetClassGuid)(
INetCfgComponent *This,
GUID *pGuid);
HRESULT (STDMETHODCALLTYPE *GetBindName)(
INetCfgComponent *This,
LPWSTR *ppszwBindName);
HRESULT (STDMETHODCALLTYPE *GetDeviceStatus)(
INetCfgComponent *This,
ULONG *pulStatus);
HRESULT (STDMETHODCALLTYPE *OpenParamKey)(
INetCfgComponent *This,
HKEY *phkey);
HRESULT (STDMETHODCALLTYPE *RaisePropertyUi)(
INetCfgComponent *This,
HWND hwndParent,
DWORD dwFlags,
IUnknown *punkContext);
END_INTERFACE
} INetCfgComponentVtbl;
interface INetCfgComponent {
CONST_VTBL INetCfgComponentVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define INetCfgComponent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define INetCfgComponent_AddRef(This) (This)->lpVtbl->AddRef(This)
#define INetCfgComponent_Release(This) (This)->lpVtbl->Release(This)
/*** INetCfgComponent methods ***/
#define INetCfgComponent_GetDisplayName(This,ppszwDisplayName) (This)->lpVtbl->GetDisplayName(This,ppszwDisplayName)
#define INetCfgComponent_SetDisplayName(This,pszwDisplayName) (This)->lpVtbl->SetDisplayName(This,pszwDisplayName)
#define INetCfgComponent_GetHelpText(This,pszwHelpText) (This)->lpVtbl->GetHelpText(This,pszwHelpText)
#define INetCfgComponent_GetId(This,ppszwId) (This)->lpVtbl->GetId(This,ppszwId)
#define INetCfgComponent_GetCharacteristics(This,pdwCharacteristics) (This)->lpVtbl->GetCharacteristics(This,pdwCharacteristics)
#define INetCfgComponent_GetInstanceGuid(This,pGuid) (This)->lpVtbl->GetInstanceGuid(This,pGuid)
#define INetCfgComponent_GetPnpDevNodeId(This,ppszwDevNodeId) (This)->lpVtbl->GetPnpDevNodeId(This,ppszwDevNodeId)
#define INetCfgComponent_GetClassGuid(This,pGuid) (This)->lpVtbl->GetClassGuid(This,pGuid)
#define INetCfgComponent_GetBindName(This,ppszwBindName) (This)->lpVtbl->GetBindName(This,ppszwBindName)
#define INetCfgComponent_GetDeviceStatus(This,pulStatus) (This)->lpVtbl->GetDeviceStatus(This,pulStatus)
#define INetCfgComponent_OpenParamKey(This,phkey) (This)->lpVtbl->OpenParamKey(This,phkey)
#define INetCfgComponent_RaisePropertyUi(This,hwndParent,dwFlags,punkContext) (This)->lpVtbl->RaisePropertyUi(This,hwndParent,dwFlags,punkContext)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT INetCfgComponent_QueryInterface(INetCfgComponent* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG INetCfgComponent_AddRef(INetCfgComponent* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG INetCfgComponent_Release(INetCfgComponent* This) {
return This->lpVtbl->Release(This);
}
/*** INetCfgComponent methods ***/
static FORCEINLINE HRESULT INetCfgComponent_GetDisplayName(INetCfgComponent* This,LPWSTR *ppszwDisplayName) {
return This->lpVtbl->GetDisplayName(This,ppszwDisplayName);
}
static FORCEINLINE HRESULT INetCfgComponent_SetDisplayName(INetCfgComponent* This,LPCWSTR pszwDisplayName) {
return This->lpVtbl->SetDisplayName(This,pszwDisplayName);
}
static FORCEINLINE HRESULT INetCfgComponent_GetHelpText(INetCfgComponent* This,LPWSTR *pszwHelpText) {
return This->lpVtbl->GetHelpText(This,pszwHelpText);
}
static FORCEINLINE HRESULT INetCfgComponent_GetId(INetCfgComponent* This,LPWSTR *ppszwId) {
return This->lpVtbl->GetId(This,ppszwId);
}
static FORCEINLINE HRESULT INetCfgComponent_GetCharacteristics(INetCfgComponent* This,LPDWORD pdwCharacteristics) {
return This->lpVtbl->GetCharacteristics(This,pdwCharacteristics);
}
static FORCEINLINE HRESULT INetCfgComponent_GetInstanceGuid(INetCfgComponent* This,GUID *pGuid) {
return This->lpVtbl->GetInstanceGuid(This,pGuid);
}
static FORCEINLINE HRESULT INetCfgComponent_GetPnpDevNodeId(INetCfgComponent* This,LPWSTR *ppszwDevNodeId) {
return This->lpVtbl->GetPnpDevNodeId(This,ppszwDevNodeId);
}
static FORCEINLINE HRESULT INetCfgComponent_GetClassGuid(INetCfgComponent* This,GUID *pGuid) {
return This->lpVtbl->GetClassGuid(This,pGuid);
}
static FORCEINLINE HRESULT INetCfgComponent_GetBindName(INetCfgComponent* This,LPWSTR *ppszwBindName) {
return This->lpVtbl->GetBindName(This,ppszwBindName);
}
static FORCEINLINE HRESULT INetCfgComponent_GetDeviceStatus(INetCfgComponent* This,ULONG *pulStatus) {
return This->lpVtbl->GetDeviceStatus(This,pulStatus);
}
static FORCEINLINE HRESULT INetCfgComponent_OpenParamKey(INetCfgComponent* This,HKEY *phkey) {
return This->lpVtbl->OpenParamKey(This,phkey);
}
static FORCEINLINE HRESULT INetCfgComponent_RaisePropertyUi(INetCfgComponent* This,HWND hwndParent,DWORD dwFlags,IUnknown *punkContext) {
return This->lpVtbl->RaisePropertyUi(This,hwndParent,dwFlags,punkContext);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE INetCfgComponent_GetDisplayName_Proxy(
INetCfgComponent* This,
LPWSTR *ppszwDisplayName);
void __RPC_STUB INetCfgComponent_GetDisplayName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_SetDisplayName_Proxy(
INetCfgComponent* This,
LPCWSTR pszwDisplayName);
void __RPC_STUB INetCfgComponent_SetDisplayName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_GetHelpText_Proxy(
INetCfgComponent* This,
LPWSTR *pszwHelpText);
void __RPC_STUB INetCfgComponent_GetHelpText_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_GetId_Proxy(
INetCfgComponent* This,
LPWSTR *ppszwId);
void __RPC_STUB INetCfgComponent_GetId_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_GetCharacteristics_Proxy(
INetCfgComponent* This,
LPDWORD pdwCharacteristics);
void __RPC_STUB INetCfgComponent_GetCharacteristics_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_GetInstanceGuid_Proxy(
INetCfgComponent* This,
GUID *pGuid);
void __RPC_STUB INetCfgComponent_GetInstanceGuid_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_GetPnpDevNodeId_Proxy(
INetCfgComponent* This,
LPWSTR *ppszwDevNodeId);
void __RPC_STUB INetCfgComponent_GetPnpDevNodeId_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_GetClassGuid_Proxy(
INetCfgComponent* This,
GUID *pGuid);
void __RPC_STUB INetCfgComponent_GetClassGuid_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_GetBindName_Proxy(
INetCfgComponent* This,
LPWSTR *ppszwBindName);
void __RPC_STUB INetCfgComponent_GetBindName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_GetDeviceStatus_Proxy(
INetCfgComponent* This,
ULONG *pulStatus);
void __RPC_STUB INetCfgComponent_GetDeviceStatus_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_OpenParamKey_Proxy(
INetCfgComponent* This,
HKEY *phkey);
void __RPC_STUB INetCfgComponent_OpenParamKey_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgComponent_RaisePropertyUi_Proxy(
INetCfgComponent* This,
HWND hwndParent,
DWORD dwFlags,
IUnknown *punkContext);
void __RPC_STUB INetCfgComponent_RaisePropertyUi_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __INetCfgComponent_INTERFACE_DEFINED__ */
/*****************************************************************************
* IEnumNetCfgComponent interface
*/
#ifndef __IEnumNetCfgComponent_INTERFACE_DEFINED__
#define __IEnumNetCfgComponent_INTERFACE_DEFINED__
DEFINE_GUID(IID_IEnumNetCfgComponent, 0xc0e8ae92, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c0e8ae92-306e-11d1-aacf-00805fc1270e")
IEnumNetCfgComponent : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Next(
ULONG celt,
INetCfgComponent **rgelt,
ULONG *pceltFetched) = 0;
virtual HRESULT STDMETHODCALLTYPE Skip(
ULONG celt) = 0;
virtual HRESULT STDMETHODCALLTYPE Reset(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Clone(
IEnumNetCfgComponent **ppenum) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IEnumNetCfgComponent, 0xc0e8ae92, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e)
#endif
#else
typedef struct IEnumNetCfgComponentVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IEnumNetCfgComponent *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IEnumNetCfgComponent *This);
ULONG (STDMETHODCALLTYPE *Release)(
IEnumNetCfgComponent *This);
/*** IEnumNetCfgComponent methods ***/
HRESULT (STDMETHODCALLTYPE *Next)(
IEnumNetCfgComponent *This,
ULONG celt,
INetCfgComponent **rgelt,
ULONG *pceltFetched);
HRESULT (STDMETHODCALLTYPE *Skip)(
IEnumNetCfgComponent *This,
ULONG celt);
HRESULT (STDMETHODCALLTYPE *Reset)(
IEnumNetCfgComponent *This);
HRESULT (STDMETHODCALLTYPE *Clone)(
IEnumNetCfgComponent *This,
IEnumNetCfgComponent **ppenum);
END_INTERFACE
} IEnumNetCfgComponentVtbl;
interface IEnumNetCfgComponent {
CONST_VTBL IEnumNetCfgComponentVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IEnumNetCfgComponent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IEnumNetCfgComponent_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IEnumNetCfgComponent_Release(This) (This)->lpVtbl->Release(This)
/*** IEnumNetCfgComponent methods ***/
#define IEnumNetCfgComponent_Next(This,celt,rgelt,pceltFetched) (This)->lpVtbl->Next(This,celt,rgelt,pceltFetched)
#define IEnumNetCfgComponent_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
#define IEnumNetCfgComponent_Reset(This) (This)->lpVtbl->Reset(This)
#define IEnumNetCfgComponent_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IEnumNetCfgComponent_QueryInterface(IEnumNetCfgComponent* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IEnumNetCfgComponent_AddRef(IEnumNetCfgComponent* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IEnumNetCfgComponent_Release(IEnumNetCfgComponent* This) {
return This->lpVtbl->Release(This);
}
/*** IEnumNetCfgComponent methods ***/
static FORCEINLINE HRESULT IEnumNetCfgComponent_Next(IEnumNetCfgComponent* This,ULONG celt,INetCfgComponent **rgelt,ULONG *pceltFetched) {
return This->lpVtbl->Next(This,celt,rgelt,pceltFetched);
}
static FORCEINLINE HRESULT IEnumNetCfgComponent_Skip(IEnumNetCfgComponent* This,ULONG celt) {
return This->lpVtbl->Skip(This,celt);
}
static FORCEINLINE HRESULT IEnumNetCfgComponent_Reset(IEnumNetCfgComponent* This) {
return This->lpVtbl->Reset(This);
}
static FORCEINLINE HRESULT IEnumNetCfgComponent_Clone(IEnumNetCfgComponent* This,IEnumNetCfgComponent **ppenum) {
return This->lpVtbl->Clone(This,ppenum);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IEnumNetCfgComponent_Next_Proxy(
IEnumNetCfgComponent* This,
ULONG celt,
INetCfgComponent **rgelt,
ULONG *pceltFetched);
void __RPC_STUB IEnumNetCfgComponent_Next_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumNetCfgComponent_Skip_Proxy(
IEnumNetCfgComponent* This,
ULONG celt);
void __RPC_STUB IEnumNetCfgComponent_Skip_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumNetCfgComponent_Reset_Proxy(
IEnumNetCfgComponent* This);
void __RPC_STUB IEnumNetCfgComponent_Reset_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IEnumNetCfgComponent_Clone_Proxy(
IEnumNetCfgComponent* This,
IEnumNetCfgComponent **ppenum);
void __RPC_STUB IEnumNetCfgComponent_Clone_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IEnumNetCfgComponent_INTERFACE_DEFINED__ */
/*****************************************************************************
* INetCfgLock interface
*/
#ifndef __INetCfgLock_INTERFACE_DEFINED__
#define __INetCfgLock_INTERFACE_DEFINED__
DEFINE_GUID(IID_INetCfgLock, 0xc0e8ae9f, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c0e8ae9f-306e-11d1-aacf-00805fc1270e")
INetCfgLock : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE AcquireWriteLock(
DWORD cmsTimeout,
LPCWSTR pszwClientDescription,
LPWSTR *ppszwClientDescription) = 0;
virtual HRESULT STDMETHODCALLTYPE ReleaseWriteLock(
) = 0;
virtual HRESULT STDMETHODCALLTYPE IsWriteLocked(
LPWSTR *ppszwClientDescription) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(INetCfgLock, 0xc0e8ae9f, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e)
#endif
#else
typedef struct INetCfgLockVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
INetCfgLock *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
INetCfgLock *This);
ULONG (STDMETHODCALLTYPE *Release)(
INetCfgLock *This);
/*** INetCfgLock methods ***/
HRESULT (STDMETHODCALLTYPE *AcquireWriteLock)(
INetCfgLock *This,
DWORD cmsTimeout,
LPCWSTR pszwClientDescription,
LPWSTR *ppszwClientDescription);
HRESULT (STDMETHODCALLTYPE *ReleaseWriteLock)(
INetCfgLock *This);
HRESULT (STDMETHODCALLTYPE *IsWriteLocked)(
INetCfgLock *This,
LPWSTR *ppszwClientDescription);
END_INTERFACE
} INetCfgLockVtbl;
interface INetCfgLock {
CONST_VTBL INetCfgLockVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define INetCfgLock_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define INetCfgLock_AddRef(This) (This)->lpVtbl->AddRef(This)
#define INetCfgLock_Release(This) (This)->lpVtbl->Release(This)
/*** INetCfgLock methods ***/
#define INetCfgLock_AcquireWriteLock(This,cmsTimeout,pszwClientDescription,ppszwClientDescription) (This)->lpVtbl->AcquireWriteLock(This,cmsTimeout,pszwClientDescription,ppszwClientDescription)
#define INetCfgLock_ReleaseWriteLock(This) (This)->lpVtbl->ReleaseWriteLock(This)
#define INetCfgLock_IsWriteLocked(This,ppszwClientDescription) (This)->lpVtbl->IsWriteLocked(This,ppszwClientDescription)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT INetCfgLock_QueryInterface(INetCfgLock* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG INetCfgLock_AddRef(INetCfgLock* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG INetCfgLock_Release(INetCfgLock* This) {
return This->lpVtbl->Release(This);
}
/*** INetCfgLock methods ***/
static FORCEINLINE HRESULT INetCfgLock_AcquireWriteLock(INetCfgLock* This,DWORD cmsTimeout,LPCWSTR pszwClientDescription,LPWSTR *ppszwClientDescription) {
return This->lpVtbl->AcquireWriteLock(This,cmsTimeout,pszwClientDescription,ppszwClientDescription);
}
static FORCEINLINE HRESULT INetCfgLock_ReleaseWriteLock(INetCfgLock* This) {
return This->lpVtbl->ReleaseWriteLock(This);
}
static FORCEINLINE HRESULT INetCfgLock_IsWriteLocked(INetCfgLock* This,LPWSTR *ppszwClientDescription) {
return This->lpVtbl->IsWriteLocked(This,ppszwClientDescription);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE INetCfgLock_AcquireWriteLock_Proxy(
INetCfgLock* This,
DWORD cmsTimeout,
LPCWSTR pszwClientDescription,
LPWSTR *ppszwClientDescription);
void __RPC_STUB INetCfgLock_AcquireWriteLock_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgLock_ReleaseWriteLock_Proxy(
INetCfgLock* This);
void __RPC_STUB INetCfgLock_ReleaseWriteLock_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfgLock_IsWriteLocked_Proxy(
INetCfgLock* This,
LPWSTR *ppszwClientDescription);
void __RPC_STUB INetCfgLock_IsWriteLocked_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __INetCfgLock_INTERFACE_DEFINED__ */
/*****************************************************************************
* INetCfg interface
*/
#ifndef __INetCfg_INTERFACE_DEFINED__
#define __INetCfg_INTERFACE_DEFINED__
DEFINE_GUID(IID_INetCfg, 0xc0e8ae93, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c0e8ae93-306e-11d1-aacf-00805fc1270e")
INetCfg : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Initialize(
PVOID pvReserved) = 0;
virtual HRESULT STDMETHODCALLTYPE Uninitialize(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Apply(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Cancel(
) = 0;
virtual HRESULT STDMETHODCALLTYPE EnumComponents(
const GUID *pguidClass,
IEnumNetCfgComponent **ppenumComponent) = 0;
virtual HRESULT STDMETHODCALLTYPE FindComponent(
LPCWSTR pszwInfId,
INetCfgComponent **pComponent) = 0;
virtual HRESULT STDMETHODCALLTYPE QueryNetCfgClass(
const GUID *pguidClass,
REFIID riid,
void **ppvObject) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(INetCfg, 0xc0e8ae93, 0x306e, 0x11d1, 0xaa,0xcf, 0x00,0x80,0x5f,0xc1,0x27,0x0e)
#endif
#else
typedef struct INetCfgVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
INetCfg *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
INetCfg *This);
ULONG (STDMETHODCALLTYPE *Release)(
INetCfg *This);
/*** INetCfg methods ***/
HRESULT (STDMETHODCALLTYPE *Initialize)(
INetCfg *This,
PVOID pvReserved);
HRESULT (STDMETHODCALLTYPE *Uninitialize)(
INetCfg *This);
HRESULT (STDMETHODCALLTYPE *Apply)(
INetCfg *This);
HRESULT (STDMETHODCALLTYPE *Cancel)(
INetCfg *This);
HRESULT (STDMETHODCALLTYPE *EnumComponents)(
INetCfg *This,
const GUID *pguidClass,
IEnumNetCfgComponent **ppenumComponent);
HRESULT (STDMETHODCALLTYPE *FindComponent)(
INetCfg *This,
LPCWSTR pszwInfId,
INetCfgComponent **pComponent);
HRESULT (STDMETHODCALLTYPE *QueryNetCfgClass)(
INetCfg *This,
const GUID *pguidClass,
REFIID riid,
void **ppvObject);
END_INTERFACE
} INetCfgVtbl;
interface INetCfg {
CONST_VTBL INetCfgVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define INetCfg_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define INetCfg_AddRef(This) (This)->lpVtbl->AddRef(This)
#define INetCfg_Release(This) (This)->lpVtbl->Release(This)
/*** INetCfg methods ***/
#define INetCfg_Initialize(This,pvReserved) (This)->lpVtbl->Initialize(This,pvReserved)
#define INetCfg_Uninitialize(This) (This)->lpVtbl->Uninitialize(This)
#define INetCfg_Apply(This) (This)->lpVtbl->Apply(This)
#define INetCfg_Cancel(This) (This)->lpVtbl->Cancel(This)
#define INetCfg_EnumComponents(This,pguidClass,ppenumComponent) (This)->lpVtbl->EnumComponents(This,pguidClass,ppenumComponent)
#define INetCfg_FindComponent(This,pszwInfId,pComponent) (This)->lpVtbl->FindComponent(This,pszwInfId,pComponent)
#define INetCfg_QueryNetCfgClass(This,pguidClass,riid,ppvObject) (This)->lpVtbl->QueryNetCfgClass(This,pguidClass,riid,ppvObject)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT INetCfg_QueryInterface(INetCfg* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG INetCfg_AddRef(INetCfg* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG INetCfg_Release(INetCfg* This) {
return This->lpVtbl->Release(This);
}
/*** INetCfg methods ***/
static FORCEINLINE HRESULT INetCfg_Initialize(INetCfg* This,PVOID pvReserved) {
return This->lpVtbl->Initialize(This,pvReserved);
}
static FORCEINLINE HRESULT INetCfg_Uninitialize(INetCfg* This) {
return This->lpVtbl->Uninitialize(This);
}
static FORCEINLINE HRESULT INetCfg_Apply(INetCfg* This) {
return This->lpVtbl->Apply(This);
}
static FORCEINLINE HRESULT INetCfg_Cancel(INetCfg* This) {
return This->lpVtbl->Cancel(This);
}
static FORCEINLINE HRESULT INetCfg_EnumComponents(INetCfg* This,const GUID *pguidClass,IEnumNetCfgComponent **ppenumComponent) {
return This->lpVtbl->EnumComponents(This,pguidClass,ppenumComponent);
}
static FORCEINLINE HRESULT INetCfg_FindComponent(INetCfg* This,LPCWSTR pszwInfId,INetCfgComponent **pComponent) {
return This->lpVtbl->FindComponent(This,pszwInfId,pComponent);
}
static FORCEINLINE HRESULT INetCfg_QueryNetCfgClass(INetCfg* This,const GUID *pguidClass,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryNetCfgClass(This,pguidClass,riid,ppvObject);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE INetCfg_Initialize_Proxy(
INetCfg* This,
PVOID pvReserved);
void __RPC_STUB INetCfg_Initialize_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfg_Uninitialize_Proxy(
INetCfg* This);
void __RPC_STUB INetCfg_Uninitialize_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfg_Apply_Proxy(
INetCfg* This);
void __RPC_STUB INetCfg_Apply_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfg_Cancel_Proxy(
INetCfg* This);
void __RPC_STUB INetCfg_Cancel_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfg_EnumComponents_Proxy(
INetCfg* This,
const GUID *pguidClass,
IEnumNetCfgComponent **ppenumComponent);
void __RPC_STUB INetCfg_EnumComponents_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfg_FindComponent_Proxy(
INetCfg* This,
LPCWSTR pszwInfId,
INetCfgComponent **pComponent);
void __RPC_STUB INetCfg_FindComponent_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE INetCfg_QueryNetCfgClass_Proxy(
INetCfg* This,
const GUID *pguidClass,
REFIID riid,
void **ppvObject);
void __RPC_STUB INetCfg_QueryNetCfgClass_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __INetCfg_INTERFACE_DEFINED__ */
/*****************************************************************************
* CNetCfg coclass
*/
DEFINE_GUID(CLSID_CNetCfg, 0x5b035261, 0x40f9, 0x11d1, 0xaa,0xec, 0x00,0x80,0x5f,0xc1,0x27,0x0e);
#ifdef __cplusplus
class DECLSPEC_UUID("5b035261-40f9-11d1-aaec-00805fc1270e") CNetCfg;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(CNetCfg, 0x5b035261, 0x40f9, 0x11d1, 0xaa,0xec, 0x00,0x80,0x5f,0xc1,0x27,0x0e)
#endif
#endif
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __netcfgx_h__ */
|