Use ZeroMemory instead of {0} for structs.
Use the struct in the sizeof argument when initializing the struct.