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.

152 lines
3.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: snapin.h
  8. //
  9. //--------------------------------------------------------------------------
  10. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  11. /* File created by MIDL compiler version 3.00.15 */
  12. /* at Thu Oct 03 17:06:29 1996
  13. */
  14. /* Compiler settings for Snapin.idl:
  15. Os, W1, Zp8, env=Win32, ms_ext, c_ext
  16. error checks: none
  17. */
  18. //@@MIDL_FILE_HEADING( )
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21. #ifndef COM_NO_WINDOWS_H
  22. #include "windows.h"
  23. #include "ole2.h"
  24. #endif /*COM_NO_WINDOWS_H*/
  25. #ifndef __Snapin_h__
  26. #define __Snapin_h__
  27. #ifdef __cplusplus
  28. extern "C"{
  29. #endif
  30. /* Forward Declarations */
  31. #ifndef __IComponent_FWD_DEFINED__
  32. #define __IComponent_FWD_DEFINED__
  33. typedef interface IComponent IComponent;
  34. #endif /* __IComponent_FWD_DEFINED__ */
  35. /* header files for imported files */
  36. #include "oaidl.h"
  37. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  38. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  39. #ifndef __IComponent_INTERFACE_DEFINED__
  40. #define __IComponent_INTERFACE_DEFINED__
  41. /****************************************
  42. * Generated header for interface: IComponent
  43. * at Thu Oct 03 17:06:29 1996
  44. * using MIDL 3.00.15
  45. ****************************************/
  46. /* [unique][helpstring][uuid][object] */
  47. EXTERN_C const IID IID_IComponent;
  48. #if defined(__cplusplus) && !defined(CINTERFACE)
  49. interface IComponent : public IUnknown
  50. {
  51. public:
  52. };
  53. #else /* C style interface */
  54. typedef struct IComponentVtbl
  55. {
  56. BEGIN_INTERFACE
  57. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  58. IComponent __RPC_FAR * This,
  59. /* [in] */ REFIID riid,
  60. /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  61. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  62. IComponent __RPC_FAR * This);
  63. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  64. IComponent __RPC_FAR * This);
  65. END_INTERFACE
  66. } IComponentVtbl;
  67. interface IComponent
  68. {
  69. CONST_VTBL struct IComponentVtbl __RPC_FAR *lpVtbl;
  70. };
  71. #ifdef COBJMACROS
  72. #define IComponent_QueryInterface(This,riid,ppvObject) \
  73. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  74. #define IComponent_AddRef(This) \
  75. (This)->lpVtbl -> AddRef(This)
  76. #define IComponent_Release(This) \
  77. (This)->lpVtbl -> Release(This)
  78. #endif /* COBJMACROS */
  79. #endif /* C style interface */
  80. #endif /* __IComponent_INTERFACE_DEFINED__ */
  81. #ifndef __SNAPINLib_LIBRARY_DEFINED__
  82. #define __SNAPINLib_LIBRARY_DEFINED__
  83. /****************************************
  84. * Generated header for library: SNAPINLib
  85. * at Thu Oct 03 17:06:29 1996
  86. * using MIDL 3.00.15
  87. ****************************************/
  88. /* [helpstring][version][uuid] */
  89. EXTERN_C const IID LIBID_SNAPINLib;
  90. #ifdef __cplusplus
  91. EXTERN_C const CLSID CLSID_Snapin;
  92. class Snapin;
  93. #endif
  94. #endif /* __SNAPINLib_LIBRARY_DEFINED__ */
  95. /* Additional Prototypes for ALL interfaces */
  96. /* end of Additional Prototypes */
  97. #ifdef __cplusplus
  98. }
  99. #endif
  100. #endif