 |
 |
 |
|
|  |  |
 |
UuidCompare ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Compare two UUIDs and determine their order. The returned value gives the order. |
 |  | | Code examples: |  | |
|
 |  | | Declaration: |  |  |
signed int RPC_ENTRY UuidCompare(
UUID __RPC_FAR *Uuid1,
UUID __RPC_FAR *Uuid2,
RPC_STATUS __RPC_FAR *Status
);
|
 |  |  | | FoxPro declaration: |  |  |
DECLARE INTEGER UuidCompare IN Rpcrt4;
STRING Uuid1,;
STRING Uuid2,;
INTEGER @nStatus
|
 |  |  | | 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: |  | | Returns -1 (1st is less), 0 (equal) or 1 (greater) based on the comparison of the 1st and 2nd UUIDS. |
 |  | | Usage: |  |
LOCAL cUUID1, cUUID2, nStatus
cUUID1=REPLICATE(CHR(0), 16)
UuidCreateSequential(@cUUID1)
cUUID2=REPLICATE(CHR(0), 16)
UuidCreateSequential(@cUUID2)
nStatus=0
? UuidCompare(cUUID2, cUUID1, @nStatus), nStatus
|
 |  | | My comment: |  | | See also: UuidCreate, UuidCreateSequential |
 |  | | Translate this page: |  | |  |  | | • |  | | Created: | 2009-11-19 12:07:12 | | Modified: | 2009-11-19 12:12:12 | Visited in last 7 days: 14 |
|
 |
 |
 |
 |
Copyright © 2001-2013
News2News, Inc.
Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use.
The information on this page is presented AS IS, meaning that you may use it at your own risk.
Microsoft Visual FoxPro
and Windows are trade marks
of Microsoft Corp.
All other trademarks are the property of their respective owners.
Privacy policy
|
 |
 |
 |
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
AceHTML Freeware
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc. |
 |
 |
|
 |
 |
|
|