Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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

ValueMeaning
–1

The Uuid1 parameter is less than the Uuid2 parameter.

0

The Uuid1 parameter is equal to the Uuid2 parameter.

1

The Uuid1 parameter is greater than the Uuid2 parameter.

 

Note  For a list of valid error codes, see RPC Return Values.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcdce.h (include Rpc.h)

Library

Rpcrt4.lib

DLL

Rpcrt4.dll

See also

UuidCreate

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.