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.

201 lines
5.0 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for machnames.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, oldnames, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __machnames_h__
  27. #define __machnames_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ILocalMachineNames_FWD_DEFINED__
  33. #define __ILocalMachineNames_FWD_DEFINED__
  34. typedef interface ILocalMachineNames ILocalMachineNames;
  35. #endif /* __ILocalMachineNames_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "obase.h"
  38. #include "objidl.h"
  39. #ifdef __cplusplus
  40. extern "C"{
  41. #endif
  42. void * __RPC_USER MIDL_user_allocate(size_t);
  43. void __RPC_USER MIDL_user_free( void * );
  44. #ifndef __ILocalMachineNames_INTERFACE_DEFINED__
  45. #define __ILocalMachineNames_INTERFACE_DEFINED__
  46. /* interface ILocalMachineNames */
  47. /* [uuid][unique][local][object] */
  48. EXTERN_C const IID IID_ILocalMachineNames;
  49. #if defined(__cplusplus) && !defined(CINTERFACE)
  50. MIDL_INTERFACE("0000015A-0000-0000-C000-000000000046")
  51. ILocalMachineNames : public IEnumString
  52. {
  53. public:
  54. virtual HRESULT STDMETHODCALLTYPE RefreshNames( void) = 0;
  55. };
  56. #else /* C style interface */
  57. typedef struct ILocalMachineNamesVtbl
  58. {
  59. BEGIN_INTERFACE
  60. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  61. ILocalMachineNames * This,
  62. /* [in] */ REFIID riid,
  63. /* [iid_is][out] */ void **ppvObject);
  64. ULONG ( STDMETHODCALLTYPE *AddRef )(
  65. ILocalMachineNames * This);
  66. ULONG ( STDMETHODCALLTYPE *Release )(
  67. ILocalMachineNames * This);
  68. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
  69. ILocalMachineNames * This,
  70. /* [in] */ ULONG celt,
  71. /* [length_is][size_is][out] */ LPOLESTR *rgelt,
  72. /* [out] */ ULONG *pceltFetched);
  73. HRESULT ( STDMETHODCALLTYPE *Skip )(
  74. ILocalMachineNames * This,
  75. /* [in] */ ULONG celt);
  76. HRESULT ( STDMETHODCALLTYPE *Reset )(
  77. ILocalMachineNames * This);
  78. HRESULT ( STDMETHODCALLTYPE *Clone )(
  79. ILocalMachineNames * This,
  80. /* [out] */ IEnumString **ppenum);
  81. HRESULT ( STDMETHODCALLTYPE *RefreshNames )(
  82. ILocalMachineNames * This);
  83. END_INTERFACE
  84. } ILocalMachineNamesVtbl;
  85. interface ILocalMachineNames
  86. {
  87. CONST_VTBL struct ILocalMachineNamesVtbl *lpVtbl;
  88. };
  89. #ifdef COBJMACROS
  90. #define ILocalMachineNames_QueryInterface(This,riid,ppvObject) \
  91. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  92. #define ILocalMachineNames_AddRef(This) \
  93. (This)->lpVtbl -> AddRef(This)
  94. #define ILocalMachineNames_Release(This) \
  95. (This)->lpVtbl -> Release(This)
  96. #define ILocalMachineNames_Next(This,celt,rgelt,pceltFetched) \
  97. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  98. #define ILocalMachineNames_Skip(This,celt) \
  99. (This)->lpVtbl -> Skip(This,celt)
  100. #define ILocalMachineNames_Reset(This) \
  101. (This)->lpVtbl -> Reset(This)
  102. #define ILocalMachineNames_Clone(This,ppenum) \
  103. (This)->lpVtbl -> Clone(This,ppenum)
  104. #define ILocalMachineNames_RefreshNames(This) \
  105. (This)->lpVtbl -> RefreshNames(This)
  106. #endif /* COBJMACROS */
  107. #endif /* C style interface */
  108. HRESULT STDMETHODCALLTYPE ILocalMachineNames_RefreshNames_Proxy(
  109. ILocalMachineNames * This);
  110. void __RPC_STUB ILocalMachineNames_RefreshNames_Stub(
  111. IRpcStubBuffer *This,
  112. IRpcChannelBuffer *_pRpcChannelBuffer,
  113. PRPC_MESSAGE _pRpcMessage,
  114. DWORD *_pdwStubPhase);
  115. #endif /* __ILocalMachineNames_INTERFACE_DEFINED__ */
  116. /* interface __MIDL_itf_machnames_0097 */
  117. /* [local] */
  118. EXTERN_C const CLSID CLSID_LocalMachineNames;
  119. extern RPC_IF_HANDLE __MIDL_itf_machnames_0097_ClientIfHandle;
  120. extern RPC_IF_HANDLE __MIDL_itf_machnames_0097_ServerIfHandle;
  121. /* Additional Prototypes for ALL interfaces */
  122. /* end of Additional Prototypes */
  123. #ifdef __cplusplus
  124. }
  125. #endif
  126. #endif