This function of the ⇘ CAA_CanL2.library allocates a new message from the data pool of the driver and makes it available via its handle “hMessage”. In addition, the function sets the identifier, cobold format, data length and RTR flag of the message. Such a message must either be sent with ⇘ CL2.Write or released with ⇘ CL2.FreeMessage. It can also be duplicated by use of “CL2.CloneMessage”. If there are no resources left for the message “CL2.CreateMessage” returns “CAA.gc_hINVALID”.