Length (PULONG) - in/out
Address of the buffer length in bytes. Length must take into account that each character-attribute entry in the buffer is 2 or 4 bytes. If the length of the buffer is not sufficient, the last entry is not complete.