According to MSDN, length should be returned when lParam is NULL.
Attach a file by drag & drop or click to upload