WindowsXP-SP1/ds/adsi/ldap/ldap2var.hxx
2020-09-30 16:53:49 +02:00

51 lines
1.1 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//+---------------------------------------------------------------------------
//
// 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
);