DsMapSchemaGuids function
The DsMapSchemaGuids function converts GUIDs of directory service schema objects to their display names.
Syntax
DWORD DsMapSchemaGuids( _In_ HANDLE hDs, _In_ DWORD cGuids, _In_ GUID *rGuids, _Out_ DS_SCHEMA_GUID_MAP **ppGuidMap );
Parameters
- hDs [in]
-
Contains a directory service handle obtained from either the DSBind or DSBindWithCred function.
- cGuids [in]
-
Indicates the number of elements in rGuids.
- rGuids [in]
-
Pointer to an array of GUID values for the objects to be mapped.
- ppGuidMap [out]
-
Pointer to a variable that receives a pointer to an array of DS_SCHEMA_GUID_MAP structures that contain the display names of the objects in rGuids. This array must be deallocated using DsFreeSchemaGuidMap.
Return value
Returns a standard error code that includes the following values.
| Return code | Description |
|---|---|
|
The function succeeded. |
|
A parameter is invalid. |
|
There is insufficient memory available. |
|
An operations error occurred. |
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Redistributable | Active Directory Client Extension on Windows NT 4.0 and Windows Me/98/95 |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names | DsMapSchemaGuidsW (Unicode) and DsMapSchemaGuidsA (ANSI) |
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012