The compiler complains at this line about lstrlenW being passed an incompatible pointer type+ else if (lstrlenW(value) >= prefix_len) should it be lstrlenW(*value) ?