adshlp.h header

This header is used by Active Directory Service Interfaces. For more information, see:

adshlp.h contains the following programming interfaces:

Functions

 
ADsBuildEnumerator

The ADsBuildEnumerator function creates an enumerator object for the specified ADSI container object.
ADsBuildVarArrayInt

The ADsBuildVarArrayInt function builds a variant array of integers from an array of DWORD values.
ADsBuildVarArrayStr

The ADsBuildVarArrayStr function builds a variant array from an array of Unicode strings.
ADsEncodeBinaryData

The ADsEncodeBinaryData function converts a binary large object (BLOB) to the Unicode format suitable to be embedded in a search filter.
ADsEnumerateNext

The ADsEnumerateNext function enumerates through a specified number of elements from the current cursor position of the enumerator.
ADsFreeEnumerator

Frees an enumerator object created with the ADsBuildEnumerator function.
ADsGetLastError

The ADsGetLastError function retrieves the calling thread's last-error code value.
ADsGetObject

Binds to an object given its path and a specified interface identifier.
ADsOpenObject

Binds to an ADSI object using explicit user name and password credentials.
ADsSetLastError

The ADsSetLastError sets the last-error code value for the calling thread.
AllocADsMem

Allocates a block of memory of the specified size.
AllocADsStr

Allocates memory for and copies a specified string.
BinarySDToSecurityDescriptor

Converts a binary security descriptor to an IADsSecurityDescriptor object.
FreeADsMem

Frees the memory allocated by AllocADsMem or ReallocADsMem.
FreeADsStr

Frees the memory of a string allocated by AllocADsStr or ReallocADsStr.
ReallocADsMem

Reallocates and copies an existing memory block.
ReallocADsStr

Creates a copy of a Unicode string.
SecurityDescriptorToBinarySD

Converts an IADsSecurityDescriptor object to the binary security descriptor format.