DS_NAME_RESULTA structure (ntdsapi.h)

The DS_NAME_RESULT structure is used with the DsCrackNames function to contain the names converted by the function.

Syntax

typedef struct {
  DWORD                 cItems;
#if ...
  PDS_NAME_RESULT_ITEMA rItems;
#else
  PDS_NAME_RESULT_ITEMA rItems;
#endif
} DS_NAME_RESULTA, *PDS_NAME_RESULTA;

Members

cItems

Contains the number of elements in the rItems array.

rItems

Contains an array of DS_NAME_RESULT_ITEM structure pointers. Each element of this array represents a single converted name.

Remarks

Note

The ntdsapi.h header defines DS_NAME_RESULT as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

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

See also

DS_NAME_RESULT_ITEM

Domain Controller and Replication Management Structures

DsCrackNames