windows-nt/Source/XPSP1/NT/ds/adsi/ldapc/ldap2ods.hxx

81 lines
1.2 KiB
C++
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//
// used in ldapc\ldap2var.cxx also
//
HRESULT
LdapTypeToAdsTypeGeneralizedTime(
PLDAPOBJECT pLdapSrcObject,
PADSVALUE pAdsDestValue
);
//
// used in ldapc\ldap2var.cxx also
//
HRESULT
LdapTypeToAdsTypeUTCTime(
PLDAPOBJECT pLdapSrcObject,
PADSVALUE pAdsDestValue
);
HRESULT
UTCTimeStringToUTCTime(
LPWSTR szTime,
SYSTEMTIME *pst);
HRESULT
GenTimeStringToUTCTime(
LPWSTR szTime,
SYSTEMTIME *pst);
HRESULT
LdapTypeToAdsTypeDNWithBinary(
PLDAPOBJECT pLdapSrcObject,
PADSVALUE pAdsDestValue
);
HRESULT
LdapTypeToAdsTypeDNWithString(
PLDAPOBJECT pLdapSrcObject,
PADSVALUE pAdsDestValue
);
//
// Helper routines that do the dnwithbin/str conversions
//
HRESULT
LdapDNWithBinToAdsTypeHelper(
LPWSTR pszLdaSrcString,
PADSVALUE pAdsDestValue
);
HRESULT
LdapDNWithStrToAdsTypeHelper(
LPWSTR pszLdaSrcString,
PADSVALUE pAdsDestValue
);
#ifdef __cplusplus
extern "C" {
#endif
void
AdsTypeFreeAdsObjects(
PADSVALUE pAdsDestValues,
DWORD dwNumObjects
);
HRESULT
LdapTypeToAdsTypeCopyConstruct(
LDAPOBJECTARRAY ldapSrcObjects,
DWORD dwSyntaxId,
PADSVALUE *ppAdsDestValues,
PDWORD pdwNumAdsValues,
PDWORD pdwAdsType
);
#ifdef __cplusplus
}
#endif