WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIUUIDGenerator
| IID: | 138ad1b2-c694-41cc-b201-333ce936d8b8 |
| Inherits From: | nsISupports |
nsIUUIDGenerator is implemented by a service that can generate universally unique identifiers, ideally using any platform-native method for generating UUIDs.
Methods
nsIDPtr generateUUID ( )
[noscript] void generateUUIDInPlace ( nsNonConstIDPtr* id )
nsIDPtr generateUUID ( )
Obtains a new UUID using appropriate platform-specific methods to obtain a nsID that can be considered to be globally unique.
void generateUUIDInPlace ( nsNonConstIDPtr* id )
Obtain a new UUID like the generateUUID method, but place it in the provided nsID pointer instead of allocating a new nsID.
- Arguments:
- id: an existing nsID pointer where the UUID will be stored.
Reference documentation is generated from Mozilla's source.
