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.
 
 
 
 
 
 

50 lines
1.0 KiB

///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1998, Microsoft Corp. All rights reserved.
//
// FILE
//
// attrcvt.h
//
// SYNOPSIS
//
// This file declares methods for converting attributes to
// different formats.
//
// MODIFICATION HISTORY
//
// 02/26/1998 Original version.
//
///////////////////////////////////////////////////////////////////////////////
#ifndef _ATTRCVT_H_
#define _ATTRCVT_H_
#if _MSC_VER >= 1000
#pragma once
#endif
#include <iaspolcy.h>
#include <winldap.h>
//////////
// Convert a variant to a newly allocated IASATTRIBUTE. The source variant
// will be coerced to the appropriate type.
//////////
PIASATTRIBUTE
WINAPI
IASAttributeFromVariant(
VARIANT* src,
IASTYPE type
) throw (_com_error);
//////////
// Convert an LDAP berval to a newly allocated IASATTRIBUTE.
//////////
PIASATTRIBUTE
WINAPI
IASAttributeFromBerVal(
const berval& src,
IASTYPE type
) throw (_com_error);
#endif // _ATTRCVT_H_