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.
 
 
 
 
 
 

41 lines
729 B

#ifndef _IPSecurity_h_
#define _IPSecurity_h_
#import "adsiis.dll" no_namespace named_guids
class CIPSecurity
{
private:
IISIPSecurity* m_pIPSec;
IADs* m_pADs;
public:
CIPSecurity();
~CIPSecurity();
HRESULT GetObjectAsync(
IWbemClassObject* pObj
);
HRESULT PutObjectAsync(
IWbemClassObject* pObj
);
HRESULT OpenSD(_bstr_t bstrAdsPath);
void CloseSD();
private:
HRESULT SetSD();
HRESULT GetAdsPath(_bstr_t& bstrAdsPath);
HRESULT LoadBstrArrayFromVariantArray(VARIANT& i_vtVariant, VARIANT& o_vtBstr);
HRESULT LoadVariantArrayFromBstrArray(VARIANT& i_vtBstr, VARIANT& o_vtVariant);
};
#endif