UuidCompare
The UuidCompare
function compares two UUIDs.
#include <rpc.h>
signed int RPC_ENTRY UuidCompare(
UUID *
Uuid1, |
|
UUID *
Uuid2, |
|
RPC_STATUS * Status |
|
); |
|
Parameters
Uuid1
Specifies a
pointer to a UUID. This UUID is compared with the UUID specified in the Uuid2
argument.
Uuid2
Specifies a
pointer to a UUID. This UUID is compared with the UUID specified in the Uuid1
argument.
Status
Returns any
errors that may occur, and will normally be set by the function to RPC_S_OK
upon return.
Remarks
An
application calls the UuidCompare routine to compare two UUIDs and
determine their order. To determine order, one of the following is returned:
Returned
Value |
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. |
See Also