Using Win32 functions in Visual FoxPro Image Gallery
Remote Procedure Call (RPC)
RpcStringFree
UuidCompare
UuidCreate
UuidCreateNil
UuidCreateSequential
UuidFromString
UuidToString
Code examples:
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
Word Index links for the UuidCompare :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2009-11-19 12:07:12
Modified: 2009-11-19 12:12:12
Visited in last 7 days: 8
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.145.16.43)
20 sec.Function: 'RegEnumKeyEx'
43 sec.Function: 'RegSaveKey'
1.1 min.Function: 'GetLongPathName'
1.53 min.Function: 'SetWindowLong'
2 min.
Function group: 'Desktop Window Manager (DWM)'
3.28 min.Function: 'BeginPath'
Google
Advertise here!