windows-nt/Source/XPSP1/NT/ds/adsi/ldap/ldap2var.hxx

51 lines
1.1 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1996.
//
// File: ldap2var.cxx
//
// Contents: LDAP Object to Variant Copy Routines
//
// Functions:
//
// History: 25-Apr-96 yihsins Created.
//
//----------------------------------------------------------------------------
typedef VARIANT *PVARIANT, *LPVARIANT;
HRESULT
LdapTypeToVarTypeCopy(
LPWSTR pszServerName,
CCredentials& Credentials,
PLDAPOBJECT pLdapSrcObject,
DWORD dwSyntaxId,
PVARIANT lpVarDestObject
);
HRESULT
LdapTypeToVarTypeCopyConstruct(
LPWSTR pszServerName,
CCredentials& Credentials,
LDAPOBJECTARRAY ldapObjectArray,
DWORD dwSyntaxId,
PVARIANT pVarDestObjects
);
//
// These routines are used by ldap2umi also.
//
HRESULT
LdapTypeToVarTypeDNWithBinary(
PLDAPOBJECT pLdapSrcObject,
PVARIANT pVarDestObject
);
HRESULT
LdapTypeToVarTypeDNWithString(
PLDAPOBJECT pLdapSrcObject,
PVARIANT pVarDestObject
);