[Migrated content. Thread originally posted on 15 January 2010]
I'm trying to work out how to create a UUID from the windows API and I can't figure out the logic in cobol for how to do it. Can anyone maybe help me with the conversion from this C code?
typedef struct _GUID {
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID, UUID;
****UuidCreateSequential Function****
RPC_STATUS RPC_ENTRY UuidCreateSequential(
UUID __RPC_FAR *Uuid
);
****UuidToString Function****
RPC_STATUS RPC_ENTRY UuidToString(
UUID __RPC_FAR *Uuid ,
unsigned char __RPC_FAR * __RPC_FAR *StringUuid
);



