Sure, I don't mind. If you don't mind the question, how would you write it?
+ if (lstrlenW(ptr_name) + 1 > classname_size)
+ if (lstrlenW(filename) + lstrlenW(path) + ARRAY_SIZE(str_dll) + 1
filename_size)
Calculate required buffer size, compare to actual buffer size.