The UuidCompare function compares two UUIDs.
#include <rpc.h>
signed int RPC_ENTRY UuidCompare(
UUID * Uuid1,
UUID * Uuid2,
RPC_STATUS * Status
);
Values | Meaning |
---|---|
-1 | The Uuid1 argument is less than the Uuid2 argument. |
0 | The Uuid1 argument is equal to the Uuid2 argument. |
1 | The Uuid1 argument is greater than the Uuid2 argument. |
An application calls the UuidCompare routine to compare two UUIDs and determine their order. The returned value gives the order as shown above.
Windows NT: Yes
Windows CE: Unsupported.
Header: Declared in rpcdce.h.
Import Library: Link with rpcrt4.lib.