Group: Remote Procedure Call (RPC) - Library: rpcrt4
Generating random UUID values
Generating sequential UUID values
Generating UUID values from numbers
RPC_STATUS RPC_ENTRY UuidToString(
UUID __RPC_FAR *Uuid ,
unsigned char __RPC_FAR * __RPC_FAR *StringUuid
);
DECLARE INTEGER UuidToString IN Rpcrt4;
STRING @Uuid,;
LONG @StringUuid
Uuid Pointer to a binary UUID.
StringUuid Pointer to a pointer to the string into which the UUID specified in the Uuid parameter will be placed.
Returns RPC_S_OK (0) if the call succeeded.
String representation of a UUID looks like this
E911188C-E98C-478F-97E6-19F365143953
The application is responsible for calling the RpcStringFree to release the memory that the system allocates for the StringUuid.
Note that the StringUuid is a pointer to a pointer, which adds one or two subtleties to the RPC declarations and calls in VFP.
See also: UuidFromString, RtlMoveMemory.