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.

81 lines
1.6 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995
  5. //
  6. // File: cipsec.hxx
  7. //
  8. // Contents: IPSecurity object
  9. //
  10. // History: 21-4-97 SophiaC Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. #include "iiis.h"
  14. class CIPSecurity;
  15. class CIPSecurity : INHERIT_TRACKING,
  16. public IISIPSecurity
  17. {
  18. public:
  19. /* IUnknown methods */
  20. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  21. DECLARE_STD_REFCOUNTING
  22. DECLARE_IDispatch_METHODS
  23. DECLARE_IISIPSecurity_METHODS
  24. CIPSecurity::CIPSecurity();
  25. CIPSecurity::~CIPSecurity();
  26. HRESULT
  27. CIPSecurity::InitFromBinaryBlob(
  28. LPBYTE pByte,
  29. DWORD dwLength
  30. );
  31. HRESULT
  32. CIPSecurity::CopyIPSecurity(
  33. LPBYTE *ppByte,
  34. PDWORD pdwLength
  35. );
  36. static
  37. HRESULT
  38. CIPSecurity::CreateIPSecurity(
  39. REFIID riid,
  40. void **ppvObj
  41. );
  42. static
  43. HRESULT
  44. CIPSecurity::AllocateIPSecurityObject(
  45. CIPSecurity ** ppIPSecurity
  46. );
  47. BOOL
  48. CIPSecurity::AddToList(
  49. int iType,
  50. int iList,
  51. LPSTR pArg
  52. );
  53. BOOL
  54. CIPSecurity::GetEntry(
  55. int iType,
  56. int iList,
  57. LPBYTE * ppByte,
  58. int dwEntry
  59. );
  60. protected:
  61. CAggregatorDispMgr FAR * _pDispMgr;
  62. ADDRESS_CHECK _AddrChk;
  63. BOOL _bGrantByDefault;
  64. };