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.
 
 
 
 
 
 

48 lines
1.3 KiB

/////////////////////////////////////////////////////////////////////////////
//
// Copyright(C) 2000 Microsoft Corporation all rights reserved.
//
// Module: Attributes.cpp
//
// Project: Windows 2000 IAS
//
// Description:
// Implementation of the CAttributes class (dnary.mdb)
//
// Author: tperraut
//
// Revision 03/15/2000 created
//
/////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Attributes.h"
CAttributes::CAttributes(CSession& Session)
{
Init(Session);
}
//////////////////////////////////////////////////////////////////////////
// GetAttribute
//////////////////////////////////////////////////////////////////////////
HRESULT CAttributes::GetAttribute(
LONG ID,
_bstr_t& LDAPName,
LONG& Syntax,
BOOL& IsMultiValued
)
{
m_IDParam = ID;
// Used if you have previously created the command
HRESULT hr = BaseExecute();
if ( hr == S_OK )
{
LDAPName = m_LDAPName;
Syntax = m_Syntax;
IsMultiValued = m_MultiValued;
}
return hr;
}