Just for the record, this would be the most appropriate way to initiate the structure .
TOOLINFO ti;
memset(&ti, 0, sizeof(TOOLINFO));
I'm not saying the other code doesn't work but, imagine this, Commctrl.h is updated in the future, and includes new structure members, now when we compile we will definitely encounter problems if we initiated every structure in our application using a 'constant' style. If we use 'memset' with 'sizeof(TOOLINFO)' then we will not have any problems, even if there are more structure members added in the future.
SeeYaa!
+1... Someday this will be updated (Windows API is changing since windows vista...)