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.

95 lines
2.2 KiB

  1. #ifndef _MD_COIMP_
  2. #define _MD_COIMP_
  3. extern ULONG g_dwRefCount;
  4. //DEFINE_GUID(CLSID_MSIisBl, 0xa9da4430, 0x65c5, 0x11d1, 0xa7, 0x0, 0x0,0xa0, 0xc9, 0x22, 0xe7, 0x52);
  5. class CIisLb : public IMSIisLb {
  6. public:
  7. CIisLb();
  8. ~CIisLb();
  9. HRESULT _stdcall
  10. QueryInterface(REFIID riid, void **ppObject);
  11. ULONG _stdcall
  12. AddRef();
  13. ULONG _stdcall
  14. Release();
  15. HRESULT STDMETHODCALLTYPE
  16. Terminate( void );
  17. HRESULT STDMETHODCALLTYPE GetIpList(
  18. /*[in]*/ DWORD dwBufferSize,
  19. /*[out, size_is(dwBufferSize)]*/ unsigned char *pbBuffer,
  20. /*[out]*/ DWORD *pdwMDRequiredBufferSize );
  21. HRESULT STDMETHODCALLTYPE SetIpList(
  22. /*[in]*/ DWORD dwBufferSize,
  23. /*[in, size_is(dwBufferSize)]*/ unsigned char *pbBuffer );
  24. HRESULT STDMETHODCALLTYPE GetPerfmonCounters(
  25. /*[in]*/ DWORD dwBufferSize,
  26. /*[out, size_is(dwBufferSize)]*/ unsigned char *pbBuffer,
  27. /*[out]*/ DWORD *pdwMDRequiredBufferSize );
  28. HRESULT STDMETHODCALLTYPE SetPerfmonCounters(
  29. /*[in]*/ DWORD dwBufferSize,
  30. /*[in, size_is(dwBufferSize)]*/ unsigned char *pbBuffer );
  31. HRESULT STDMETHODCALLTYPE GetStickyDuration(
  32. /*[out]*/ LPDWORD pdwStickyDuration );
  33. HRESULT STDMETHODCALLTYPE SetStickyDuration(
  34. /*[in]*/ DWORD dwStickyDuration );
  35. HRESULT STDMETHODCALLTYPE GetIpEndpointList(
  36. /*[in]*/ DWORD dwBufferSize,
  37. /*[out, size_is(dwBufferSize)]*/ unsigned char *pbBuffer,
  38. /*[out]*/ DWORD *pdwMDRequiredBufferSize );
  39. HRESULT STDMETHODCALLTYPE SetDriverState(
  40. /*[in]*/ DWORD dwState );
  41. private:
  42. ULONG m_dwRefCount;
  43. };
  44. class CIisLbSrvFactory : public IClassFactory {
  45. public:
  46. CIisLbSrvFactory();
  47. ~CIisLbSrvFactory();
  48. HRESULT _stdcall
  49. QueryInterface(REFIID riid, void** ppObject);
  50. ULONG _stdcall
  51. AddRef();
  52. ULONG _stdcall
  53. Release();
  54. HRESULT _stdcall
  55. CreateInstance(IUnknown *pUnkOuter, REFIID riid,
  56. void ** pObject);
  57. HRESULT _stdcall
  58. LockServer(BOOL fLock);
  59. private:
  60. ULONG m_dwRefCount;
  61. };
  62. #include "bootexp.hxx"
  63. #endif