Directory Services

ADS_SEARCH_COLUMN

The ADS_SEARCH_COLUMN structure specifies the contents of a search column in the query returned from the directory service database.

typedef struct ADS_SEARCH_COLUMN {
LPWSTR pszAttrName;
ADSTYPE dwADsType;
PADSVALUE pADsValues;
DWORD dwNumValues;
HANDLE hReserved; } ADS_SEARCH_COLUMN,
*PADS_SEARCH_COLUMN;

Members

pszAttrName
A null-terminated Unicode string that contains the name of the attribute whose values are contained in the current search column.
dwADsType
Value from the ADSTYPEENUM enumeration that indicates how the attribute values are interpreted.
pADsValues
Array of ADSVALUE structures that contain values of the attribute in the current search column for the current row.
dwNumValues
Size of the pADsValues array.
hReserved
Reserved for internal use by providers.

Remarks

The ADS_SEARCH_COLUMN structure only contains a pointer to the array of ADSVALUE structures. Memory for the structure must be allocated separately.

For more information about ADS_SEARCH_COLUMN, see IDirectorySearch::GetColumn.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Iads.h.

See Also

ADSI Structures, ADSTYPEENUM, ADSVALUE, IDirectorySearch::GetColumn