Directory Services

DS_SCHEMA_GUID_MAP

The DS_SCHEMA_GUID_MAP structure contains the results of a call to DsMapSchemaGuids. If DsMapSchemaGuids succeeds in mapping a GUID, DS_SCHEMA_GUID_MAP contains both the GUID and a 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 that specifies the object GUID.
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 cannot be found in the directory service schema.
pName
Pointer to a null-terminated string value that specifies 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

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Unicode: Declared as Unicode and ANSI structures.
Header: Declared in Ntdsapi.h.

See Also

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