UuidCompare function
An application calls the UuidCompare function to compare two UUIDs and determine their order. The returned value gives the order.
Syntax
signed int RPC_ENTRY UuidCompare( UUID __RPC_FAR *Uuid1, UUID __RPC_FAR *Uuid2, RPC_STATUS __RPC_FAR *Status );
Parameters
- Uuid1
-
Pointer to a UUID. This UUID is compared with the UUID specified in the Uuid2 parameter.
- Uuid2
-
Pointer to a UUID. This UUID is compared with the UUID specified in the Uuid1 parameter.
- Status
-
Returns any errors that may occur, and will typically be set by the function to RPC_S_OK upon return.
Return value
| Value | Meaning |
|---|---|
|
The Uuid1 parameter is less than the Uuid2 parameter. |
|
The Uuid1 parameter is equal to the Uuid2 parameter. |
|
The Uuid1 parameter is greater than the Uuid2 parameter. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also