ADS_SEARCH_COLUMN structure (iads.h)

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

Syntax

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

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header iads.h

See also

ADSI Structures

ADSTYPEENUM

ADSVALUE

IDirectorySearch::GetColumn