LIBNIT_StringToGUID

This function converts the specified string to eDirectory GUID format.

Syntax

#include <nitlibext.h>
int LIBNIT_StringToGUID (
                          const char *guidstr,
                          NIT_GUID_t *edirguid
                        )

Parameters

guidstr

(IN) Specifies the string.

edirguid

(OUT) Returns the eDirectory GUID of the specified string.

Return Values

0

NIT_SUCCESS

Success

-9014

NITERR_INVALID_PARAMETER

The parameters passed are NULL or invalid.