1、定义结构及外部函数global type uuid from structure ulong data1 uint data2 uint data3 character data4[8]end typeFunction ulong UuidCreate(ref uuid lpUUID) LIBRARY "rpcrt4"Function ulong UuidToString (ref uuid lpUUID, ref long lpUUIDString) LIBRARY "rpcrt4" Alias for "UuidToStringA"Function ulong RpcStringFree(long lpUUIDString) LIBRARY "rpcrt4" Alias for "RpcStringFreeA" 2、函数主体CONSTANT Long RPC_S_OK = 0CONSTANT Long RPC_S_UUID_LOCAL_ONLY =...