| Previous | Next |
| RPC_S_NOT_RPC_ERROR | RPC_S_SEC_PKG_ERROR |
RPC_S_UUID_LOCAL_ONLY
The generated UUID must not be treated as globally unique
RPC_S_UUID_LOCAL_ONLY is a warning-style result from UUID creation. The runtime produced a usable UUID, but could not obtain the network-address information needed for the normal globally unique construction, so uniqueness is guaranteed only on the current computer.
Decide whether local uniqueness satisfies the caller. It can be acceptable for temporary in-machine keys, but not for persistent identifiers exchanged across hosts, replicated objects, or interface/object UUID allocation. Record the status rather than discarding it as success, and use a generation method with the required uniqueness guarantees when the value leaves the machine.
What to inspect
- Classify the identifier’s scope before storing or transmitting it.
- Do not use a local-only UUID as a distributed object identity.
- Preserve the return status alongside the generated value.
References
- Microsoft: UuidCreate return semantics
- MS-RPCE: UUID and object UUID terminology
- Microsoft: RPC UUID statuses
Looking for a different code? Search another status or error code.