windows-nt/Source/XPSP1/NT/net/ias/sdo/sdoias/sdoclient.cpp
2020-09-26 16:20:57 +08:00

35 lines
851 B
C++

/////////////////////////////////////////////////////////////////////////////
//
// Copyright(C) 1997-1998 Microsoft Corporation all rights reserved.
//
// Module: sdoclient.cpp
//
// Project: Everest
//
// Description: IAS Server Data Object - Client Object Implementation
//
// Author: TLP 1/23/98
//
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "sdoclient.h"
#include "sdohelperfuncs.h"
////////////////////////////////////////////////////////////////////////////
HRESULT CSdoClient::ValidateProperty(
/*[in]*/ PSDOPROPERTY pProperty,
/*[in]*/ VARIANT* pValue
)
{
HRESULT hr = pProperty->Validate(pValue);
if ( SUCCEEDED(hr) )
{
if ( PROPERTY_CLIENT_ADDRESS == pProperty->GetId() )
hr = ::ValidateDNSName(pValue);
}
return hr;
}