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.
 
 
 
 
 
 

34 lines
851 B

/////////////////////////////////////////////////////////////////////////////
//
// 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;
}