Add missing include.
Use time value that fits into 32bit int.
Add missing VS solution filter.
Add amfdictionary to VS solution.