We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


Gets the string associated with a layer's unique identity.


#include <prio.h>

const char* PR_GetNameForIdentity(PRDescIdentity ident);


The function has the following parameter:

A layer's identity.


The function returns one of the following values:

  • If successful, the function returns a pointer to the string associated with the specified layer.
  • If unsuccessful, the function returns NULL.


A string may be associated with a layer when the layer is created. The string is copied by the runtime, and PR_GetNameForIdentity returns a pointer to that copy.

Document Tags and Contributors

Contributors to this page: teoli, alecananian
Last updated by: teoli,