Desktop Functions: Smart Device Functions:
|
Search Results for "DS_NAME_RESULT" in [All]ntdsapi1: DsCrackNames The return value from DsCrackNames indicates errors such as invalid parameters or insufficient memory. However, problems in converting individual names are reported in the status member of the DS_NAME_RESULT_ITEM structure returned for each input name.
// domain object resides in. Thus DS_NAME_RESULT_ITEM?.pDomain
public DS_NAME_RESULT_ITEM[] CrackNames(string[] names = null, DS_NAME_FLAGS flags = DS_NAME_FLAGS.DS_NAME_NO_FLAGS,
DS_NAME_RESULT Result = (DS_NAME_RESULT)Marshal.PtrToStructure(pResult, typeof(DS_NAME_RESULT));
public static extern void DsFreeNameResult(IntPtr pResult /* DS_NAME_RESULT* */);
public struct DS_NAME_RESULT
internal IntPtr rItems; // PDS_NAME_RESULT_ITEM
public DS_NAME_RESULT_ITEM[] Items
return new DS_NAME_RESULT_ITEM[0];
var ResultArray = new DS_NAME_RESULT_ITEM[cItems];
Type strType = typeof(DS_NAME_RESULT_ITEM);
ResultArray[i] = (DS_NAME_RESULT_ITEM)Marshal.PtrToStructure(curptr, strType);
public struct DS_NAME_RESULT_ITEM StructuresEnums |