Source code of Windows XP (NT5)
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.

196 lines
5.2 KiB

  1. // This is a part of the Active Template Library.
  2. // Copyright (C) 1996-2001 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Active Template Library Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Active Template Library product.
  10. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  11. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  12. /* File created by MIDL compiler version 5.03.0280 */
  13. /* at Wed Mar 08 12:46:13 2000
  14. */
  15. /* Compiler settings for dbgautoattach.idl:
  16. Os (OptLev=s), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext
  17. error checks: allocation ref bounds_check enum stub_data
  18. VC __declspec() decoration level:
  19. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  20. DECLSPEC_UUID(), MIDL_INTERFACE()
  21. */
  22. //@@MIDL_FILE_HEADING( )
  23. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  24. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  25. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  26. #endif
  27. #include "rpc.h"
  28. #include "rpcndr.h"
  29. #ifndef __RPCNDR_H_VERSION__
  30. #error this stub requires an updated version of <rpcndr.h>
  31. #endif // __RPCNDR_H_VERSION__
  32. #ifndef COM_NO_WINDOWS_H
  33. #include "windows.h"
  34. #include "ole2.h"
  35. #endif /*COM_NO_WINDOWS_H*/
  36. #ifndef __dbgautoattach_h__
  37. #define __dbgautoattach_h__
  38. /* Forward Declarations */
  39. #ifndef __IDebugAutoAttach_FWD_DEFINED__
  40. #define __IDebugAutoAttach_FWD_DEFINED__
  41. typedef interface IDebugAutoAttach IDebugAutoAttach;
  42. #endif /* __IDebugAutoAttach_FWD_DEFINED__ */
  43. /* header files for imported files */
  44. #include "ocidl.h"
  45. #ifdef __cplusplus
  46. extern "C"{
  47. #endif
  48. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  49. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  50. /* interface __MIDL_itf_dbgautoattach_0000 */
  51. /* [local] */
  52. DEFINE_GUID(CLSID_DebugAutoAttach, 0x70f65411, 0xfe8c, 0x4248, 0xbc, 0xff, 0x70, 0x1c, 0x8b, 0x2f, 0x45, 0x29);
  53. extern RPC_IF_HANDLE __MIDL_itf_dbgautoattach_0000_v0_0_c_ifspec;
  54. extern RPC_IF_HANDLE __MIDL_itf_dbgautoattach_0000_v0_0_s_ifspec;
  55. #ifndef __IDebugAutoAttach_INTERFACE_DEFINED__
  56. #define __IDebugAutoAttach_INTERFACE_DEFINED__
  57. /* interface IDebugAutoAttach */
  58. /* [unique][uuid][object] */
  59. enum __MIDL_IDebugAutoAttach_0001
  60. { AUTOATTACH_PROGRAM_WIN32 = 0x1,
  61. AUTOATTACH_PROGRAM_COMPLUS = 0x2
  62. };
  63. typedef DWORD AUTOATTACH_PROGRAM_TYPE;
  64. EXTERN_C const IID IID_IDebugAutoAttach;
  65. #if defined(__cplusplus) && !defined(CINTERFACE)
  66. MIDL_INTERFACE("E9958F1F-0A56-424a-A300-530EBB2E9865")
  67. IDebugAutoAttach : public IUnknown
  68. {
  69. public:
  70. virtual HRESULT STDMETHODCALLTYPE AutoAttach(
  71. /* [in] */ REFGUID guidPort,
  72. /* [in] */ DWORD dwPid,
  73. /* [in] */ AUTOATTACH_PROGRAM_TYPE dwProgramType,
  74. /* [in] */ DWORD dwProgramId,
  75. /* [in] */ LPCWSTR pszSessionId) = 0;
  76. };
  77. #else /* C style interface */
  78. typedef struct IDebugAutoAttachVtbl
  79. {
  80. BEGIN_INTERFACE
  81. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  82. IDebugAutoAttach __RPC_FAR * This,
  83. /* [in] */ REFIID riid,
  84. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  85. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  86. IDebugAutoAttach __RPC_FAR * This);
  87. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  88. IDebugAutoAttach __RPC_FAR * This);
  89. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AutoAttach )(
  90. IDebugAutoAttach __RPC_FAR * This,
  91. /* [in] */ REFGUID guidPort,
  92. /* [in] */ DWORD dwPid,
  93. /* [in] */ AUTOATTACH_PROGRAM_TYPE dwProgramType,
  94. /* [in] */ DWORD dwProgramId,
  95. /* [in] */ LPCWSTR pszSessionId);
  96. END_INTERFACE
  97. } IDebugAutoAttachVtbl;
  98. interface IDebugAutoAttach
  99. {
  100. CONST_VTBL struct IDebugAutoAttachVtbl __RPC_FAR *lpVtbl;
  101. };
  102. #ifdef COBJMACROS
  103. #define IDebugAutoAttach_QueryInterface(This,riid,ppvObject) \
  104. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  105. #define IDebugAutoAttach_AddRef(This) \
  106. (This)->lpVtbl -> AddRef(This)
  107. #define IDebugAutoAttach_Release(This) \
  108. (This)->lpVtbl -> Release(This)
  109. #define IDebugAutoAttach_AutoAttach(This,guidPort,dwPid,dwProgramType,dwProgramId,pszSessionId) \
  110. (This)->lpVtbl -> AutoAttach(This,guidPort,dwPid,dwProgramType,dwProgramId,pszSessionId)
  111. #endif /* COBJMACROS */
  112. #endif /* C style interface */
  113. HRESULT STDMETHODCALLTYPE IDebugAutoAttach_AutoAttach_Proxy(
  114. IDebugAutoAttach __RPC_FAR * This,
  115. /* [in] */ REFGUID guidPort,
  116. /* [in] */ DWORD dwPid,
  117. /* [in] */ AUTOATTACH_PROGRAM_TYPE dwProgramType,
  118. /* [in] */ DWORD dwProgramId,
  119. /* [in] */ LPCWSTR pszSessionId);
  120. void __RPC_STUB IDebugAutoAttach_AutoAttach_Stub(
  121. IRpcStubBuffer *This,
  122. IRpcChannelBuffer *_pRpcChannelBuffer,
  123. PRPC_MESSAGE _pRpcMessage,
  124. DWORD *_pdwStubPhase);
  125. #endif /* __IDebugAutoAttach_INTERFACE_DEFINED__ */
  126. /* Additional Prototypes for ALL interfaces */
  127. /* end of Additional Prototypes */
  128. #ifdef __cplusplus
  129. }
  130. #endif
  131. #endif