mirror of https://github.com/tongzx/nt5src
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
81 lines
1.6 KiB
//---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 1995
|
|
//
|
|
// File: cipsec.hxx
|
|
//
|
|
// Contents: IPSecurity object
|
|
//
|
|
// History: 21-4-97 SophiaC Created.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
#include "iiis.h"
|
|
|
|
class CIPSecurity;
|
|
|
|
class CIPSecurity : INHERIT_TRACKING,
|
|
public IISIPSecurity
|
|
{
|
|
public:
|
|
|
|
/* IUnknown methods */
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
|
|
|
|
DECLARE_STD_REFCOUNTING
|
|
|
|
DECLARE_IDispatch_METHODS
|
|
|
|
DECLARE_IISIPSecurity_METHODS
|
|
|
|
CIPSecurity::CIPSecurity();
|
|
|
|
CIPSecurity::~CIPSecurity();
|
|
|
|
HRESULT
|
|
CIPSecurity::InitFromBinaryBlob(
|
|
LPBYTE pByte,
|
|
DWORD dwLength
|
|
);
|
|
|
|
HRESULT
|
|
CIPSecurity::CopyIPSecurity(
|
|
LPBYTE *ppByte,
|
|
PDWORD pdwLength
|
|
);
|
|
|
|
static
|
|
HRESULT
|
|
CIPSecurity::CreateIPSecurity(
|
|
REFIID riid,
|
|
void **ppvObj
|
|
);
|
|
|
|
static
|
|
HRESULT
|
|
CIPSecurity::AllocateIPSecurityObject(
|
|
CIPSecurity ** ppIPSecurity
|
|
);
|
|
|
|
BOOL
|
|
CIPSecurity::AddToList(
|
|
int iType,
|
|
int iList,
|
|
LPSTR pArg
|
|
);
|
|
|
|
BOOL
|
|
CIPSecurity::GetEntry(
|
|
int iType,
|
|
int iList,
|
|
LPBYTE * ppByte,
|
|
int dwEntry
|
|
);
|
|
|
|
protected:
|
|
|
|
CAggregatorDispMgr FAR * _pDispMgr;
|
|
ADDRESS_CHECK _AddrChk;
|
|
BOOL _bGrantByDefault;
|
|
};
|
|
|