Okay I have come to my wits end with this sdk kit every time I compile this stuff I get the same errors and I quote:

syntax error : missing ';' before '.'
'ddstruct' : missing storage-class or type specifiers
syntax error : missing ';' before '.'
syntax error : missing ';' before '}'
syntax error : missing ';' before '}'
syntax error : missing ';' before '}'
error C2440: '=' : cannot convert from 'void *' to 'struct HBRUSH__ *'

the code and everything is attached to this thread any help would be much appreciated