Applies to: desktop apps only
The DS_NAME_RESULT_ITEM structure contains a name converted by the DsCrackNames function, along with associated error and domain data.
Syntax
typedef struct {
DWORD status;
LPTSTR pDomain;
LPTSTR pName;
} DS_NAME_RESULT_ITEM, *PDS_NAME_RESULT_ITEM;
Members
- status
-
Contains one of the DS_NAME_ERROR values that indicates the status of this name conversion.
- pDomain
-
Pointer to a null-terminated string that specifies the DNS domain in which the object resides. This member will contain valid data if status contains DS_NAME_NO_ERROR or DS_NAME_ERROR_DOMAIN_ONLY.
- pName
-
Pointer to a null-terminated string that specifies the newly formatted object name.
Remarks
The DsCrackNames function returns an array of DS_NAME_RESULT_ITEM structures as part of the DS_NAME_RESULT structure.
Requirements
|
Minimum supported client | Windows 2000 Professional |
|---|---|
|
Minimum supported server | Windows 2000 Server |
|
Header |
|
|
Unicode and ANSI names | DS_NAME_RESULT_ITEMW (Unicode) and DS_NAME_RESULT_ITEMA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 2/3/2012