Platform SDK: Active Directory, ADSI, and Directory Services

DS_SCHEMA_GUID_MAP

The DS_SCHEMA_GUID_MAP structure contains the results of a call to DsMapSchemaGuids. If DsMapSchemaGuids was successful in mapping a GUID, DS_SCHEMA_GUID_MAP will contain both the GUID and a "friendly" display name for the object to which the GUID refers.

typedef struct
{
  GUID   guid;
  DWORD  guidType;
  LPTSTR pName;
} DS_SCHEMA_GUID_MAP, *PDS_SCHEMA_GUID_MAP;

Members

guid
GUID structure specifying the GUID of the object.
guidType
Indicates the type of GUID mapped by DsMapSchemaGuids.
Value Meaning
DS_SCHEMA_GUID_ATTR The GUID identifies a property.
DS_SCHEMA_GUID_ATTR_SET The GUID identifies a property set.
DS_SCHEMA_GUID_CLASS The GUID identifies a type of object.
DS_SCHEMA_GUID_CONTROL_RIGHT The GUID identifies an extended access right.
DS_SCHEMA_GUID_NOT_FOUND The GUID could not be found in the directory service schema.

pName
Pointer to a null-terminated Unicode string specifying the display name associated with the GUID. This value may be NULL if DsMapSchemaGuids was unable to map the GUID to a display name.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Ntdsapi.h.
  Unicode: Declared as Unicode and ANSI structures.

See Also

Domain Controller and Replication Management Structures, DsFreeSchemaGuidMap, GUID , DsMapSchemaGuids