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.

234 lines
6.8 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 wmsproxy.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, 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 __wmsproxy_h__
  27. #define __wmsproxy_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMSProxyContext_FWD_DEFINED__
  33. #define __IWMSProxyContext_FWD_DEFINED__
  34. typedef interface IWMSProxyContext IWMSProxyContext;
  35. #endif /* __IWMSProxyContext_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "objidl.h"
  38. #include "wmscontext.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. /* interface __MIDL_itf_wmsproxy_0000 */
  45. /* [local] */
  46. //*****************************************************************************
  47. //
  48. // Microsoft Windows Media
  49. // Copyright (C) Microsoft Corporation. All rights reserved.
  50. //
  51. // Automatically generated by Midl from wmsproxy.idl
  52. //
  53. // DO NOT EDIT THIS FILE.
  54. //
  55. //*****************************************************************************
  56. #if _MSC_VER > 1000
  57. #pragma once
  58. #endif // _MSC_VER > 1000
  59. EXTERN_GUID( IID_IWMSProxyContext, 0x2E34AB85,0x0D3D,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
  60. extern RPC_IF_HANDLE __MIDL_itf_wmsproxy_0000_v0_0_c_ifspec;
  61. extern RPC_IF_HANDLE __MIDL_itf_wmsproxy_0000_v0_0_s_ifspec;
  62. #ifndef __IWMSProxyContext_INTERFACE_DEFINED__
  63. #define __IWMSProxyContext_INTERFACE_DEFINED__
  64. /* interface IWMSProxyContext */
  65. /* [helpstring][version][uuid][unique][object] */
  66. EXTERN_C const IID IID_IWMSProxyContext;
  67. #if defined(__cplusplus) && !defined(CINTERFACE)
  68. MIDL_INTERFACE("2E34AB85-0D3D-11d2-9EEE-006097D2D7CF")
  69. IWMSProxyContext : public IUnknown
  70. {
  71. public:
  72. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FindProxyForURL(
  73. /* [in] */ IWMSContext *pUserContext,
  74. /* [in] */ BSTR bstrUrl,
  75. /* [out] */ BSTR *pbstrProxyServer,
  76. /* [out] */ DWORD *pdwProxyPort) = 0;
  77. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCredentials(
  78. /* [in] */ IWMSContext *pUserContext,
  79. /* [in] */ BSTR bstrRealm,
  80. /* [in] */ BSTR bstrUrl,
  81. /* [out] */ BSTR *pbstrName,
  82. /* [out] */ BSTR *pbstrPassword) = 0;
  83. };
  84. #else /* C style interface */
  85. typedef struct IWMSProxyContextVtbl
  86. {
  87. BEGIN_INTERFACE
  88. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  89. IWMSProxyContext * This,
  90. /* [in] */ REFIID riid,
  91. /* [iid_is][out] */ void **ppvObject);
  92. ULONG ( STDMETHODCALLTYPE *AddRef )(
  93. IWMSProxyContext * This);
  94. ULONG ( STDMETHODCALLTYPE *Release )(
  95. IWMSProxyContext * This);
  96. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FindProxyForURL )(
  97. IWMSProxyContext * This,
  98. /* [in] */ IWMSContext *pUserContext,
  99. /* [in] */ BSTR bstrUrl,
  100. /* [out] */ BSTR *pbstrProxyServer,
  101. /* [out] */ DWORD *pdwProxyPort);
  102. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCredentials )(
  103. IWMSProxyContext * This,
  104. /* [in] */ IWMSContext *pUserContext,
  105. /* [in] */ BSTR bstrRealm,
  106. /* [in] */ BSTR bstrUrl,
  107. /* [out] */ BSTR *pbstrName,
  108. /* [out] */ BSTR *pbstrPassword);
  109. END_INTERFACE
  110. } IWMSProxyContextVtbl;
  111. interface IWMSProxyContext
  112. {
  113. CONST_VTBL struct IWMSProxyContextVtbl *lpVtbl;
  114. };
  115. #ifdef COBJMACROS
  116. #define IWMSProxyContext_QueryInterface(This,riid,ppvObject) \
  117. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  118. #define IWMSProxyContext_AddRef(This) \
  119. (This)->lpVtbl -> AddRef(This)
  120. #define IWMSProxyContext_Release(This) \
  121. (This)->lpVtbl -> Release(This)
  122. #define IWMSProxyContext_FindProxyForURL(This,pUserContext,bstrUrl,pbstrProxyServer,pdwProxyPort) \
  123. (This)->lpVtbl -> FindProxyForURL(This,pUserContext,bstrUrl,pbstrProxyServer,pdwProxyPort)
  124. #define IWMSProxyContext_GetCredentials(This,pUserContext,bstrRealm,bstrUrl,pbstrName,pbstrPassword) \
  125. (This)->lpVtbl -> GetCredentials(This,pUserContext,bstrRealm,bstrUrl,pbstrName,pbstrPassword)
  126. #endif /* COBJMACROS */
  127. #endif /* C style interface */
  128. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSProxyContext_FindProxyForURL_Proxy(
  129. IWMSProxyContext * This,
  130. /* [in] */ IWMSContext *pUserContext,
  131. /* [in] */ BSTR bstrUrl,
  132. /* [out] */ BSTR *pbstrProxyServer,
  133. /* [out] */ DWORD *pdwProxyPort);
  134. void __RPC_STUB IWMSProxyContext_FindProxyForURL_Stub(
  135. IRpcStubBuffer *This,
  136. IRpcChannelBuffer *_pRpcChannelBuffer,
  137. PRPC_MESSAGE _pRpcMessage,
  138. DWORD *_pdwStubPhase);
  139. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSProxyContext_GetCredentials_Proxy(
  140. IWMSProxyContext * This,
  141. /* [in] */ IWMSContext *pUserContext,
  142. /* [in] */ BSTR bstrRealm,
  143. /* [in] */ BSTR bstrUrl,
  144. /* [out] */ BSTR *pbstrName,
  145. /* [out] */ BSTR *pbstrPassword);
  146. void __RPC_STUB IWMSProxyContext_GetCredentials_Stub(
  147. IRpcStubBuffer *This,
  148. IRpcChannelBuffer *_pRpcChannelBuffer,
  149. PRPC_MESSAGE _pRpcMessage,
  150. DWORD *_pdwStubPhase);
  151. #endif /* __IWMSProxyContext_INTERFACE_DEFINED__ */
  152. /* Additional Prototypes for ALL interfaces */
  153. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  154. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  155. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  156. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  157. /* end of Additional Prototypes */
  158. #ifdef __cplusplus
  159. }
  160. #endif
  161. #endif